-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
57 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package params | ||
|
||
// Default simulation operation weights for messages and gov proposals | ||
const ( | ||
DefaultWeightMsgStoreCode int = 50 | ||
DefaultWeightMsgInstantiateContract int = 100 | ||
DefaultWeightMsgExecuteContract int = 100 | ||
DefaultWeightMsgUpdateAdmin int = 25 | ||
DefaultWeightMsgClearAdmin int = 10 | ||
DefaultWeightMsgMigrateContract int = 50 | ||
|
||
DefaultWeightStoreCodeProposal int = 5 | ||
DefaultWeightInstantiateContractProposal int = 5 | ||
DefaultWeightUpdateAdminProposal int = 5 | ||
DefaultWeightExecuteContractProposal int = 5 | ||
DefaultWeightClearAdminProposal int = 5 | ||
DefaultWeightMigrateContractProposal int = 5 | ||
DefaultWeightSudoContractProposal int = 5 | ||
DefaultWeightPinCodesProposal int = 5 | ||
DefaultWeightUnpinCodesProposal int = 5 | ||
DefaultWeightUpdateInstantiateConfigProposal int = 5 | ||
DefaultWeightStoreAndInstantiateContractProposal int = 5 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.