@@ -28,8 +28,7 @@ contract Passage {
28
28
bytes data ,
29
29
uint256 value ,
30
30
uint256 gas ,
31
- uint256 maxPrioFee ,
32
- uint256 maxBaseFee
31
+ uint256 maxFeePerGas
33
32
);
34
33
35
34
/// @notice Emitted when the admin withdraws tokens from the contract.
@@ -73,31 +72,22 @@ contract Passage {
73
72
/// @param data - The data to send to the rollup.
74
73
/// @param value - The amount of Ether to send on the rollup.
75
74
/// @param gas - The gas limit for the transaction.
76
- /// @param maxPrioFee - The maximum priority fee for the transaction.
77
- /// @param maxBaseFee - The maximum base fee for the transaction.
75
+ /// @param maxFeePerGas - The maximum fee per gas for the transaction (per EIP-1559).
78
76
/// @custom:emits Transact indicating the transaction to mine on the rollup.
79
77
function transact (
80
78
uint256 rollupChainId ,
81
79
address to ,
82
80
bytes calldata data ,
83
81
uint256 value ,
84
82
uint256 gas ,
85
- uint256 maxPrioFee ,
86
- uint256 maxBaseFee
83
+ uint256 maxFeePerGas
87
84
) public {
88
- emit Transact (rollupChainId, msg .sender , to, data, value, gas, maxPrioFee, maxBaseFee );
85
+ emit Transact (rollupChainId, msg .sender , to, data, value, gas, maxFeePerGas );
89
86
}
90
87
91
88
/// @dev See `transact` above for docs.
92
- function transact (
93
- address to ,
94
- bytes calldata data ,
95
- uint256 value ,
96
- uint256 gas ,
97
- uint256 maxPrioFee ,
98
- uint256 maxBaseFee
99
- ) external {
100
- transact (defaultRollupChainId, to, data, value, gas, maxPrioFee, maxBaseFee);
89
+ function transact (address to , bytes calldata data , uint256 value , uint256 gas , uint256 maxFeePerGas ) external {
90
+ transact (defaultRollupChainId, to, data, value, gas, maxFeePerGas);
101
91
}
102
92
103
93
/// @notice Allows the admin to withdraw ETH or ERC20 tokens from the contract.
0 commit comments