Skip to content

Integration

Integration #1904

GitHub Actions / clippy failed Feb 7, 2024 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.69.0 (84c898d65 2023-04-16)
  • cargo 1.69.0 (6e9a83356 2023-04-12)
  • clippy 0.1.69 (84c898d 2023-04-16)

Annotations

Check failure on line 113 in bin/collator/src/parachain/chain_spec/astar.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

struct `astar_runtime::GenesisConfig` has no field named `block_reward`

error[E0560]: struct `astar_runtime::GenesisConfig` has no field named `block_reward`
   --> bin/collator/src/parachain/chain_spec/astar.rs:113:9
    |
113 |         block_reward: BlockRewardConfig {
    |         ^^^^^^^^^^^^ `astar_runtime::GenesisConfig` does not have this field
    |
    = note: available fields are: `system`, `parachain_system`, `parachain_info`, `transaction_payment`, `balances` ... and 12 others

Check failure on line 22 in bin/collator/src/parachain/chain_spec/astar.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved imports `astar_runtime::BlockRewardConfig`, `astar_runtime::RewardDistributionConfig`

error[E0432]: unresolved imports `astar_runtime::BlockRewardConfig`, `astar_runtime::RewardDistributionConfig`
  --> bin/collator/src/parachain/chain_spec/astar.rs:22:53
   |
22 |     wasm_binary_unwrap, AccountId, AuraId, Balance, BlockRewardConfig, EVMConfig,
   |                                                     ^^^^^^^^^^^^^^^^^ no `BlockRewardConfig` in the root
23 |     ParachainInfoConfig, Precompiles, RewardDistributionConfig, Signature, SystemConfig, ASTR,
   |                                       ^^^^^^^^^^^^^^^^^^^^^^^^ no `RewardDistributionConfig` in the root
   |
   = help: consider importing this type alias instead:
           local_runtime::BlockRewardConfig
   = help: consider importing this struct instead:
           local_runtime::RewardDistributionConfig