diff --git a/benches/benches/vm.rs b/benches/benches/vm.rs index 1efdf9629ce..cb6d2ad4138 100644 --- a/benches/benches/vm.rs +++ b/benches/benches/vm.rs @@ -77,11 +77,11 @@ where } fn vm(c: &mut Criterion) { + blockchain::run(c); alu::run(c); crypto::run(c); flow::run(c); mem::run(c); - blockchain::run(c); contract_root(c); state_root(c); vm_initialization(c); diff --git a/bin/fuel-core/chainspec/dev-testnet/state_transition_bytecode.wasm b/bin/fuel-core/chainspec/dev-testnet/state_transition_bytecode.wasm index 4405e10fcf7..ea186f11124 100755 Binary files a/bin/fuel-core/chainspec/dev-testnet/state_transition_bytecode.wasm and b/bin/fuel-core/chainspec/dev-testnet/state_transition_bytecode.wasm differ diff --git a/bin/fuel-core/chainspec/testnet/state_transition_bytecode.wasm b/bin/fuel-core/chainspec/testnet/state_transition_bytecode.wasm index 4405e10fcf7..ea186f11124 100755 Binary files a/bin/fuel-core/chainspec/testnet/state_transition_bytecode.wasm and b/bin/fuel-core/chainspec/testnet/state_transition_bytecode.wasm differ diff --git a/crates/fuel-core/src/database.rs b/crates/fuel-core/src/database.rs index 3b1973e9715..47022359f60 100644 --- a/crates/fuel-core/src/database.rs +++ b/crates/fuel-core/src/database.rs @@ -355,14 +355,6 @@ impl Modifiable for Database { fn commit_changes(&mut self, changes: Changes) -> StorageResult<()> { commit_changes_with_height_update(self, changes, |iter| { iter.iter_all::(Some(IterDirection::Reverse)) - .filter_map(|result| { - if let Ok((height, _)) = &result { - if height == &0.into() { - return None; - } - } - Some(result) - }) .map(|result| result.map(|(height, _)| height)) .try_collect() })