Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Figure out how to get non-empty poolDistr from "random" SnapShots.
The test "Bruteforce = Pulsed, in every epoch, on traces of length 150"
Some times fails because at the epoch boundary because "There are no stakepools to choose an issuer from"
We set this up to discard, but occasionally we reach 150 discards and the test fails.
A lot of analysis discovers that in the random initial NewEpochState, the mark snapshot is not well formed, in that when ones computes the PoolDistr from such a snap shot, PoolDistr is empty.
The fix is to arrange random snapshots such that they never result in an empty PoolDistr. So we had to change the constraints for 'regPools' , 'incrementalStake', and 'delegations' so this never happens. In order to do that
we had to change the order we solve constraints, so that 'utxo' and 'incementalStake' are solved before 'delegations' . To do that we created a new Stage utxoStage, in the module Preds/UTxO.hs,
so we can see the UTxO when specifying the DState and PState.
Description
Checklist
.cabal
andCHANGELOG.md
files according to theversioning process.
.cabal
files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)CHANGELOG.md
for the affected packages. New section is never added with the code changes. (See RELEASING.md)fourmolu
(usescripts/fourmolize.sh
)scripts/cabal-format.sh
)hie.yaml
has been updated (usescripts/gen-hie.sh
)