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

StateDB GetCurrentTxLogs as used in ScheduledTxes doesn't clear last tx's logs if StartTxHook ends the tx early #818

Open
PlasmaPower opened this issue Jul 21, 2022 · 1 comment
Labels
node Changes the node software

Comments

@PlasmaPower
Copy link
Collaborator

If StartTxHook ends the transaction early, the StateDB's GetCurrentTxLogs will fetch the last tx's logs, which potentially enters an infinite loop if called in gas estimation.

@PlasmaPower PlasmaPower added the node Changes the node software label Jul 21, 2022
@Andy-Waine
Copy link

Hey @PlasmaPower - is this still a valid Issue?

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

No branches or pull requests

2 participants