-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MockChain only includes valid transactions into blocks
As also commented on the scriptLedger, the mock chain should be dropping transactions that are not valid to emulate a cardano-node mempool As we are checking transactions now on submission and fail there, this is not really needed, but it is more consistent to include only transactions in the mock chain "blocks" which were valid at time of evaluation. This is especially important should we switch to a real cardano ledger which checks validity ranges.
- Loading branch information
Showing
2 changed files
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters