From 2aa91203e46d60ef5f19c841547682e5cf7c4334 Mon Sep 17 00:00:00 2001 From: Vladislav Volosnikov Date: Fri, 3 Jan 2025 12:51:33 +0100 Subject: [PATCH] Update contracts --- compiler_tester/src/vm/eravm/mod.rs | 3 +-- era-contracts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/compiler_tester/src/vm/eravm/mod.rs b/compiler_tester/src/vm/eravm/mod.rs index 4c434c24..92eb0086 100644 --- a/compiler_tester/src/vm/eravm/mod.rs +++ b/compiler_tester/src/vm/eravm/mod.rs @@ -64,8 +64,7 @@ impl EraVM { pub const EVM_INTERPRETER_GAS_OVERHEAD: u64 = 2500; /// The `allowedBytecodesToDeploy` variable storage slot in the `ContractDeployer` contract. - pub const CONTRACT_DEPLOYER_ALLOWED_BYTECODES_MODE_SLOT: &'static str = - "0xd70708d0b933e26eab552567ce3a8ad69e6fbec9a2a68f16d51bd417a47d9d3b"; + pub const CONTRACT_DEPLOYER_ALLOWED_BYTECODES_MODE_SLOT: u64 = 1; /// The `passGas` variable transient storage slot in the `EvmGasManager` contract. pub const EVM_GAS_MANAGER_GAS_TRANSIENT_SLOT: u64 = 4; diff --git a/era-contracts b/era-contracts index d8b49e56..a5390403 160000 --- a/era-contracts +++ b/era-contracts @@ -1 +1 @@ -Subproject commit d8b49e56ed8b6c931a1b60f60390213f183eb094 +Subproject commit a539040301bfdac86f8d5d87e4a213b9f76ea422