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

add upgrade plan event #128

Merged
merged 6 commits into from
Sep 21, 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
2 changes: 1 addition & 1 deletion build/StarcoinFramework/BuildInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: YieldFarmingV2
: StarcoinFramework
source_digest: 806CFB6F3BA8BB0BC5A196E6C6683A880A38E4E8E1BDE8997FC56C6444AC3016
source_digest: E0BF7F59CE58E05A3CCC9A8C8E6EF9CA68F0E8E78030805F0A9B949BF534566A
build_flags:
dev_mode: false
test_mode: false
Expand Down
Binary file modified build/StarcoinFramework/bytecode_modules/PackageTxnManager.mv
Binary file not shown.
139 changes: 119 additions & 20 deletions build/StarcoinFramework/docs/PackageTxnManager.md

Large diffs are not rendered by default.

Binary file modified build/StarcoinFramework/source_maps/PackageTxnManager.mvsm
Binary file not shown.
8 changes: 4 additions & 4 deletions integration-tests/daospace/dao_account.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ processed 6 tasks

task 2 'run'. lines 6-23:
{
"gas_used": 878109,
"gas_used": 904650,
"status": "Executed"
}

task 3 'run'. lines 28-40:
{
"gas_used": 84519,
"gas_used": 95609,
"status": "Executed"
}

task 4 'run'. lines 42-51:
{
"gas_used": 753479,
"gas_used": 780020,
"status": {
"MoveAbort": {
"location": {
Expand All @@ -30,7 +30,7 @@ task 4 'run'. lines 42-51:

task 5 'run'. lines 53-61:
{
"gas_used": 752248,
"gas_used": 778789,
"status": {
"MoveAbort": {
"location": {
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/daospace/dao_ext.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ processed 9 tasks

task 6 'run'. lines 56-65:
{
"gas_used": 938063,
"gas_used": 964604,
"status": "Executed"
}

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/daospace/dao_grant.exp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ task 5 'run'. lines 13-21:

task 8 'run'. lines 123-134:
{
"gas_used": 1741644,
"gas_used": 1768185,
"status": "Executed"
}

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/daospace/dao_proposal.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ processed 42 tasks

task 7 'run'. lines 169-180:
{
"gas_used": 1738847,
"gas_used": 1765388,
"status": "Executed"
}

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/daospace/dao_proposal_rejected.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ processed 40 tasks

task 7 'run'. lines 126-135:
{
"gas_used": 1142213,
"gas_used": 1168754,
"status": {
"MoveAbort": {
"location": {
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/daospace/dao_upgrade.exp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ task 8 'run'. lines 121-128:

task 9 'run'. lines 130-144:
{
"gas_used": 173698,
"gas_used": 200239,
"status": "Executed"
}

Expand All @@ -29,7 +29,7 @@ Publish failure: Discard { status_code: StrView(2015), status_code_name: "UNEXPE

task 13 'run'. lines 160-167:
{
"gas_used": 110070,
"gas_used": 123208,
"status": "Executed"
}

Expand Down
6 changes: 3 additions & 3 deletions integration-tests/daospace/dao_upgrade_incompatible.exp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ task 4 'run'. lines 97-105:

task 8 'run'. lines 121-136:
{
"gas_used": 173698,
"gas_used": 200239,
"status": "Executed"
}

Expand All @@ -20,7 +20,7 @@ task 9 'run'. lines 138-147:

task 11 'run'. lines 151-159:
{
"gas_used": 110070,
"gas_used": 123208,
"status": "Executed"
}

Expand All @@ -29,7 +29,7 @@ Publish failure: MiscellaneousError

task 14 'run'. lines 166-174:
{
"gas_used": 110070,
"gas_used": 123208,
"status": "Executed"
}

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/daospace/stake_to_sbt_plugin.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ processed 17 tasks

task 5 'run'. lines 71-79:
{
"gas_used": 1688073,
"gas_used": 1714614,
"status": "Executed"
}

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/daospace/xdao.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ processed 7 tasks

task 3 'run'. lines 54-61:
{
"gas_used": 1097649,
"gas_used": 1124190,
"status": "Executed"
}

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/daospaceplugin/mint_proposal_plugin.exp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ task 8 'run'. lines 71-85:

task 9 'run'. lines 87-96:
{
"gas_used": 1162585,
"gas_used": 1189126,
"status": "Executed"
}

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/daospaceplugin/salary_gov_plugin.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ processed 21 tasks

task 7 'run'. lines 252-264:
{
"gas_used": 1696809,
"gas_used": 1723350,
"status": "Executed"
}

Expand Down
4 changes: 2 additions & 2 deletions integration-tests/package_txn_manager/cancel_upgrade_plan.exp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ task 3 'run'. lines 8-19:

task 4 'run'. lines 21-35:
{
"gas_used": 161503,
"gas_used": 188044,
"status": "Executed"
}

Expand All @@ -30,7 +30,7 @@ task 5 'run'. lines 36-46:

task 6 'run'. lines 48-57:
{
"gas_used": 50189,
"gas_used": 65884,
"status": "Executed"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ task 3 'run'. lines 7-17:

task 4 'run'. lines 19-31:
{
"gas_used": 161503,
"gas_used": 188044,
"status": "Executed"
}

task 5 'run'. lines 33-42:
{
"gas_used": 50189,
"gas_used": 65884,
"status": "Executed"
}

task 7 'run'. lines 46-55:
{
"gas_used": 50189,
"gas_used": 65884,
"status": "Executed"
}

Expand Down
6 changes: 3 additions & 3 deletions integration-tests/package_txn_manager/package_txn_manager.exp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ task 3 'run'. lines 8-19:

task 4 'run'. lines 21-35:
{
"gas_used": 161503,
"gas_used": 188044,
"status": "Executed"
}

Expand All @@ -30,7 +30,7 @@ task 5 'run'. lines 36-46:

task 6 'run'. lines 48-59:
{
"gas_used": 50189,
"gas_used": 65884,
"status": "Executed"
}

Expand Down Expand Up @@ -96,7 +96,7 @@ task 12 'run'. lines 108-117:

task 13 'run'. lines 119-128:
{
"gas_used": 120851,
"gas_used": 144392,
"status": "Executed"
}

Expand Down
2 changes: 1 addition & 1 deletion integration-tests/starcoin_dao/starcoin_upgrade_module.exp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ task 21 'run'. lines 113-122:

task 23 'run'. lines 126-138:
{
"gas_used": 505499,
"gas_used": 510063,
"status": "Executed"
}
4 changes: 2 additions & 2 deletions integration-tests/transaction_scripts/module_upgrade.exp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ task 5 'run'. lines 27-39:

task 6 'run'. lines 41-52:
{
"gas_used": 161503,
"gas_used": 188044,
"status": "Executed"
}

Expand Down Expand Up @@ -38,6 +38,6 @@ task 12 'run'. lines 113-126:

task 14 'run'. lines 131-140:
{
"gas_used": 87497,
"gas_used": 99099,
"status": "Executed"
}
4 changes: 2 additions & 2 deletions integration-tests/upgrade_module_dao_proposal/basic.exp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ task 7 'run'. lines 58-68:

task 8 'run'. lines 70-80:
{
"gas_used": 161503,
"gas_used": 188044,
"status": "Executed"
}

Expand Down Expand Up @@ -83,6 +83,6 @@ task 16 'run'. lines 176-190:

task 18 'run'. lines 194-207:
{
"gas_used": 109151,
"gas_used": 120753,
"status": "Executed"
}
Loading