piplabs / story

Official repo for the Story L1 consensus client, contracts, and associated tooling.
GNU General Public License v3.0
39 stars 26 forks source link

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

Closed 0xHansLee closed 4 weeks ago

0xHansLee commented 4 weeks ago

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

github-actions[bot] commented 4 weeks ago

Binary uploaded successfully 🎉

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