merge fix

This commit is contained in:
Dmitry Vagner 2023-02-08 11:28:52 -08:00
parent 7b367f5c49
commit c6492bc5d5

View File

@ -61,20 +61,6 @@ impl BinaryOperator {
U256::zero()
}
}
BinaryOperator::Shl => {
if input0 > 255.into() {
U256::zero()
} else {
input1 << input0
}
}
BinaryOperator::Shr => {
if input0 > 255.into() {
U256::zero()
} else {
input1 >> input0
}
}
BinaryOperator::AddFp254 => addmod(input0, input1, BN_BASE),
BinaryOperator::MulFp254 => mulmod(input0, input1, BN_BASE),
BinaryOperator::SubFp254 => submod(input0, input1, BN_BASE),