mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 17:11:02 +00:00
update primitive-types and solve break changes (#1535)
This commit is contained in:
committed by
Bastian Köcher
parent
7c1f92b26f
commit
c0568ba3c6
@@ -653,7 +653,7 @@ mod tests {
|
||||
|
||||
fn insert(&mut self, f: impl Fn(MockCtx) -> VmExecResult + 'a) -> CodeHash<Test> {
|
||||
// Generate code hashes as monotonically increasing values.
|
||||
let code_hash = self.counter.into();
|
||||
let code_hash = <Test as system::Trait>::Hash::from_low_u64_be(self.counter);
|
||||
|
||||
self.counter += 1;
|
||||
self.map.insert(code_hash, MockExecutable::new(f));
|
||||
|
||||
Reference in New Issue
Block a user