mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-27 12:59:55 +00:00
Add storage_version() and runtime_wasm_code() to storage (#1111)
* add storage_version function * get runtime code * add tests * clippy fix * just support CODE, remove other well known keys * remove u16 wrapper
This commit is contained in:
1 parent
b97acc5df6
commit
9723a50969
4 files changed
+72
-4
No files matched your search
@@ -389,7 +389,7 @@ impl<T: Config, C: OnlineClientT<T>> TxInBlock<T, C> {
|
||||
.iter()
|
||||
.position(|ext| {
|
||||
use crate::config::Hasher;
|
||||
let Ok((_,stripped)) = strip_compact_prefix(&ext.0) else {
|
||||
let Ok((_, stripped)) = strip_compact_prefix(&ext.0) else {
|
||||
return false;
|
||||
};
|
||||
let hash = T::Hasher::hash_of(&stripped);
|
||||
|
||||
Reference in new issue
Block a user