Skip to content

feat(network): add Hoodi testnet support #134

feat(network): add Hoodi testnet support

feat(network): add Hoodi testnet support #134

Triggered via pull request July 2, 2025 17:28
Status Success
Total duration 2m 3s
Artifacts

ci.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
variables can be used directly in the `format!` string: src/utils/web3.rs#L36
warning: variables can be used directly in the `format!` string --> src/utils/web3.rs:36:5 | 36 | format!("0x{:x}", hash) | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 36 - format!("0x{:x}", hash) 36 + format!("0x{hash:x}") |
variables can be used directly in the `format!` string: src/utils/banner.rs#L123
warning: variables can be used directly in the `format!` string --> src/utils/banner.rs:123:9 | 123 | println!("Sentry DSN: {}", sentry_dsn); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 123 - println!("Sentry DSN: {}", sentry_dsn); 123 + println!("Sentry DSN: {sentry_dsn}"); |
variables can be used directly in the `format!` string: src/utils/banner.rs#L89
warning: variables can be used directly in the `format!` string --> src/utils/banner.rs:89:9 | 89 | println!("Slots checkpoint size: {}", slots_per_save); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 89 - println!("Slots checkpoint size: {}", slots_per_save); 89 + println!("Slots checkpoint size: {slots_per_save}"); |
variables can be used directly in the `format!` string: src/utils/banner.rs#L83
warning: variables can be used directly in the `format!` string --> src/utils/banner.rs:83:9 | 83 | println!("Number of threads: {}", num_threads); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 83 - println!("Number of threads: {}", num_threads); 83 + println!("Number of threads: {num_threads}"); |
variables can be used directly in the `format!` string: src/synchronizer/error.rs#L32
warning: variables can be used directly in the `format!` string --> src/synchronizer/error.rs:32:13 | 32 | writeln!(f, "- {}", err)?; | ^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 32 - writeln!(f, "- {}", err)?; 32 + writeln!(f, "- {err}")?; |
the `Err`-variant returned from this function is very large: src/indexer/mod.rs#L40
warning: the `Err`-variant returned from this function is very large --> src/indexer/mod.rs:40:55 | 40 | pub fn try_new(env: &Environment, args: &Args) -> IndexerResult<Self> { | ^^^^^^^^^^^^^^^^^^^ | ::: src/indexer/error.rs:17:5 | 17 | SyncingTaskError(#[from] IndexingError), | --------------------------------------- the largest variant contains at least 192 bytes ... 21 | SyncingTaskMessageSendFailure(#[from] SendError<IndexerTaskMessage>), | -------------------------------------------------------------------- the variant `SyncingTaskMessageSendFailure` contains at least 192 bytes | = help: try reducing the size of `indexer::error::IndexerError`, for example by boxing large elements or replacing it with `Box<indexer::error::IndexerError>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err = note: `#[warn(clippy::result_large_err)]` on by default
variables can be used directly in the `format!` string: src/clients/blobscan/mod.rs#L101
warning: variables can be used directly in the `format!` string --> src/clients/blobscan/mod.rs:101:39 | 101 | let url = self.base_url.join(&format!("slots/{}", slot))?; | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 101 - let url = self.base_url.join(&format!("slots/{}", slot))?; 101 + let url = self.base_url.join(&format!("slots/{slot}"))?; |
variables can be used directly in the `format!` string: src/clients/beacon/types.rs#L144
warning: variables can be used directly in the `format!` string --> src/clients/beacon/types.rs:144:36 | 144 | BlockId::Hash(hash) => write!(f, "{}", hash), | ^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 144 - BlockId::Hash(hash) => write!(f, "{}", hash), 144 + BlockId::Hash(hash) => write!(f, "{hash}"), |
variables can be used directly in the `format!` string: src/clients/beacon/types.rs#L143
warning: variables can be used directly in the `format!` string --> src/clients/beacon/types.rs:143:36 | 143 | BlockId::Slot(slot) => write!(f, "{}", slot), | ^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 143 - BlockId::Slot(slot) => write!(f, "{}", slot), 143 + BlockId::Slot(slot) => write!(f, "{slot}"), |
variables can be used directly in the `format!` string: src/clients/beacon/types.rs#L133
warning: variables can be used directly in the `format!` string --> src/clients/beacon/types.rs:133:36 | 133 | BlockId::Hash(hash) => format!("0x{:x}", hash), | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args = note: `#[warn(clippy::uninlined_format_args)]` on by default help: change this to | 133 - BlockId::Hash(hash) => format!("0x{:x}", hash), 133 + BlockId::Hash(hash) => format!("0x{hash:x}"), |