Skip to content

Commit

Permalink
Revert "[ Feature ] do deposit when proposal state is DEFEATED (#122)"
Browse files Browse the repository at this point in the history
This reverts commit 3274821.
  • Loading branch information
nkysg committed Mar 2, 2023
1 parent 891fe18 commit 6782b16
Show file tree
Hide file tree
Showing 15 changed files with 46 additions and 626 deletions.
2 changes: 1 addition & 1 deletion build/StarcoinFramework/BuildInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ compiled_package_info:
? address: "0x00000000000000000000000000000001"
name: YieldFarmingV2
: StarcoinFramework
source_digest: B85EC5CCB8E021D9974D19AD20C43DBC20D2AE625A72A096A5BAED676B5D9F1F
source_digest: 7CD9E807A29B6AE9D8C370363A262231F0337215FE432C7E16ADE2FD965B7E13
build_flags:
dev_mode: false
test_mode: false
Expand Down
Binary file modified build/StarcoinFramework/bytecode_modules/StdlibUpgradeScripts.mv
Binary file not shown.
3 changes: 1 addition & 2 deletions build/StarcoinFramework/docs/StdlibUpgradeScripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,7 @@ deprecated, use <code>do_upgrade_from_v6_to_v7_with_language_version</code>.


<pre><code><b>public</b> <b>fun</b> <a href="StdlibUpgradeScripts.md#0x1_StdlibUpgradeScripts_do_upgrade_from_v12_to_v12_1">do_upgrade_from_v12_to_v12_1</a>() {
//TODO : config rate need mind
<a href="StarcoinDAO.md#0x1_StarcoinDAO_create_dao">StarcoinDAO::create_dao</a>( 60000, 120000, 10, 10000, 1000 * 1000 * 1000 * 1000);
<a href="StarcoinDAO.md#0x1_StarcoinDAO_create_dao">StarcoinDAO::create_dao</a>( 60000, 120000, 10, 10000, 0);
}
</code></pre>

Expand Down
Binary file modified build/StarcoinFramework/source_maps/StdlibUpgradeScripts.mvsm
Binary file not shown.
6 changes: 3 additions & 3 deletions integration-tests/daospace/dao_proposal.exp
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,18 @@ task 34 'run'. lines 391-404:

task 36 'run'. lines 409-424:
{
"gas_used": 106454,
"gas_used": 106076,
"status": "Executed"
}

task 39 'run'. lines 432-442:
{
"gas_used": 115442,
"gas_used": 115064,
"status": "Executed"
}

task 41 'run'. lines 447-459:
{
"gas_used": 451300,
"gas_used": 450922,
"status": "Executed"
}
120 changes: 0 additions & 120 deletions integration-tests/daospace/dao_proposal_rejected.exp

This file was deleted.

Loading

0 comments on commit 6782b16

Please sign in to comment.