mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Migrate finality-grandpa to the 2018 edition (#1797)
This commit is contained in:
committed by
Robert Habermeier
parent
c122e8eee8
commit
34e3487035
@@ -6,7 +6,6 @@ description = "Substrate node implementation in Rust."
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
hex-literal = "0.1"
|
||||
trie-root = "0.11"
|
||||
parity-codec = "3.0"
|
||||
runtime_io = { package = "sr-io", path = "../../core/sr-io" }
|
||||
|
||||
@@ -48,7 +48,6 @@ mod tests {
|
||||
BuildStorage, GenesisConfig, BalancesConfig, SessionConfig, StakingConfig, System,
|
||||
SystemConfig, GrandpaConfig, IndicesConfig, FeesConfig, Event, Log};
|
||||
use wabt;
|
||||
use hex_literal::{hex, hex_impl};
|
||||
use primitives::map;
|
||||
|
||||
const BLOATY_CODE: &[u8] = include_bytes!("../../runtime/wasm/target/wasm32-unknown-unknown/release/node_runtime.wasm");
|
||||
@@ -354,7 +353,7 @@ mod tests {
|
||||
).0.unwrap();
|
||||
}
|
||||
|
||||
let mut correct_header = match Executor::new(None).call::<_, NeverNativeValue, fn() -> _>(
|
||||
let correct_header = match Executor::new(None).call::<_, NeverNativeValue, fn() -> _>(
|
||||
env,
|
||||
"BlockBuilder_finalise_block",
|
||||
&[0u8;0],
|
||||
|
||||
Reference in New Issue
Block a user