diff --git a/substrate/node/runtime/src/lib.rs b/substrate/node/runtime/src/lib.rs index 4c019c03c9..170c2924e0 100644 --- a/substrate/node/runtime/src/lib.rs +++ b/substrate/node/runtime/src/lib.rs @@ -60,7 +60,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_name: create_runtime_str!("substrate-node"), authoring_version: 10, spec_version: 62, - impl_version: 63, + impl_version: 64, apis: RUNTIME_API_VERSIONS, }; diff --git a/substrate/srml/contract/src/account_db.rs b/substrate/srml/contract/src/account_db.rs index 566b1c4c84..fdf36ee8ac 100644 --- a/substrate/srml/contract/src/account_db.rs +++ b/substrate/srml/contract/src/account_db.rs @@ -105,7 +105,7 @@ impl AccountDb for DirectAccountDb { let mut new_storage_size = info.storage_size; for (k, v) in changed.storage.into_iter() { - if let Some(value) = child::get::>(&info.trie_id[..], &k) { + if let Some(value) = child::get_raw(&info.trie_id[..], &k) { new_storage_size -= value.len() as u64; } if let Some(value) = v {