From 1e1de3dd77b114977f2461982ca371a971dab005 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Wed, 9 Oct 2024 04:48:36 +0200 Subject: [PATCH] fix: use original bytes for codes (#11593) --- crates/rpc/rpc/src/debug.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rpc/rpc/src/debug.rs b/crates/rpc/rpc/src/debug.rs index 9fbde05bb4..fb04070397 100644 --- a/crates/rpc/rpc/src/debug.rs +++ b/crates/rpc/rpc/src/debug.rs @@ -619,7 +619,7 @@ where .cache .contracts .iter() - .map(|(hash, code)| (*hash, code.bytes())) + .map(|(hash, code)| (*hash, code.original_bytes())) .collect(); for (address, account) in &statedb.cache.accounts {