mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-24 06:38:02 +00:00
Fix tests against nightly Substrate (#873)
* variant change in latest codegen * fmt
This commit is contained in:
@@ -62,11 +62,10 @@ impl ContractsTestContext {
|
||||
async fn upload_code(&self) -> Result<Hash, Error> {
|
||||
let code = wabt::wat2wasm(CONTRACT).expect("invalid wabt");
|
||||
|
||||
let upload_tx = node_runtime::tx().contracts().upload_code(
|
||||
code,
|
||||
None,
|
||||
Determinism::Deterministic,
|
||||
);
|
||||
let upload_tx =
|
||||
node_runtime::tx()
|
||||
.contracts()
|
||||
.upload_code(code, None, Determinism::Enforced);
|
||||
|
||||
let events = self
|
||||
.client()
|
||||
|
||||
Reference in New Issue
Block a user