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

Estimate gas failed during using POW #1553

Closed
EvgeniyZZ opened this issue Aug 14, 2023 · 3 comments · Fixed by #1557, #1562 or #1569
Closed

Estimate gas failed during using POW #1553

EvgeniyZZ opened this issue Aug 14, 2023 · 3 comments · Fixed by #1557, #1562 or #1569
Assignees
Labels
bug Something isn't working release:2.2

Comments

@EvgeniyZZ
Copy link

EvgeniyZZ commented Aug 14, 2023

Description
In some cases(most common - node rotation) node can have 0 balance of SFuel.
In this case should be used POW algorithm.

Environment
IMA Agent: 2.0.0-beta.7
Network: Regression
Schain name: portly-passionate-sirius

Step to reproduce

  • Run node rotation tests OR make node SFuel balance to 0.
  • Run any IMA transfer(S2M, S2S)
  • Observe logs

Actual result
IMA message verified and failed on tx processing.

Expected behavior
Estimate gas works properly during POW and tx processing

imaInsufficientSF.txt

@EvgeniyZZ EvgeniyZZ added bug Something isn't working release:2.2 labels Aug 14, 2023
@sergiy-skalelabs sergiy-skalelabs linked a pull request Aug 15, 2023 that will close this issue
@PolinaKiporenko PolinaKiporenko moved this from To Do to Code Review in SKALE Engineering 🚀 Aug 16, 2023
@github-project-automation github-project-automation bot moved this from Code Review to Ready For Release Candidate in SKALE Engineering 🚀 Aug 16, 2023
@sergiy-skalelabs sergiy-skalelabs moved this from Ready For Release Candidate to QA in SKALE Engineering 🚀 Aug 16, 2023
@sergiy-skalelabs sergiy-skalelabs linked a pull request Aug 18, 2023 that will close this issue
@EvgeniyZZ
Copy link
Author

Verified: Not working. Now its not working when balance is more 0.
IMA Agent: 2.0.0-beta.9

imaPowStillNotWorking.txt
imaPowStillNotWorkingPOW.txt

@EvgeniyZZ EvgeniyZZ moved this from QA to Blocked in SKALE Engineering 🚀 Aug 23, 2023
@EvgeniyZZ EvgeniyZZ moved this from Blocked to To Do in SKALE Engineering 🚀 Aug 23, 2023
@DmytroNazarenko DmytroNazarenko moved this from To Do to Ready For Pickup in SKALE Engineering 🚀 Aug 28, 2023
@PolinaKiporenko PolinaKiporenko moved this from Ready For Pickup to In Progress in SKALE Engineering 🚀 Aug 29, 2023
@sergiy-skalelabs sergiy-skalelabs moved this from In Progress to Code Review in SKALE Engineering 🚀 Aug 29, 2023
@github-project-automation github-project-automation bot moved this from Code Review to Ready For Release Candidate in SKALE Engineering 🚀 Aug 29, 2023
@DmytroNazarenko
Copy link
Contributor

DmytroNazarenko commented Sep 1, 2023

IMA: 2.0.0-beta.10

@DmytroNazarenko DmytroNazarenko moved this from Ready For Release Candidate to Merged To Release Candidate in SKALE Engineering 🚀 Sep 1, 2023
@EvgeniyZZ
Copy link
Author

Verified: estimateGas wokrs during POW.
IMA Agent:
Node address balance: 0
PoW-mining is needed for sender 0x5ad0ffdb09bd8cc90ff73e489e7caa47e2483601 with balance 0x00 using required balance 0x01162d1d711400
powWorkNow.txt

@EvgeniyZZ EvgeniyZZ moved this from Merged To Release Candidate to Done in SKALE Engineering 🚀 Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment