Skip to content

Commit

Permalink
Update to softfork guard fix with extension 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Nov 5, 2024
1 parent 89fe080 commit 32e2cea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ do-notation = "0.1.3"
serde_json = "1.0"
sha2 = "0.9.5"
tempfile = "3.13.0"
clvmr = { git = "https://github.com/Chia-Network/clvm_rs", rev = "fe356d69b556f345b818d605a667596620585a85", features = ["pre-eval"] }
clvmr = { git = "https://github.com/Chia-Network/clvm_rs", rev = "ad539f504ade075262ac1754a9e0010c2789255f", features = ["pre-eval"] }
binascii = "0.1.4"
yaml-rust2 = "0.9"
hashlink = "0.9.1"
Expand Down
4 changes: 2 additions & 2 deletions src/classic/clvm_tools/stages/stage_2/operators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ impl Dialect for CompilerOperatorsInternal {
// The softfork operator comes with an extension argument.
fn softfork_extension(&self, ext: u32) -> OperatorSet {
match ext {
0 => OperatorSet::Default,
1 => OperatorSet::Keccak,
0 | 1 => OperatorSet::Default,
2 => OperatorSet::Keccak,
// new extensions go here
_ => OperatorSet::Unknown,
}
Expand Down

0 comments on commit 32e2cea

Please sign in to comment.