cargo build
Compiling reth-primitives v0.2.0-beta.9 (https://github.com/paradigmxyz/reth#3b8cc065)
error[E0061]: this function takes 5 arguments but 4 arguments were supplied
--> /root/.cargo/git/checkouts/reth-36d3ea1d1152b20c/3b8cc06/crates/primitives/src/revm/compat.rs:39:5
|
39 | validate_initial_tx_gas(spec_id, input, kind.is_create(), access_list)
| ^^^^^^^^^^^^^^^^^^^^^^^----------------------------------------------- an argument of type &[alloy_primitives::Bytes]
is missing
|
note: function defined here
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/revm-interpreter-5.0.0/src/gas/calc.rs:356:8
|
356 | pub fn validate_initial_tx_gas(
| ^^^^^^^^^^^^^^^^^^^^^^^
help: provide the argument
|
39 | validate_initial_tx_gas(spec_id, input, kind.is_create(), access_list, /* &[alloy_primitives::Bytes] */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error[E0063]: missing fields eof_initcodes
and eof_initcodes_hashed
in initializer of TxEnv
--> /root/.cargo/git/checkouts/reth-36d3ea1d1152b20c/3b8cc06/crates/primitives/src/revm/env.rs:180:14
|
180 | env.tx = TxEnv {
| ^^^^^ missing eof_initcodes
and eof_initcodes_hashed
Some errors have detailed explanations: E0061, E0063.
For more information about an error, try rustc --explain E0061
.
error: could not compile reth-primitives
(lib) due to 2 previous errors
I used rust-1.77.1