Skip to content

Commit

Permalink
NDEV-2043: Use opcode_table! macro
Browse files Browse the repository at this point in the history
  • Loading branch information
andreisilviudragnea committed Sep 25, 2023
1 parent 51ac031 commit 1beebf1
Show file tree
Hide file tree
Showing 9 changed files with 359 additions and 752 deletions.
9 changes: 3 additions & 6 deletions evm_loader/program/src/evm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ mod buffer;
pub mod database;
mod memory;
mod opcode;
#[cfg(feature = "library")]
mod opcode_async;
#[cfg(not(feature = "library"))]
mod opcode_sync;
mod opcode_values;
mod opcode_table;
mod precompile;
mod stack;
#[cfg(feature = "library")]
Expand Down Expand Up @@ -404,7 +400,8 @@ impl<B: Database> Machine<B> {
Ok(result) => result,
Err(e) => {
let message = build_revert_message(&e.to_string());
self.opcode_revert_impl(Buffer::from_slice(&message), backend)?
self.opcode_revert_impl(Buffer::from_slice(&message), backend)
.await?
}
};

Expand Down
Loading

0 comments on commit 1beebf1

Please sign in to comment.