feat(compliance): add spec compliance for EREP-10 and STO-040/041 #490
Annotations
6 errors and 1 warning
the `Err`-variant returned from this function is very large:
crates/rpc/src/eth/api.rs#L488
error: the `Err`-variant returned from this function is very large
--> crates/rpc/src/eth/api.rs:488:10
|
488 | ) -> EthResult<Option<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: crates/rpc/src/eth/error.rs:89:5
|
89 | StakeTooLow(StakeTooLowData),
| ---------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `eth::error::EthRpcError`, for example by boxing large elements or replacing it with `Box<eth::error::EthRpcError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
crates/rpc/src/eth/api.rs#L451
error: the `Err`-variant returned from this function is very large
--> crates/rpc/src/eth/api.rs:451:10
|
451 | ) -> EthResult<Vec<Log>> {
| ^^^^^^^^^^^^^^^^^^^
|
::: crates/rpc/src/eth/error.rs:89:5
|
89 | StakeTooLow(StakeTooLowData),
| ---------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `eth::error::EthRpcError`, for example by boxing large elements or replacing it with `Box<eth::error::EthRpcError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
crates/rpc/src/eth/api.rs#L431
error: the `Err`-variant returned from this function is very large
--> crates/rpc/src/eth/api.rs:431:56
|
431 | fn decode_user_operation_event(&self, log: Log) -> EthResult<UserOperationEventFilter> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: crates/rpc/src/eth/error.rs:89:5
|
89 | StakeTooLow(StakeTooLowData),
| ---------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `eth::error::EthRpcError`, for example by boxing large elements or replacing it with `Box<eth::error::EthRpcError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `-D clippy::result-large-err` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::result_large_err)]`
|
the `Err`-variant returned from this function is very large:
crates/rpc/src/eth/api.rs#L488
error: the `Err`-variant returned from this function is very large
--> crates/rpc/src/eth/api.rs:488:10
|
488 | ) -> EthResult<Option<String>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: crates/rpc/src/eth/error.rs:89:5
|
89 | StakeTooLow(StakeTooLowData),
| ---------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `eth::error::EthRpcError`, for example by boxing large elements or replacing it with `Box<eth::error::EthRpcError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
crates/rpc/src/eth/api.rs#L451
error: the `Err`-variant returned from this function is very large
--> crates/rpc/src/eth/api.rs:451:10
|
451 | ) -> EthResult<Vec<Log>> {
| ^^^^^^^^^^^^^^^^^^^
|
::: crates/rpc/src/eth/error.rs:89:5
|
89 | StakeTooLow(StakeTooLowData),
| ---------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `eth::error::EthRpcError`, for example by boxing large elements or replacing it with `Box<eth::error::EthRpcError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
crates/rpc/src/eth/api.rs#L431
error: the `Err`-variant returned from this function is very large
--> crates/rpc/src/eth/api.rs:431:56
|
431 | fn decode_user_operation_event(&self, log: Log) -> EthResult<UserOperationEventFilter> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: crates/rpc/src/eth/error.rs:89:5
|
89 | StakeTooLow(StakeTooLowData),
| ---------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `eth::error::EthRpcError`, for example by boxing large elements or replacing it with `Box<eth::error::EthRpcError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `-D clippy::result-large-err` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::result_large_err)]`
|
unit-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, foundry-rs/foundry-toolchain@v1, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|