-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(axelar-std-derive): add status support to contractstorage macro (#…
…234)
- Loading branch information
1 parent
94632d8
commit 4ffb0cb
Showing
7 changed files
with
339 additions
and
226 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,8 @@ enum DataKey { | |
#[instance] | ||
#[value(Address)] | ||
InterchainTokenService, | ||
|
||
#[instance] | ||
#[status] | ||
Paused, | ||
} |
6 changes: 6 additions & 0 deletions
6
contracts/stellar-example/src/testdata/ensure_data_key_storage_schema_is_unchanged.golden
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,6 @@ | ||
#[derive(Clone, Debug)] enum DataKey | ||
{ | ||
#[instance] #[value(Address)] Gateway, #[instance] #[value(Address)] | ||
GasService, #[instance] #[value(Address)] InterchainTokenService, | ||
#[instance] #[status] Paused, | ||
} |
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.