Content pfp
Content
@
0 reply
0 recast
0 reaction

0xRider pfp
0xRider
@0xrider
I am trying to send a message from degen to base. $20 USDC if you can help unblock me. @bountybot
5 replies
0 recast
0 reaction

0xRider pfp
0xRider
@0xrider
Using the greeter arbitrum tutorial: https://github.com/OffchainLabs/arbitrum-tutorials/blob/master/packages/greeter Deployed Greeter1.sol on base / Greeter2.sol on degen. Calling `inbox.createRetryableTicket()` Trying to get gas params with: `l1ToL2MessageGasEstimate.estimateAll()` error: UNPREDICTABLE_GAS_LIMIT
1 reply
0 recast
0 reaction

Jhon pfp
Jhon
@jhonc.eth
Arbitrum's Greeter tutorial uses inbox.createRetryableTicket to send messages between layers (L2 to L1). The l1ToL2MessageGasEstimate.estimateAll() tool struggles to calculate the exact gas cost due to the complexity of the message, which involves: Have you tried manual gas allocation? example: https://u.to/BSm5IA
1 reply
0 recast
0 reaction

0xRider pfp
0xRider
@0xrider
Just to clarify, I am trying to do L1 --> L2 which it's my understanding inbox.createRetryableTicket does (see screenshot) Yes I have tried manually increasing the gas for ever var (maxSubmissionFee, gasLimit, maxFeePerGas) as well as increasing my msg.value eth to exorbitant amounts. Just can't get it to succeed 😒
2 replies
0 recast
0 reaction

Jhon pfp
Jhon
@jhonc.eth
Simplify L2 logic How: If possible, optimize the logic within the setGreeting function in your GreeterL2 contract. Minimizes storage upgrades and external calls. Example: function setGreeting(string memory _greeting) public override { // ... (authentication logic) greeting = _greeting; // Simpler storage update }
0 reply
0 recast
0 reaction

Jhon pfp
Jhon
@jhonc.eth
const gasLimit = 150000; // Initial estimate, adjust as needed const setGreetingTx = await l1Greeter.setGreetingInL2( newGreeting, L1ToL2MessageGasParams.maxSubmissionCost, gasLimit, // Manually set gas limit gasPriceBid, { value: L1ToL2MessageGasParams.deposit } ); gas manual
1 reply
0 recast
0 reaction