Closed WhatisRT closed 3 months ago
The following code produces the wrong output:
mkStakeDistrs : Snapshot → GovState → Deposits → (Credential ⇀ VDeleg) → StakeDistrs mkStakeDistrs ⟦ stake , _ ⟧ˢ govSt ds delegations .StakeDistrs.stakeDistr = aggregateBy (proj₁ delegations) (stake ∪⁺ gaDepositStake govSt ds)
There are at least two issues here:
Also, I don't know if this is caused by the same problem, but the spacing of that pattern is super weird.
The following code produces the wrong output:
There are at least two issues here:
Also, I don't know if this is caused by the same problem, but the spacing of that pattern is super weird.