Skip to content

Commit

Permalink
fix(script): remove isa a in version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson committed Sep 25, 2024
1 parent 6c29e29 commit 5338aa6
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 5338aa6

Please sign in to comment.