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

fix(evmstaking): roll back tokens to be burnt when msg failed #330

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

0xHansLee
Copy link
Contributor

The issue was due to that our evmstaking module don't handle errors while processing evm events.
When errors occur while processing CreateValidator or Stake evm events, the minted tokens should be sent back to module and burnt.

issue: #262

Copy link
Contributor

@ezreal1997 ezreal1997 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@0xHansLee 0xHansLee force-pushed the hans/handle-failed-create-val-msg branch from b53a12e to 025a00a Compare October 30, 2024 23:35
Base automatically changed from rayden/fix-address to main October 30, 2024 23:46
@0xHansLee 0xHansLee force-pushed the hans/handle-failed-create-val-msg branch from 025a00a to f970930 Compare October 30, 2024 23:47
@0xHansLee 0xHansLee merged commit c4c0d99 into main Oct 31, 2024
6 checks passed
@0xHansLee 0xHansLee deleted the hans/handle-failed-create-val-msg branch October 31, 2024 00:08
Copy link

Binary uploaded successfully 🎉

📦 Version Name: 0.12.1-unstable-c4c0d99
📦 Download Source: AWS S3

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

Successfully merging this pull request may close these issues.

3 participants