virtual-staking: Add tests for validator withdrawal and rebalance #450
basic.yml
on: pull_request
Test Suite
4m 8s
Lints
1m 5s
Annotations
6 errors and 25 warnings
Lints:
contracts/consumer/virtual-staking/src/contract.rs#L536
unused variable: `bond_status`
|
Lints:
contracts/consumer/virtual-staking/src/contract.rs#L743
variable does not need to be mutable
|
Lints:
contracts/consumer/virtual-staking/src/contract.rs#L501
method `update` is never used
|
Lints:
contracts/consumer/virtual-staking/src/contract.rs#L759
methods `assert_noop`, `bonded`, `unbonded`, `assert_bond`, and `assert_unbond` are never used
|
Lints
could not compile `mesh-virtual-staking` (lib test) due to 4 previous errors
|
Lints
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Lints
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Suite
output filename collision.
|
Test Suite
output filename collision.
|
Test Suite
output filename collision.
|
Test Suite
output filename collision.
|
Test Suite
output filename collision.
|
Test Suite
output filename collision.
|
Test Suite
output filename collision.
|
Test Suite
output filename collision.
|
Test Suite
output filename collision.
|
Test Suite
output filename collision.
|
Test Suite:
contracts/consumer/virtual-staking/src/contract.rs#L536
unused variable: `bond_status`
|
Test Suite:
contracts/consumer/virtual-staking/src/contract.rs#L743
variable does not need to be mutable
|
Test Suite:
contracts/consumer/virtual-staking/src/contract.rs#L501
method `update` is never used
|
Test Suite:
contracts/consumer/virtual-staking/src/contract.rs#L759
methods `assert_noop`, `bonded`, `unbonded`, `assert_bond`, and `assert_unbond` are never used
|
Test Suite
`mesh-virtual-staking` (lib test) generated 4 warnings (run `cargo fix --lib -p mesh-virtual-staking --tests` to apply 2 suggestions)
|