From 9466edea7eb1bde883b5016217233387eb48f22f Mon Sep 17 00:00:00 2001 From: Daniel Perez Date: Thu, 1 Aug 2024 23:31:07 +0100 Subject: [PATCH] Add missing call validation --- src/interpreter/functions/contract.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interpreter/functions/contract.rs b/src/interpreter/functions/contract.rs index df7e14e..e7cc341 100644 --- a/src/interpreter/functions/contract.rs +++ b/src/interpreter/functions/contract.rs @@ -308,6 +308,7 @@ where P: Provider, N: Network, { + opts.validate_call()?; let mut tx_req = _build_transaction(addr, &func, opts)?; if let Some(from_) = opts.from { tx_req = tx_req.with_from(from_);