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

Estimation Fail #220

Open
izyak opened this issue May 30, 2024 · 2 comments
Open

Estimation Fail #220

izyak opened this issue May 30, 2024 · 2 comments
Assignees
Labels

Comments

@izyak
Copy link
Collaborator

izyak commented May 30, 2024

Once in a while, we've seen estimation failure when we try to estimate step needed to do the txn on icon side. There are no logs to see the payload while calling estimate step. Add this payload to logs, when the rpc returns failure for estimate step.

To confirm, the next time this issue occurs, we need to use the data obtained from the logs to call contract manually and verify what went wrong when building the txn data, or is there some issue with ctz rpc node.

@izyak izyak added the iBriz label May 30, 2024
@izyak izyak self-assigned this May 30, 2024
@FidelVe
Copy link

FidelVe commented May 30, 2024

hi team.

a couple of points regarding step estimation:

  • to estimate fee you need to call the debug route (api/v3d)
  • if you try to estimate fee with a wallet with no balance the endpoint returns an error
  • network transaction fees are very low, if the step to estimate the fee is failing I honestly think we should put a last case un the logic to try and send the tx with a high gas fee. in this case put in the log that the fee estimation failed but end up trying to send the transaction anyways by putting the max fee allowed which I think is something like 250.000.000

@pragyanshrestha-ibriz
Copy link
Collaborator

explore after cli cmd release.

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

No branches or pull requests

3 participants