-
Notifications
You must be signed in to change notification settings - Fork 6
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 #22 from r0gue-io/frank/test-read-state
test(pop-api): read_state chain extension test
- Loading branch information
Showing
2 changed files
with
84 additions
and
19 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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
use scale::{Decode, Encode}; | ||
use scale::{Decode, Encode, MaxEncodedLen}; | ||
|
||
#[derive(Encode, Decode, Debug)] | ||
#[derive(Encode, Decode, Debug, MaxEncodedLen)] | ||
pub enum RuntimeStateKeys { | ||
ParachainSystem(ParachainSystemKeys), | ||
} | ||
|
||
#[derive(Encode, Decode, Debug)] | ||
#[derive(Encode, Decode, Debug, MaxEncodedLen)] | ||
pub enum ParachainSystemKeys { | ||
LastRelayChainBlockNumber, | ||
} |
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