mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 17:05:47 +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> {
|
async fn upload_code(&self) -> Result<Hash, Error> {
|
||||||
let code = wabt::wat2wasm(CONTRACT).expect("invalid wabt");
|
let code = wabt::wat2wasm(CONTRACT).expect("invalid wabt");
|
||||||
|
|
||||||
let upload_tx = node_runtime::tx().contracts().upload_code(
|
let upload_tx =
|
||||||
code,
|
node_runtime::tx()
|
||||||
None,
|
.contracts()
|
||||||
Determinism::Deterministic,
|
.upload_code(code, None, Determinism::Enforced);
|
||||||
);
|
|
||||||
|
|
||||||
let events = self
|
let events = self
|
||||||
.client()
|
.client()
|
||||||
|
|||||||
Reference in New Issue
Block a user