feat(node): impl evm and eth #68
Annotations
2 errors
you should consider adding a `Default` implementation for `FrontierPrecompiles<R>`:
runtime/src/precompiles.rs#L17
error: you should consider adding a `Default` implementation for `FrontierPrecompiles<R>`
--> runtime/src/precompiles.rs:17:5
|
17 | / pub fn new() -> Self {
18 | | Self(Default::default())
19 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `-D clippy::new-without-default` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::new_without_default)]`
help: try adding this
|
13 + impl<R> Default for FrontierPrecompiles<R>
14 + where
15 + R: pallet_evm::Config,
16 + {
17 + fn default() -> Self {
18 + Self::new()
19 + }
20 + }
|
|
check
Clippy had exited with the 101 exit code
|