hotfix: support eip4844 transaction(type3) (#26) #33
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (3)
raiko-host/src/prover/proof/cache.rs|41 col 9| error: manual implementation of Option::map
--> raiko-host/src/prover/proof/cache.rs:41:9
|
41 | / match inner_cache.get(cache_key) {
42 | | Some(entry) => Some(entry.proof.clone()),
43 | | None => None,
44 | | }
| |________^ help: try: inner_cache.get(cache_key).map(|entry| entry.proof.clone())
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map
= note: -D clippy::manual-map
implied by -D warnings
= help: to override -D warnings
add #[allow(clippy::manual_map)]
raiko-guest/src/ratls_server.rs|3 col 36| error: unused variable: args
--> raiko-guest/src/ratls_server.rs:3:36
|
3 | pub fn ratls_server(: GlobalOpts, args: ServerArgs) {
| ^^^^ help: if this is intentional, prefix it with an underscore: _args
|
= note: -D unused-variables
implied by -D warnings
= help: to override -D warnings
add #[allow(unused_variables)]
raiko-guest/src/one_shot.rs|73 col 58| error: to_string
applied to a type that implements Display
in format!
args
--> raiko-guest/src/one_shot.rs:73:58
|
73 | public_key: format!("0x{}", key_pair.public_key().to_string()),
| ^^^^^^^^^^^^ help: remove this
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args
= note: -D clippy::to-string-in-format-args
implied by -D warnings
= help: to override -D warnings
add #[allow(clippy::to_string_in_format_args)]