Skip to content

Commit

Permalink
Merge pull request #20 from OffchainLabs/add-modulehash-field
Browse files Browse the repository at this point in the history
Add modulehash field to `ProgramActivated` event
  • Loading branch information
rachel-bousfield authored Oct 16, 2023
2 parents 78ecfd5 + 70682f2 commit b50fff8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/precompiles/ArbWasm.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ interface ArbWasm {
// @return gas cost paid per half kb uncompressed.
function callScalar() external view returns (uint16 gas);

event ProgramActivated(bytes32 indexed codehash, address program, uint16 version);
event ProgramActivated(
bytes32 indexed codehash,
bytes32 moduleHash,
address program,
uint16 version
);

error ProgramNotActivated();
error ProgramOutOfDate(uint16 version);
Expand Down

0 comments on commit b50fff8

Please sign in to comment.