-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ParachainConsensusInherentProvider (#40)
* adds inherent support to ismp_parachain * initial work for inherent provider * introduce ismp-parachain-runtime-api * fix ParachainConsensusClient * refactor verify_consensus * add parachains list to GenesisBuild * optional inherent * integration tests works
- Loading branch information
1 parent
dbd8d33
commit 0e73b69
Showing
12 changed files
with
547 additions
and
198 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,12 @@ | ||
[workspace] | ||
resolver = "2" | ||
|
||
members = [ | ||
"pallet-ismp/rpc", | ||
"pallet-ismp/runtime-api", | ||
"pallet-ismp/primitives", | ||
"pallet-ismp", | ||
"parachain-consensus", | ||
"parachain/inherent", | ||
"parachain/runtime-api", | ||
"parachain", | ||
"ismp-assets" | ||
] |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -22,6 +22,7 @@ ismp = { git = "ssh://[email protected]/polytope-labs/ismp-rs.git", branch = "main" | |
frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } | ||
frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } | ||
sp-trie = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } | ||
sp-inherents = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } | ||
sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } | ||
sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } | ||
sp-consensus-aura = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } | ||
|
@@ -52,6 +53,7 @@ std = [ | |
"sp-consensus-aura/std", | ||
"sp-runtime/std", | ||
"sp-io/std", | ||
"sp-inherents/std", | ||
"primitive-types/std", | ||
"ismp-primitives/std", | ||
"pallet-ismp/std", | ||
|
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,25 @@ | ||
[package] | ||
name = "ismp-parachain-inherent" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Polytope Labs <[email protected]>"] | ||
|
||
[dependencies] | ||
async-trait = { version = "0.1.63" } | ||
codec = { package = "parity-scale-codec", version = "3.0.0", features = [ "derive" ] } | ||
anyhow = "1.0.57" | ||
|
||
# Substrate | ||
sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } | ||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } | ||
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } | ||
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } | ||
|
||
# Cumulus | ||
cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "release-v0.9.400" } | ||
cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "release-v0.9.400" } | ||
|
||
# polytope-labs | ||
ismp = { git = "ssh://[email protected]/polytope-labs/ismp-rs.git", branch = "main" } | ||
ismp-parachain = { path = "../" } | ||
ismp-parachain-runtime-api = { path = "../runtime-api" } |
Oops, something went wrong.