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 {
46
46
/// Decodes the input data and returns the decoded [`Batch`].
47
47
pub fn decode < T : CommitDataSource > ( input : & T ) -> Result < Batch , CodecError > {
48
48
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 ) ?;
50
50
51
51
let payload = match version {
52
52
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"] }
34
34
[features ]
35
35
default = [" std" ]
36
36
std = [
37
- " scroll-alloy-consensus/std" ,
38
- " scroll-alloy-rpc-types-engine/std" ,
39
37
" alloy-primitives/std" ,
40
38
" alloy-rpc-types-engine/std" ,
39
+ " alloy-eips/std" ,
41
40
" reth-scroll-chainspec/std" ,
41
+ " scroll-alloy-consensus/std" ,
42
+ " scroll-alloy-rpc-types-engine/std" ,
42
43
]
You can’t perform that action at this time.
0 commit comments