Skip to content

Commit 5b54a15

Browse files
committed
Fix tc error
1 parent a3e5ffb commit 5b54a15

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/Ledger/Conway/Specification/Epoch/Properties/ExpiredDReps.agda

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,16 @@ module VDelegDelegatedStake-≈
489489
calculate : vds.calculate ≡ᵐ vds'.calculate
490490
calculate = mapFromFun-cong _ activeVDelegs
491491

492+
opaque
493+
unfolding calculateVDelegDelegatedStake
494+
495+
calculateVDelegDelegatedStake-≈
496+
: (e : Epoch) (utxoSt : UTxOState) (govSt : GovState)
497+
{gState gState' : GState} (gState≈gState' : GState-[ e ] gState ≈ gState')
498+
(dState : DState)
499+
calculateVDelegDelegatedStake e utxoSt govSt gState dState ≡ᵐ calculateVDelegDelegatedStake e utxoSt govSt gState' dState
500+
calculateVDelegDelegatedStake-≈ e utxoSt govSt gState≈gState' dState = VDelegDelegatedStake-≈.calculate e utxoSt govSt gState≈gState' dState
501+
492502
module mkStakeDistrs {s s' : Snapshot} {utxoSt utxoSt' : UTxOState} {govSt govSt' : GovState} {gState gState' : GState} {dState dState' : DState}
493503
where
494504

@@ -498,7 +508,7 @@ module mkStakeDistrs {s s' : Snapshot} {utxoSt utxoSt' : UTxOState} {govSt govSt
498508
cong refl e refl refl gState≈gState' refl = record { R }
499509
where
500510
module R where
501-
stakeDistrVDeleg = VDelegDelegatedStake-≈.calculate e utxoSt govSt gState≈gState' dState
511+
stakeDistrVDeleg = calculateVDelegDelegatedStake-≈ e utxoSt govSt gState≈gState' dState
502512
stakeDistrPools = refl
503513

504514
module EPOCH {epSt epSt' : EpochState} (e : Epoch) (epSt≈epSt' : EpochState-[ e ] epSt ≈ epSt') where

0 commit comments

Comments
 (0)