Skip to content

Commit

Permalink
Add address to EVM state'
Browse files Browse the repository at this point in the history
  • Loading branch information
WilfredTA committed Jun 24, 2023
1 parent 215c33e commit a9e2435
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/state/evm.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use crate::machine::ExecBranch;
use crate::state::tree::NodeId;
use crate::storage::Address;
use crate::traits::MachineState;
use crate::{
instruction::Instruction,
Expand All @@ -16,6 +17,7 @@ pub struct EvmState {
pub stack: Stack<32>,
pub pc: usize,
pub pgm: Vec<Instruction>,
pub address: Address
}

impl MachineComponent for EvmState {
Expand Down

0 comments on commit a9e2435

Please sign in to comment.