Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAIL] Extend the test blockchain with a
Tx
that fails script valid…
…ation. This commit extends the 'ModelSpec' test blockchain (an excerpt of the real mainnet blockchain) with a transaction that is marked as having an invalid script. When processing this transaction, the wallet software should: - spend inputs within the 'collateralInputs' field (i.e., remove entries for "owned" inputs from the wallet's UTxO set) - create outputs within the 'collateralOutput' field (i.e., insert entries for "owned" outputs into the wallet's UTxO set) This commit causes the following test failure: ``` Cardano.Wallet.Primitive.Model Compare Wallet impl. with Specification applyBlock matches the basic model from the specification [x] Failures: test/unit/Cardano/Wallet/Primitive/ModelSpec.hs:221:9: 1) Cardano.Wallet.Primitive.Model, Compare Wallet impl. with Specification, applyBlock matches the basic model from the specification Falsified (after 3 tests and 1 shrink): WalletState { _ourAddresses = fromList [82d81858...aebb3709] , _discoveredAddresses = fromList [] } - input: 1st 39633666 output: address: 82d81858...aebb3709 coin: 3823755.953610 tokens: [] - input: 2nd 74782d63 output: address: 82d81858...aebb3709 coin: 19999.799999 tokens: [] /= [] ```
- Loading branch information