Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix SalaryGovPlugin and migrate to test #115

Merged
merged 3 commits into from
Sep 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions build/StarcoinFramework/BuildInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,6 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: STCUSDOracle
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: SalaryGovPlugin
: StarcoinFramework
? address: "0x00000000000000000000000000000001"
name: SharedEd25519PublicKey
: StarcoinFramework
Expand Down Expand Up @@ -312,7 +309,7 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: YieldFarmingV2
: StarcoinFramework
source_digest: 465BD18AAFF08B609377C24DF93A365C461646250126145426395BBBD12FD8CC
source_digest: 8E7AEB189849D23881D6C14563228D20E8991069B2A727CBB2D0A5FBAA816EC4
build_flags:
dev_mode: false
test_mode: false
Expand Down
1 change: 0 additions & 1 deletion build/StarcoinFramework/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ This is the root document for the Move StarcoinFramework module documentation. T
- [`0x1::SIP_3`](SIPs.md#0x1_SIP_3)
- [`0x1::STC`](STC.md#0x1_STC)
- [`0x1::STCUSDOracle`](Oracle.md#0x1_STCUSDOracle)
- [`0x1::SalaryGovPlugin`](SalaryGovPlugin.md#0x1_SalaryGovPlugin)
- [`0x1::SharedEd25519PublicKey`](SharedEd25519PublicKey.md#0x1_SharedEd25519PublicKey)
- [`0x1::Signature`](Signature.md#0x1_Signature)
- [`0x1::SignedInteger64`](SignedInteger64.md#0x1_SignedInteger64)
Expand Down
81 changes: 81 additions & 0 deletions integration-tests/daospaceplugin/salary_gov_plugin.exp
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
processed 21 tasks

task 7 'run'. lines 229-238:
{
"gas_used": 1147505,
"status": "Executed"
}

task 8 'run'. lines 241-249:
{
"gas_used": 44618,
"status": "Executed"
}

task 10 'run'. lines 254-269:
{
"gas_used": 279652,
"status": "Executed"
}

task 11 'run'. lines 272-283:
{
"gas_used": 393187,
"status": "Executed"
}

task 13 'run'. lines 288-304:
{
"gas_used": 291420,
"status": "Executed"
}

task 14 'run'. lines 307-317:
{
"gas_used": 22142,
"status": {
"MoveAbort": {
"location": {
"Module": {
"address": "0x662ba5a1a1da0f1c70a9762c7eeb7aaf",
"name": "SalaryGovPlugin"
}
},
"abort_code": "257025"
}
}
}

task 16 'run'. lines 321-338:
{
"gas_used": 454361,
"status": "Executed"
}

task 18 'run'. lines 342-358:
{
"gas_used": 291420,
"status": "Executed"
}

task 19 'run'. lines 360-369:
{
"gas_used": 25017,
"status": "Executed"
}

task 20 'run'. lines 371-381:
{
"gas_used": 22142,
"status": {
"MoveAbort": {
"location": {
"Module": {
"address": "0x662ba5a1a1da0f1c70a9762c7eeb7aaf",
"name": "SalaryGovPlugin"
}
},
"abort_code": "257025"
}
}
}
Loading