diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 21d50004..7c86541e 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -2,7 +2,7 @@ # To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml version: 0.1 cli: - version: 1.16.2 + version: 1.17.1 plugins: sources: - id: trunk diff --git a/crates/ef-testing/src/evm_sequencer/evm_state.rs b/crates/ef-testing/src/evm_sequencer/evm_state.rs index 174c2aeb..bb88335a 100644 --- a/crates/ef-testing/src/evm_sequencer/evm_state.rs +++ b/crates/ef-testing/src/evm_sequencer/evm_state.rs @@ -109,7 +109,7 @@ impl EvmState for KakarotSequencer { for ((var, keys), v) in storage { (&mut self.0.state).set_storage_at( starknet_address, - get_storage_var_address(var, &keys), // safe unwrap: all vars are ASCII + get_storage_var_address(var, &keys), v, ); } diff --git a/crates/ef-testing/src/evm_sequencer/mod.rs b/crates/ef-testing/src/evm_sequencer/mod.rs index f232d371..e2769236 100644 --- a/crates/ef-testing/src/evm_sequencer/mod.rs +++ b/crates/ef-testing/src/evm_sequencer/mod.rs @@ -45,7 +45,7 @@ impl KakarotSequencer { for (k, v) in storage { (&mut self.0.state).set_storage_at( *KAKAROT_ADDRESS, - get_storage_var_address(k, &[]), // safe unwrap: all vars are ASCII + get_storage_var_address(k, &[]), v, ); }