Skip to content

Commit

Permalink
node: changed economic gas spent to economic mode
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszm committed May 21, 2024
1 parent 97f2894 commit 46f9637
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ rand = "0.8"
rand_core = "0.6"
tempdir = "0.3"
criterion = { version = "0.5", features = ["async_futures"] }
rusk-abi = { version = "0.13.0-rc", path = "../rusk-abi", default-features = false }

[build-dependencies]
rustc_tools_util = "=0.2.0"
Expand Down
3 changes: 2 additions & 1 deletion node/src/database/rocksdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@ mod tests {

use fake::{Fake, Faker};
use node_data::ledger::Transaction;
use rusk_abi::EconomicMode;

#[test]
fn test_store_block() {
Expand Down Expand Up @@ -1104,7 +1105,7 @@ mod tests {
inner: t.clone(),
block_height: 0,
gas_spent: 0,
economic_gas_spent: 0,
economic_mode: EconomicMode::None,
err: None,
})
.collect()
Expand Down

0 comments on commit 46f9637

Please sign in to comment.