Skip to content

Commit

Permalink
Merge pull request #4664 from libraries/disable_isa_a
Browse files Browse the repository at this point in the history
fix(script): remove isa a in version 2
  • Loading branch information
zhangsoledad authored Sep 25, 2024
2 parents 6c29e29 + 5338aa6 commit d8fc09a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
}
}

Expand Down

0 comments on commit d8fc09a

Please sign in to comment.