We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7653f10 commit e58fe69Copy full SHA for e58fe69
ethereum/circuits/lib/src/rlp/types.nr
@@ -105,7 +105,7 @@ impl RlpFragment {
105
value: u128,
106
) {
107
let val: Field = value as Field;
108
- self.assert_eq_bounded_vec(field_name, rlp, byte_value(val.to_be_bytes::<20>()));
+ self.assert_eq_bounded_vec(field_name, rlp, byte_value(val.to_be_bytes::<16>()));
109
}
110
111
pub(crate) fn assert_eq_address<let FIELD_NAME_LEN: u32, let MAX_RLP_LEN: u32>(
0 commit comments