From 2bb5465cdaaf31b9701ff3ee763992b90ec73aaa Mon Sep 17 00:00:00 2001 From: Tsahi Zidenberg Date: Mon, 5 Feb 2024 16:56:00 -0700 Subject: [PATCH] stylus: fix accountCode --- arbitrator/arbutil/src/evm/req.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arbitrator/arbutil/src/evm/req.rs b/arbitrator/arbutil/src/evm/req.rs index f1fc8bbdb..4d16d8861 100644 --- a/arbitrator/arbutil/src/evm/req.rs +++ b/arbitrator/arbutil/src/evm/req.rs @@ -234,7 +234,7 @@ impl EvmApi for EvmApiRequestor { req.extend(size.to_be_bytes()); let (res, cost) = self .handler - .handle_request(EvmApiMethod::AccountCodeSize, &req); + .handle_request(EvmApiMethod::AccountCode, &req); (res, cost) }