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

[SDK]: Support handle RAGS automatically. #3052

Open
lispking opened this issue Dec 16, 2024 · 1 comment
Open

[SDK]: Support handle RAGS automatically. #3052

lispking opened this issue Dec 16, 2024 · 1 comment
Labels
area::sdk proposal New external API or other notable changes skill::typescript Need the typescript language to complete the issue
Milestone

Comments

@lispking
Copy link
Contributor

Proposal Details

Let's discuss the "out of gas" issue that occurred during the batch claim mentioned last week.

After thinking about it over the weekend, I suggest analyzing at the SDK level how many RGAS are required and then handling the gas directly within the SDK.

In this way, when it is called externally, there will be no need to judge how to pass RGAS, and the SDK will also be more convenient to use.

@lispking lispking added the proposal New external API or other notable changes label Dec 16, 2024
@jolestar jolestar added this to the Rooch v0.9 milestone Dec 23, 2024
@jolestar jolestar added area::sdk skill::typescript Need the typescript language to complete the issue labels Dec 23, 2024
@jolestar
Copy link
Contributor

We can use rooch_dryRunRawTransaction to evaluate the gas used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area::sdk proposal New external API or other notable changes skill::typescript Need the typescript language to complete the issue
Projects
Status: No status
Development

No branches or pull requests

2 participants