-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Polkadot People Chain To verify prior to release: People Chain `poke_deposit` weight must be less than 2x Relay's. E.g.: ```python >>> weight_per_nano = 1_000 >>> relay_read = 20_499 * weight_per_nano >>> relay_write = 83_471 * weight_per_nano >>> para_read = 25_000 * weight_per_nano >>> para_write = 100_000 * weight_per_nano >>> >>> def relay(): ... time = 145_781_000 + (3 * relay_read) + (3 * relay_write) ... pov = 11_037 ... return (time, pov) ... >>> def para(): ... time = 52_060_000 + (3 * para_read) + (3 * para_write) ... pov = 6_723 ... return (time, pov) ... >>> >>> (relay_time, relay_pov) = relay() >>> (para_time, para_pov) = para() >>> >>> (2 * relay_time) > para_time True >>> (2 * relay_pov) > para_pov True ``` --------- Co-authored-by: Dónal Murray <[email protected]> Co-authored-by: Branislav Kontur <[email protected]>
- Loading branch information
1 parent
c05dbd1
commit 329ceca
Showing
63 changed files
with
7,167 additions
and
121 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
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
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
23 changes: 23 additions & 0 deletions
23
integration-tests/emulated/chains/parachains/people/people-polkadot/Cargo.toml
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,23 @@ | ||
[package] | ||
name = "people-polkadot-emulated-chain" | ||
authors.workspace = true | ||
edition.workspace = true | ||
version.workspace = true | ||
license = "Apache-2.0" | ||
description = "People Polkadot emulated chain used for integration tests" | ||
publish = false | ||
|
||
[dependencies] | ||
|
||
# Substrate | ||
sp-core = { workspace = true, default-features = true } | ||
frame-support = { workspace = true, default-features = true } | ||
|
||
# Cumulus | ||
parachains-common = { workspace = true, default-features = true } | ||
cumulus-primitives-core = { workspace = true, default-features = true } | ||
emulated-integration-tests-common = { workspace = true } | ||
|
||
# Local | ||
people-polkadot-runtime = { workspace = true } | ||
polkadot-emulated-chain = { workspace = true } |
Oops, something went wrong.