From 5338aa60ecfbb22c5d7732af5910ef3f50163d0d Mon Sep 17 00:00:00 2001 From: mohanson Date: Wed, 25 Sep 2024 15:37:34 +0800 Subject: [PATCH] fix(script): remove isa a in version 2 --- script/src/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/src/types.rs b/script/src/types.rs index 6a3900bafe..728cb7aa55 100644 --- a/script/src/types.rs +++ b/script/src/types.rs @@ -5,7 +5,7 @@ use ckb_types::{ }; use ckb_vm::{ machine::{VERSION0, VERSION1, VERSION2}, - ISA_A, ISA_B, ISA_IMC, ISA_MOP, + ISA_B, ISA_IMC, ISA_MOP, }; use serde::{Deserialize, Serialize}; use std::fmt; @@ -81,7 +81,7 @@ impl ScriptVersion { match self { Self::V0 => ISA_IMC, Self::V1 => ISA_IMC | ISA_B | ISA_MOP, - Self::V2 => ISA_IMC | ISA_A | ISA_B | ISA_MOP, + Self::V2 => ISA_IMC | ISA_B | ISA_MOP, } }