-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add add_mandatory_mediators and remove_mediators extrinsics * Add mediators to InstructionInfo; Derive default * Add InstructionMediatorsAffirmations storage; Set storage when adding a new instruction; Check mediator's affirmation expiry before executing * Add affirm_instruction_as_mediator and remove_affirmation_as_mediator extrinsics; Remove migrations * Add add_instruction_with_mediators; Add benchmarks; Change prune instruction * Cargo fmt * Add unit tests for the new extrinsics * Add events * Add expired_affirmation_execution unit test * Add missing weights; Add add_and_affirm_with_mediators extrinsic * Add mediators to execute instruction benchmarks; Rename functions * Fix test function * Add reject_instruction_as_mediator extrinsic * Add mediators set to events * Remove duplicated import * Remove duplicated line in tests --------- Co-authored-by: Robert Gabriel Jakabosky <[email protected]>
- Loading branch information
1 parent
4cd58f7
commit b5ba6a3
Showing
19 changed files
with
1,757 additions
and
385 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
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.