Define ss58 prefix inside the runtime (#7810)

* Add SS58Prefix type to the frame_system config trait

* Remove unused chain_id runtime interface
This commit is contained in:
Alexander Theißen
2020-12-30 23:07:37 +01:00
committed by GitHub
parent bd48ff310d
commit ec2c70396e
67 changed files with 85 additions and 25 deletions
@@ -263,8 +263,6 @@ impl Externalities for BasicExternalities {
crate::ext::StorageAppend::new(current).append(value);
}
fn chain_id(&self) -> u64 { 42 }
fn storage_root(&mut self) -> Vec<u8> {
let mut top = self.inner.top.clone();
let prefixed_keys: Vec<_> = self.inner.children_default.iter().map(|(_k, v)| {