Skip to content

Commit

Permalink
Update crates/interpreter/src/interpreter/ext_bytecode.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rakita authored Dec 31, 2024
1 parent 3bd9d30 commit 3dd7741
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/interpreter/src/interpreter/ext_bytecode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ impl ExtBytecode {
}
}

/// Creates new `ExtBytecode` with the given hash.
pub fn new_with_hash(base: Bytecode, hash: B256) -> Self {
let instruction_pointer = base.bytecode().as_ptr();
Self {
Expand Down

0 comments on commit 3dd7741

Please sign in to comment.