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

Commit

Permalink
Fix building master (#1014)
Browse files Browse the repository at this point in the history
* Fix building master

* Fix westend chainspec
  • Loading branch information
bkchr committed Apr 21, 2020
1 parent e843467 commit d12bcdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion runtime/test-runtime/src/genesismap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ impl GenesisConfig {

pub fn genesis_map(&self) -> Storage {
// Assimilate the system genesis config.
let mut storage = Storage { top: BTreeMap::new(), children: self.extra_storage.children.clone()};
let mut storage = Storage {
top: BTreeMap::new(),
children_default: self.extra_storage.children_default.clone(),
};
let config = crate::GenesisConfig {
system: Some(system::GenesisConfig {
changes_trie_config: self.changes_trie_config.clone(),
Expand Down
2 changes: 1 addition & 1 deletion service/res/westend.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"0xc2261276cc9d1f8598ea4b6a74b15c2f218f26c73add634897550b4003b26bc637af01a62f70176413143d943b7d30b9aebb0211dbb07b4d335a657257b8ac5e53794c901e4f616d4a254f2490c43934": "0x047374616b696e672000407a10f35a0000000000000000000002",
"0x5f3e4907f716ac89b6347d15ececedcaad811cd65a470ddc5f1d628ff0550982b4def25cfda6ef3a00000000": "0x00000000"
},
"children": {}
"childrenDefault": {}
}
}
}

0 comments on commit d12bcdb

Please sign in to comment.