fee-sweeper: Ingest latest changes from base repo #3
Annotations
5 errors and 2 warnings
function `build_auth_headers` is never used:
fee-sweeper/src/relayer_client.rs#L232
error: function `build_auth_headers` is never used
--> fee-sweeper/src/relayer_client.rs:232:4
|
232 | fn build_auth_headers(key: &SecretSigningKey, req_bytes: &[u8]) -> Result<HeaderMap, String> {
| ^^^^^^^^^^^^^^^^^^
|
methods `post_relayer_with_auth` and `get_relayer_with_auth` are never used:
fee-sweeper/src/relayer_client.rs#L96
error: methods `post_relayer_with_auth` and `get_relayer_with_auth` are never used
--> fee-sweeper/src/relayer_client.rs:96:14
|
37 | impl RelayerClient {
| ------------------ methods in this implementation
...
96 | async fn post_relayer_with_auth<Req, Resp>(
| ^^^^^^^^^^^^^^^^^^^^^^
...
153 | async fn get_relayer_with_auth<Resp>(
| ^^^^^^^^^^^^^^^^^^^^^
|
constant `SIG_EXPIRATION_BUFFER_MS` is never used:
fee-sweeper/src/relayer_client.rs#L27
error: constant `SIG_EXPIRATION_BUFFER_MS` is never used
--> fee-sweeper/src/relayer_client.rs:27:7
|
27 | const SIG_EXPIRATION_BUFFER_MS: u64 = 5000;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
fields `tx_hash` and `value` are never read:
fee-sweeper/src/indexer/queries.rs#L53
error: fields `tx_hash` and `value` are never read
--> fee-sweeper/src/indexer/queries.rs:53:9
|
50 | pub(crate) struct FeeValue {
| -------- fields in this struct
...
53 | pub tx_hash: String,
| ^^^^^^^
...
59 | pub value: BigDecimal,
| ^^^^^
|
= note: `FeeValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
clippy-check
Clippy had exited with the 101 exit code
|
clippy-check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: arduino/setup-protoc@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|