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

There are two last alright transactions #1009

Open
yatsunastya opened this issue Nov 15, 2023 · 0 comments
Open

There are two last alright transactions #1009

yatsunastya opened this issue Nov 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@yatsunastya
Copy link

yatsunastya commented Nov 15, 2023

Describe the bug
It's not always reproducible but sometimes while node rotation it happens that there are two last alright transactions - first alright is failed and second alright is completed.
The last alright transaction consumes more gas than regular one because there are three events - AllDataReceived, SuccessfulDKG, NodeRefundedBySchain.
So the problem is that at the moment of sending alright transaction it is not the last so sets Gas limit as for the regular alright, but when it is finally mined, it turns out at the last place and needs more gas than it was set before, so transaction fails.
Then it tries to send it again, all the calculations with gas are correct so transaction passes.

Version: admin - 2.5.3

@yatsunastya yatsunastya added bug Something isn't working enhancement New feature or request labels Nov 15, 2023
@PolinaKiporenko PolinaKiporenko added this to the SKALE 2.4 milestone Nov 15, 2023
@PolinaKiporenko PolinaKiporenko removed the enhancement New feature or request label Dec 15, 2023
@PolinaKiporenko PolinaKiporenko moved this from To Do to Ready For Pickup in SKALE Engineering 🚀 Jan 25, 2024
@PolinaKiporenko PolinaKiporenko moved this from Ready For Pickup to To Do in SKALE Engineering 🚀 Jan 25, 2024
@PolinaKiporenko PolinaKiporenko moved this from To Do to Ready For Pickup in SKALE Engineering 🚀 Jan 25, 2024
@PolinaKiporenko PolinaKiporenko modified the milestones: SKALE 2.4, SKALE 2.5 Apr 29, 2024
@DmytroNazarenko DmytroNazarenko modified the milestones: SKALE 2.5, SKALE 2.6 May 13, 2024
@PolinaKiporenko PolinaKiporenko moved this from Ready For Pickup to To Do in SKALE Engineering 🚀 Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To Do
Development

No branches or pull requests

4 participants