From 5de40c77be9bedd0e514cdc87cb00915ab1c0fbb Mon Sep 17 00:00:00 2001 From: publicqi <56060664+publicqi@users.noreply.github.com> Date: Fri, 16 Feb 2024 04:51:19 -0800 Subject: [PATCH] fix: modify cfg spec_id (#1095) (#1096) --- crates/revm/src/handler.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/revm/src/handler.rs b/crates/revm/src/handler.rs index cf0d6cd2c2..1d4654b3b7 100644 --- a/crates/revm/src/handler.rs +++ b/crates/revm/src/handler.rs @@ -195,6 +195,7 @@ impl<'a, EXT, DB: Database> EvmHandler<'a, EXT, DB> { handler.append_handler_register(register) } handler.cfg = self.cfg(); + handler.cfg.spec_id = spec_id; *self = handler; } }