0

If I set the below extra args on source chain contract:

    extraArgs: Client._argsToBytes(
        Client.EVMExtraArgsV1({gasLimit: 400000})

I set the gasLimit for function call on my contract as 600000.

Still my transaction gets reverted during this call

messageId = IRouterClient(i_router).ccipSend{value: fee}(
    destinationChainSelector,
    message
);

This is my failing transaction on sepolia source chain: 0x70999861d491297db22599dfa4c5954b3604c8a950318ff1010aea4fb6db03dc Please help me figure out this issue.

2
  • Hi MAYANK, If you cannot successfully call function ccipSend, it usually because you are using the incorrect router address or do not transfer enough native tokens or LINK tokens into your ccip consumer smart contract.
    – Frank Kong
    Commented May 30 at 8:06
  • 1
    The issue got resolved. I had to fund my contract with ETH. Thanks @Frank Kong Commented May 31 at 14:05

1 Answer 1

0

The issue got resolved. I had to fund my contract with ETH.

1
  • Please use the edit link on your question to add additional information. The Post Answer button should be used only for complete answers to the question. - From Review
    – Maka
    Commented May 31 at 14:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.