Skip to content

Commit

Permalink
shit works now
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Sep 16, 2024
1 parent d169e4c commit f7a12de
Show file tree
Hide file tree
Showing 8 changed files with 2,389 additions and 2,169 deletions.
3,995 changes: 2,291 additions & 1,704 deletions Cargo.lock

Large diffs are not rendered by default.

59 changes: 30 additions & 29 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,39 +33,40 @@ tokio = { version = "1.37.0" }
zstd = { version = "0.11.2", default-features = false }

# Polkadot SDK
frame-remote-externalities = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
frame-try-runtime = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
frame-support = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
frame-remote-externalities = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
frame-try-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
frame-support = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
frame-system = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }

sc-cli = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sc-executor = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sc-service = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sc-cli = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sc-executor = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sc-service = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }

sp-api = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-consensus-aura = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-consensus-babe = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-core = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-externalities = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-inherents = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-io = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-keystore = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-rpc = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-runtime = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-state-machine = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-storage = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-std = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-timestamp = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-transaction-storage-proof = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-version = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-weights = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
sp-api = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-consensus-babe = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-core = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-externalities = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-io = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-rpc = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-state-machine = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-storage = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-std = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-transaction-storage-proof = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-version = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
sp-weights = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }

substrate-cli-test-utils = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
substrate-rpc-client = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
substrate-cli-test-utils = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
substrate-rpc-client = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }

polkadot-primitives = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
cumulus-primitives-parachain-inherent = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
cumulus-primitives-core = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
cumulus-client-parachain-inherent = { git = "https://github.com/Snowfork/polkadot-sdk", rev = "666db60dc2300fbbea7ef3ddb9b327dcd5a23f0e" }
polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", rev = "caa19463b8bd5e4ca4635ab872597251e5e6b1a5" }
cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }
cumulus-client-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", rev = "602352c458678ea6cd08fbe3bde9b053b301824c" }

# Local
try-runtime-core = { path = "core" }
1 change: 1 addition & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ zstd = { workspace = true }
frame-remote-externalities = { workspace = true }
frame-try-runtime = { workspace = true, features=["try-runtime"] }
frame-support = { workspace = true }
frame-system = { workspace = true }

sc-cli = { workspace = true }
sc-executor = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion core/src/commands/fast_forward.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ where
let provider_variant = ProviderVariant::Smart(Duration::from_millis(command.blocktime));

for _ in 1..=command.n_blocks {
let (next_block_building_info, next_header) = mine_block::<Block, HostFns>(
let (next_block_building_info, next_header, _) = mine_block::<Block, HostFns>(
inner_ext.clone(),
&executor,
parent_block_building_info,
Expand Down
Loading

0 comments on commit f7a12de

Please sign in to comment.