diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 71e22c703..d1bd56142 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -484,6 +484,7 @@ impl_runtime_apis! { _ => (None, None), }; + // don't allow calling EVM RPC or Runtime API from a bound address if EVMAccounts::bound_account_id(from).is_some() { return Err(pallet_evm_accounts::Error::::BoundAddressCannotBeUsed.into()) };