Add support for relay-parent-offset. #332
Annotations
3 errors
|
fmt
Process completed with exit code 1.
|
|
clippy
Clippy had exited with the 101 exit code
|
|
unnecessary closure used to substitute value for `Result::Err`:
core/src/common/empty_block/production.rs#L238
error: unnecessary closure used to substitute value for `Result::Err`
--> core/src/common/empty_block/production.rs:238:5
|
238 | / dry_call::<u32, Block, HostFns>(
239 | | externalities,
240 | | executor,
241 | | "RelayParentOffsetApi_relay_parent_offset",
... |
245 | | 0
246 | | })
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#unnecessary_lazy_evaluations
= note: `-D clippy::unnecessary-lazy-evaluations` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_lazy_evaluations)]`
help: use `unwrap_or` instead
|
244 ~ .unwrap_or({
245 + 0
246 + })
|
|