Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(DO NOT MERGE) Babe randomness TS tests #1779

Closed
wants to merge 13 commits into from
Closed
60 changes: 30 additions & 30 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion client/rpc/manual-xcm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ parity-scale-codec = "3.0.0"
tokio = { version = "1.12.0", features = [ "sync", "time" ] }
xcm = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.26", default-features = false }

cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
2 changes: 1 addition & 1 deletion client/vrf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sp-runtime = { git = "https://github.com/purestake/substrate", branch = "moonbea
session-keys-primitives = { path = "../../primitives/session-keys" }

# Nimbus
nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.26" }
nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "amar-cumulus-relay-sproof-epoch-randomness" }

# Polkadot
polkadot-primitives = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.26" }
8 changes: 4 additions & 4 deletions node/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ substrate-prometheus-endpoint = { git = "https://github.com/purestake/substrate"
try-runtime-cli = { git = "https://github.com/purestake/substrate", branch = "moonbeam-polkadot-v0.9.26", optional = true }

# Cumulus / Nimbus
cumulus-client-cli = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-client-service = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-client-cli = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
cumulus-client-service = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "amar-cumulus-relay-sproof-epoch-randomness" }

# Polkadot
polkadot-cli = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.26" }
Expand Down
30 changes: 15 additions & 15 deletions node/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,22 +103,22 @@ fp-storage = { git = "https://github.com/purestake/frontier", branch = "moonbeam
pallet-ethereum = { git = "https://github.com/purestake/frontier", branch = "moonbeam-polkadot-v0.9.26" }

# Cumulus / Nimbus
cumulus-client-cli = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-client-collator = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-client-consensus-common = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-client-consensus-relay-chain = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-client-network = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-client-service = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-relay-chain-inprocess-interface = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-relay-chain-interface = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-relay-chain-rpc-interface = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "moonbeam-polkadot-v0.9.26" }
nimbus-consensus = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.26" }
cumulus-client-cli = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
cumulus-client-collator = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
cumulus-client-consensus-common = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
cumulus-client-consensus-relay-chain = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
cumulus-client-network = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
cumulus-client-service = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
cumulus-primitives-core = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
cumulus-relay-chain-inprocess-interface = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
cumulus-relay-chain-interface = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
cumulus-relay-chain-rpc-interface = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
cumulus-test-relay-sproof-builder = { git = "https://github.com/purestake/cumulus", branch = "amar-mock-randomness-in-sproof" }
nimbus-consensus = { git = "https://github.com/purestake/nimbus", branch = "amar-cumulus-relay-sproof-epoch-randomness" }
# TODO we should be able to depend only on the primitives crate once we move the inherent data provider there.
nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.26" }
pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "moonbeam-polkadot-v0.9.26" }
nimbus-primitives = { git = "https://github.com/purestake/nimbus", branch = "amar-cumulus-relay-sproof-epoch-randomness" }
pallet-author-inherent = { git = "https://github.com/purestake/nimbus", branch = "amar-cumulus-relay-sproof-epoch-randomness" }

# Polkadot
polkadot-cli = { git = "https://github.com/purestake/polkadot", branch = "moonbeam-polkadot-v0.9.26" }
Expand Down
2 changes: 2 additions & 0 deletions node/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -975,6 +975,8 @@ where
current_para_block,
relay_offset: 1000,
relay_blocks_per_para_block: 2,
para_blocks_per_relay_epoch: 10,
relay_randomness_config: (),
xcm_config: MockXcmConfig::new(
&*client_for_xcm,
block,
Expand Down
Loading