datahaven/operator/runtime
Ahmad Kaouk 2f6c6e39c2
fix: add explicit sovereign account balance check in unlock_tokens (#253)
Add defensive validation to ensure the Ethereum sovereign account has
sufficient balance before unlocking tokens. This addresses an audit
finding where the lack of explicit balance checking created an
unreliable security control that depended on implicit runtime behavior.

Changes:
- Add InsufficientSovereignBalance error variant for clear error
messaging
- Add explicit balance check in unlock_tokens before transfer
- Update tests across all runtimes (testnet, stagenet, mainnet) to
validate the specific error is returned when sovereign account has
insufficient funds

The explicit check provides better error messages that can propagate
through the Ethereum bridge and makes debugging sovereign account
balance issues easier.
2025-10-30 11:19:14 +00:00
..
common fix: change pallet_evm alias to EVM to fix eth_getCode (#213) 2025-10-10 17:48:52 +00:00
mainnet fix: add explicit sovereign account balance check in unlock_tokens (#253) 2025-10-30 11:19:14 +00:00
stagenet fix: add explicit sovereign account balance check in unlock_tokens (#253) 2025-10-30 11:19:14 +00:00
testnet fix: add explicit sovereign account balance check in unlock_tokens (#253) 2025-10-30 11:19:14 +00:00
README.md feat(operator): Add Ethereum RPCs (#55) 2025-04-30 17:01:21 +00:00

Release

Polkadot SDK stable2412