forked from paritytech/substrate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restrict cross chain asset (paritytech#812)
* Initial version * Complete refactoring * Add set_claim_restriction method * Nit * Nits * Nits * Fix state change on claim * Extract can_claim() * Nit * Add tests * Nits * Refactor a bit * Add next_claim in rpc * Add chainx_getNextRenominateByAccount rpc * Use (AccountId, Token) instead of BTreeMap * Build wasm
- Loading branch information
1 parent
5d2d59c
commit 6659b23
Showing
10 changed files
with
485 additions
and
269 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
Binary file modified
BIN
-3.31 KB
(100%)
runtime/wasm/target/wasm32-unknown-unknown/release/chainx_runtime.compact.wasm
Binary file not shown.
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.