Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

add parachains pallets to Polkadot runtime #3815

Merged
merged 29 commits into from
Sep 23, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b4b4364
add parachains pallets to Polkadot runtime
rphmeier Sep 8, 2021
5016bdc
Merge branch 'master' into rh-add-polkadot-parachains-pallets
shawntabrizi Sep 14, 2021
d8cc3e2
some updates
shawntabrizi Sep 14, 2021
ddfb4ff
temp update deposits, fix compile
shawntabrizi Sep 15, 2021
508faa7
lower para byte deposit
shawntabrizi Sep 15, 2021
b89b875
Merge branch 'master' into rh-add-polkadot-parachains-pallets
shawntabrizi Sep 15, 2021
3f08b01
fix genesis
shawntabrizi Sep 15, 2021
ce7831b
fmt
shawntabrizi Sep 15, 2021
9eb7e9d
fix spell
shawntabrizi Sep 15, 2021
dec65bb
updates to consts
shawntabrizi Sep 15, 2021
3f211fe
update benchmark list
shawntabrizi Sep 15, 2021
9b4267f
Merge branch 'master' into rh-add-polkadot-parachains-pallets
shawntabrizi Sep 15, 2021
00f2048
fix merge master
shawntabrizi Sep 15, 2021
39d75cd
cargo run --quiet --release --features=runtime-benchmarks -- benchmar…
Sep 15, 2021
c81e41d
skip large meta
shawntabrizi Sep 15, 2021
8eee11b
Merge branch 'master' of https://github.com/paritytech/polkadot into …
Sep 15, 2021
418ac09
Merge branch 'master' into rh-add-polkadot-parachains-pallets
shawntabrizi Sep 15, 2021
94d5694
cargo run --quiet --release --features=runtime-benchmarks -- benchmar…
Sep 15, 2021
be590bf
Merge branch 'rh-add-polkadot-parachains-pallets' of https://github.c…
shawntabrizi Sep 16, 2021
06db7c5
Merge branch 'master' of https://github.com/paritytech/polkadot into …
Sep 16, 2021
29f174c
cargo run --quiet --release --features=runtime-benchmarks -- benchmar…
Sep 16, 2021
a1f1a8f
fmt
shawntabrizi Sep 16, 2021
10c708b
add and update proxies
shawntabrizi Sep 16, 2021
bbfeb23
Merge branch 'master' into rh-add-polkadot-parachains-pallets
rphmeier Sep 21, 2021
a526d1d
Merge branch 'master' into rh-add-polkadot-parachains-pallets
rphmeier Sep 22, 2021
ef1d664
add weight info
rphmeier Sep 22, 2021
1a5d34d
weights
rphmeier Sep 22, 2021
04bd79b
lower minimum contribution to 5 DOT
shawntabrizi Sep 22, 2021
3ae098d
only overwrite when default
rphmeier Sep 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions runtime/polkadot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate",
hex-literal = { version = "0.3.3", optional = true }

runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false }
runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false }
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }

[dev-dependencies]
Expand Down
1 change: 1 addition & 0 deletions runtime/polkadot/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ pub mod time {
pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber);
pub const HOURS: BlockNumber = MINUTES * 60;
pub const DAYS: BlockNumber = HOURS * 24;
pub const WEEKS: BlockNumber = DAYS * 7;

// 1 in 4 blocks (on average, not counting collisions) will be primary babe blocks.
pub const PRIMARY_PROBABILITY: (u64, u64) = (1, 4);
Expand Down
Loading