File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,10 @@ pub fn decode_v7(blob: &[u8]) -> Result<Batch, DecodingError> {
3131
3232 // check version.
3333 let version = from_be_bytes_slice_and_advance_buf ! ( u8 , buf) ;
34- debug_assert ! ( ( version == 7 ) || ( version == 8 ) || ( version == 9 ) , "incorrect blob version" ) ;
34+ debug_assert ! (
35+ ( version == 7 ) || ( version == 8 ) || ( version == 9 ) || ( version == 10 ) ,
36+ "incorrect blob version"
37+ ) ;
3538
3639 let blob_payload_size = from_be_bytes_slice_and_advance_buf ! ( u32 , 3 , buf) as usize ;
3740
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ impl Codec {
5959 let blob = input. blob ( ) . ok_or ( DecodingError :: MissingBlob ) ?;
6060 decode_v4 ( calldata, blob. as_ref ( ) ) ?
6161 }
62- 7 ..=9 => {
62+ 7 ..=10 => {
6363 let blob = input. blob ( ) . ok_or ( DecodingError :: MissingBlob ) ?;
6464 decode_v7 ( blob. as_ref ( ) ) ?
6565 }
You can’t perform that action at this time.
0 commit comments