Skip to content

update

update #2101

Triggered via push May 9, 2024 21:28
Status Cancelled
Total duration 6m 29s
Artifacts

base_checks.yaml

on: push
compile-and-check
54s
compile-and-check
Fit to window
Zoom out
Zoom in

Annotations

3 errors
`match` arms have incompatible types: pallets/dapp-staking-v3/src/lib.rs#L1919
error[E0308]: `match` arms have incompatible types --> pallets/dapp-staking-v3/src/lib.rs:1919:50 | 1912 | let (dapp_tier_rewards, counter, rank_rewards) = match tier_assignment { | --------------------- `match` arms have incompatible types 1913 | TierAssignment::Real => Self::get_dapp_tier_assignment_and_rewards( | _________________________________________________- 1914 | | current_era, 1915 | | protocol_state.period_number(), 1916 | | dapp_reward_pool, 1917 | | ), | |_________________________- this is found to be of type `(types::DAppTierRewards<<T as pallet::Config>::MaxNumberOfContracts, <T as pallet::Config>::NumberOfTiers>, u16, frame_support::BoundedVec<u128, <T as pallet::Config>::NumberOfTiers>)` 1918 | #[cfg(feature = "runtime-benchmarks")] 1919 | TierAssignment::Dummy => (DAppTierRewardsFor::<T>::default(), 0), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected a tuple with 3 elements, found one with 2 elements | = note: expected tuple `(DAppTierRewards<<T as Config>::MaxNumberOfContracts, <T as Config>::NumberOfTiers>, u16, ...)` found tuple `(types::DAppTierRewards<<T as pallet::Config>::MaxNumberOfContracts, <T as pallet::Config>::NumberOfTiers>, {integer})`
compile-and-check
Canceling since a higher priority waiting request for 'Base checks-refs/heads/feat/rank-dapps' exists
compile-and-check
The operation was canceled.