From ffe0780a0e2b47124a99aad34372b921c8da8408 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Mon, 19 Feb 2024 23:36:42 +0100 Subject: [PATCH] add comment --- runtime/hydradx/src/lib.rs | 1 + 1 file changed, 1 insertion(+) 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()) };