-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #756 from multiversx/governance-v2-merkle-proof
Governance v2 merkle proof
- Loading branch information
Showing
10 changed files
with
582 additions
and
476 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
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 |
---|---|---|
@@ -1,6 +1,14 @@ | ||
pub const WRONG_TOKEN_ID: &[u8] = b"Wrong payment token id for fee"; | ||
pub const NOT_ENOUGH_FEE: &[u8] = b"Minimum fee required not reached"; | ||
pub const NOT_ENOUGH_ENERGY: &[u8] = b"Not enough energy for propose"; | ||
pub const TOO_MUCH_GAS: &[u8] = b"Actions require too much gas to be executed"; | ||
pub const PROPOSAL_NOT_ACTIVE: &[u8] = b"Proposal is not active"; | ||
pub const ERROR_NOT_AN_ESDT: &[u8] = b"Not a valid esdt id"; | ||
pub const ALREADY_VOTED_ERR_MSG: &[u8] = b"Already voted for this proposal"; | ||
pub const INVALID_ROOT_HASH: &[u8] = b"Invalid root hash provided"; | ||
pub const PROPOSAL_NO_ACTION: &[u8] = b"Proposal has no actions"; | ||
pub const EXEEDED_MAX_ACTIONS: &[u8] = b"Exceeded max actions per proposal"; | ||
pub const ONLY_PROPOSER_CANCEL: &[u8] = b"Only original proposer may cancel a pending proposal"; | ||
pub const ONLY_PROPOSER_WITHDRAW: &[u8] = b"Only original proposer may withdraw a pending proposal"; | ||
pub const NO_PROPOSAL: &[u8] = b"Proposal does not exist"; | ||
pub const WITHDRAW_NOT_ALLOWED: &[u8] = b"You may not withdraw funds from this proposal!"; | ||
pub const INVALID_MERKLE_PROOF: &[u8] = b"Invalid merkle proof provided"; |
Oops, something went wrong.