File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ impl Codec {
4646 /// Decodes the input data and returns the decoded [`Batch`].
4747 pub fn decode < T : CommitDataSource > ( input : & T ) -> Result < Batch , CodecError > {
4848 let calldata = input. calldata ( ) ;
49- let version = get_codec_version ( & calldata) . ok_or ( DecodingError :: MissingCodecVersion ) ?;
49+ let version = get_codec_version ( calldata) . ok_or ( DecodingError :: MissingCodecVersion ) ?;
5050
5151 let payload = match version {
5252 0 => decode_v0 ( calldata) ?,
Original file line number Diff line number Diff line change @@ -34,9 +34,10 @@ scroll-codec = { workspace = true, features = ["test-utils"] }
3434[features ]
3535default = [" std" ]
3636std = [
37- " scroll-alloy-consensus/std" ,
38- " scroll-alloy-rpc-types-engine/std" ,
3937 " alloy-primitives/std" ,
4038 " alloy-rpc-types-engine/std" ,
39+ " alloy-eips/std" ,
4140 " reth-scroll-chainspec/std" ,
41+ " scroll-alloy-consensus/std" ,
42+ " scroll-alloy-rpc-types-engine/std" ,
4243]
You can’t perform that action at this time.
0 commit comments