mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 09:50:01 +00:00
## Add proxy call filtering for EVM accounts This PR implements a `NormalCallFilter` following moonbeam filters. ### Changes - Added `NormalCallFilter` implementation across all runtime configurations (mainnet, stagenet, testnet) - Configured the filter as `BaseCallFilter` in `frame_system::Config` ### Security Improvements The filter blocks: - **Proxy calls to EVM accounts** - Prevents proxying to smart contracts - **Direct EVM pallet calls** - Prevents reentrancy from precompiles (following Moonbeam's security pattern) This aligns with best practices from Moonbeam and addresses known security considerations around EVM/Substrate interaction patterns. --------- Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| governance | ||
| common.rs | ||
| lib.rs | ||
| native_token_transfer.rs | ||
| proxy.rs | ||
| treasury.rs | ||