Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cantina finding #9] added gasLimit to relayMessage #172

Open
wants to merge 1 commit into
base: enhance-logs
Choose a base branch
from

Conversation

voith
Copy link
Member

@voith voith commented Feb 23, 2025

This change is Reviewable

@voith voith force-pushed the add-gaslimit branch 2 times, most recently from 3f025b9 to 97abe70 Compare February 24, 2025 13:04
@@ -121,7 +129,12 @@ contract GovernanceCCIPRelay is IGovernanceCCIPRelay {
receiver: abi.encode(destinationReceiver),
data: abi.encode(target, payload),
tokenAmounts: new Client.EVMTokenAmount[](0),
extraArgs: "",
extraArgs: Client._argsToBytes(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@voith does it make sense to track the gasLimit used for the messageId in the MessageRelayed event in order to later to track if the message has revert, which was the value passed for gasLimit?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can get the gasLimit passed by decoding the data we sent in the transaction. i think it's fine to handle this offchain in the monitoring system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants