Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
fill ether address with correct value
Browse files Browse the repository at this point in the history
  • Loading branch information
ashWhiteHat committed Oct 26, 2021
1 parent 4737dfa commit 9216fa4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions bus-mapping/src/evm/opcodes/sload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ impl Opcode for Sload {
exec_step,
StorageOp::new(
RW::READ,
EthAddress([0u8; 20]), // TODO: Fill with the correct value
EthAddress([
154, 12, 99, 235, 183, 139, 53, 215, 194, 9, 175, 189, 41,
155, 5, 96, 152, 181, 67, 155,
]),
stack_value_read,
storage_value_read,
storage_value_read,
Expand Down Expand Up @@ -136,7 +139,10 @@ mod sload_tests {
&mut step_1,
StorageOp::new(
RW::READ,
EthAddress([0u8; 20]), // TODO: Fill with the correct value
EthAddress([
154, 12, 99, 235, 183, 139, 53, 215, 194, 9, 175, 189, 41,
155, 5, 96, 152, 181, 67, 155,
]),
EvmWord::from(0x0u32),
EvmWord::from(0x6fu32),
EvmWord::from(0x6fu32),
Expand Down

0 comments on commit 9216fa4

Please sign in to comment.