mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Update parity-wasm to 0.40 (#3631)
* updated direct dependencies to parity-wasm * fixed tests and incremented impl_version of the runtime * update wasmi to 0.5.1 in sr-sandbox, bringing all parity-wasm deps up to 0.40
This commit is contained in:
@@ -471,7 +471,7 @@ mod tests {
|
||||
to: 9,
|
||||
value: 6,
|
||||
data: vec![1, 2, 3, 4],
|
||||
gas_left: 49970,
|
||||
gas_left: 49971,
|
||||
}]
|
||||
);
|
||||
}
|
||||
@@ -533,7 +533,7 @@ mod tests {
|
||||
code_hash: [0x11; 32].into(),
|
||||
endowment: 3,
|
||||
data: vec![1, 2, 3, 4],
|
||||
gas_left: 49946,
|
||||
gas_left: 49947,
|
||||
}]
|
||||
);
|
||||
}
|
||||
@@ -1359,11 +1359,7 @@ mod tests {
|
||||
vec![0x00, 0x01, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe5, 0x14, 0x00])
|
||||
]);
|
||||
|
||||
assert_eq!(gas_meter.gas_left(), 50_000
|
||||
- 6 // Explicit
|
||||
- 13 - 1 - 1 // Deposit event
|
||||
- (13 + 33) // read memory
|
||||
);
|
||||
assert_eq!(gas_meter.gas_left(), 49934);
|
||||
}
|
||||
|
||||
const CODE_DEPOSIT_EVENT_MAX_TOPICS: &str = r#"
|
||||
|
||||
Reference in New Issue
Block a user