IntersectMBO / cardano-ledger

The ledger implementation and specifications of the Cardano blockchain.
Apache License 2.0
262 stars 155 forks source link

Don't return `ZeroTreasuryWithdrawals` failure during bootstrap #4646

Closed teodanciu closed 2 months ago

teodanciu commented 2 months ago

and run withdrawal tests for both bootstrap and post-bootstrap

While reviewing Aniket's PR, I realized that in my previous PR, i have changed the behavior of empty withdrawals happening during bootstrap, by returning an extra predicate failure, which breaks node-to-client protocol.

This PR is changing that, ensuring that during bootstrap the new predicate failure is omitted, and also makes sure that withdrawal tests are executing for both protocol versions of Conway, to make sure that the predicate failures during bootstrap are kept unchanged.

Description

Checklist