Skip to content

Commit

Permalink
fix: msg.value to createRetryableTicket
Browse files Browse the repository at this point in the history
  • Loading branch information
gzeoneth committed Aug 22, 2023
1 parent 8c5f379 commit cb7c882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rollup/DeployHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ contract DeployHelper {
bytes memory payload
) internal {
uint256 submissionCost = inbox.calculateRetryableSubmissionFee(0, block.basefee);
inbox.createRetryableTicket{value: 0.01 ether + submissionCost + GASLIMIT * MAXFEEPERGAS}({
inbox.createRetryableTicket{value: _value + submissionCost + GASLIMIT * MAXFEEPERGAS}({
to: _l2Address,
l2CallValue: _value,
maxSubmissionCost: submissionCost,
Expand Down

0 comments on commit cb7c882

Please sign in to comment.