-
Notifications
You must be signed in to change notification settings - Fork 2
Add manual execution to offramp #249
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
base: main
Are you sure you want to change the base?
Conversation
struct (0xa00785cf) OffRamp_ManuallyExecute { | ||
queryId: uint64; | ||
report: ExecutionReport; | ||
gasOverride: coins; // TODO: should this just be part of the added gas value passed into the call? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can just pass through all TON value specified on the call here and avoid this override
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, but then we have to change the logic where we check msg.gasOverride != null
and instead add a specific handler for manual exec in the MerkleRoot
message: msg.message, | ||
}); | ||
} | ||
SetRejectAll => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nicolasgnr like Solana the new receiver supports toggling a receiver to deliberately fail. I didn't add any access control checks since this shouldn't be used outside of testnet?
No description provided.