From 4f1d9b98f884df92d130d6b3bdd0867187cbecc2 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Tue, 21 Mar 2023 13:02:59 +0000 Subject: [PATCH] Fix tests against nightly Substrate (#873) * variant change in latest codegen * fmt --- testing/integration-tests/src/frame/contracts.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/testing/integration-tests/src/frame/contracts.rs b/testing/integration-tests/src/frame/contracts.rs index 97403c3456..d9f1d7a2b6 100644 --- a/testing/integration-tests/src/frame/contracts.rs +++ b/testing/integration-tests/src/frame/contracts.rs @@ -62,11 +62,10 @@ impl ContractsTestContext { async fn upload_code(&self) -> Result { 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()