Skip to content

Commit

Permalink
Remove maxFeePerGas and masDispatchGas fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Lohann committed Dec 27, 2024
1 parent 0c3331b commit 09a0f9c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/Gateway.sol
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ contract Gateway is IGateway, IExecutor, IUpgradable, GatewayEIP712 {
mstore(0x40, freeMemPtr)
}
}
messageHash = keccak256(abi.encode(message.version, message.batchID, message.maxDispatchGas, message.maxFeePerGas, messageHash));
messageHash = keccak256(abi.encode(message.version, message.batchID, messageHash));
_verifySignature(signature, messageHash);

// Refund the chronicle gas
Expand Down
4 changes: 0 additions & 4 deletions src/Primitives.sol
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ struct InboundMessage {
uint8 version;
/// @dev The batch ID
uint64 batchID;
/// @dev The maximum gas allowed for message dispatch
uint64 maxDispatchGas;
/// @dev The maximum fee per gas
uint256 maxFeePerGas;
/// @dev
GatewayOp[] ops;
}
Expand Down

0 comments on commit 09a0f9c

Please sign in to comment.