Skip to content

Commit

Permalink
node: added field in spent transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszm committed May 22, 2024
1 parent d619323 commit 57822d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
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
2 changes: 2 additions & 0 deletions 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,6 +1105,7 @@ mod tests {
inner: t.clone(),
block_height: 0,
gas_spent: 0,
economic_mode: EconomicMode::None,
err: None,
})
.collect()
Expand Down

0 comments on commit 57822d6

Please sign in to comment.