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

clients/js: fix low gas budget in Sui VAA submit. #3247

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

scnale
Copy link
Collaborator

@scnale scnale commented Jul 31, 2023

The default gas budget for Sui transaction blocks is 1_000_000 which is too low to submit VAAs.

@@ -38,6 +38,7 @@ export const executeTransactionBlock = async (
const consoleWarnTemp = console.warn;
console.warn = () => {};

transactionBlock.setGasBudget(100_000_000);
Copy link
Contributor

Choose a reason for hiding this comment

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

a comment pointing to an explorer link for a successful transaction would be nice to give some context to this number

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, when I made this change I was actually copying what the sdk already did at that point but I think we should have proper gas estimation instead.

@evan-gray evan-gray force-pushed the fix/sui-worm-submit-low-gas-budget branch from 2dfce6f to 94f5491 Compare March 11, 2024 00:37
@evan-gray evan-gray added the cli label Mar 14, 2024
@evan-gray evan-gray added the sui label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants