Add roundtrip test functions skipping comparison with FlatTerm-decoded #4866
+94
−15
Garnix CI / check ghc8107:cardano-ledger-shelley:test:tests [x86_64-linux]
succeeded
Feb 1, 2025 in 28m 13s
Run results
Build succeeded
Details
Last 100 lines of logs:
Predicate Failures
ShelleyDelegPredFailure ShelleyEra [✔] (153ms)
+++ OK, passed 100 tests.
ShelleyDelegsPredFailure ShelleyEra [✔] (192ms)
+++ OK, passed 100 tests.
ShelleyDelplPredFailure ShelleyEra [✔] (1ms)
+++ OK, passed 100 tests.
ShelleyLedgerPredFailure ShelleyEra [✔] (25ms)
+++ OK, passed 100 tests.
ShelleyLedgersPredFailure ShelleyEra [✔] (166ms)
+++ OK, passed 100 tests.
ShelleyPoolPredFailure ShelleyEra [✔] (104ms)
+++ OK, passed 100 tests.
ShelleyPpupPredFailure ShelleyEra [✔] (98ms)
+++ OK, passed 100 tests.
ShelleyUtxoPredFailure ShelleyEra [✔] (429ms)
+++ OK, passed 100 tests.
ShelleyUtxowPredFailure ShelleyEra [✔] (66ms)
+++ OK, passed 100 tests.
Non era parametric Shelley types
NominalDiffTimeMicro [✔] (8ms)
+++ OK, passed 100 tests.
ShelleyGenesisStaking [✔] (27008ms)
+++ OK, passed 100 tests.
ShelleyGenesis [✔] (1644ms)
+++ OK, passed 100 tests.
RewardUpdate [✔] (8081ms)
+++ OK, passed 100 tests.
RewardSnapShot [✔] (10279ms)
+++ OK, passed 100 tests.
FreeVars [✔] (20895ms)
+++ OK, passed 100 tests.
RewardPulser (ReaderT Globals Identity) RewardAns [✔] (74662ms)
+++ OK, passed 100 tests.
PulsingRewUpdate [✔] (45523ms)
+++ OK, passed 100 tests.
CDDL
Ruby-based
bootstrap_witness: Annotator BootstrapWitness [✔] (2051ms)
address: Addr [✔] (2007ms)
reward_account: RewardAccount [✔] (1946ms)
stake_credential: Credential 'Staking [✔] (2198ms)
transaction_body: Annotator (MemoBytes (ShelleyTxBodyRaw ShelleyEra)) [✔] (2082ms)
transaction_output: ShelleyTxOut ShelleyEra [✔] (3075ms)
relay: StakePoolRelay [✔] (3450ms)
certificate: ShelleyTxCert ShelleyEra [✔] (3497ms)
transaction_input: TxIn [✔] (3738ms)
transaction_metadata: Annotator (MemoBytes (ShelleyTxAuxDataRaw ShelleyEra)) [✔] (3679ms)
multisig_script: Annotator (MemoBytes (MultiSigRaw ShelleyEra)) [✔] (3820ms)
update: Update ShelleyEra [✔] (3707ms)
proposed_protocol_parameter_updates: Map (KeyHash 'Genesis) (PParamsUpdate ShelleyEra) [✔] (3726ms)
protocol_param_update: ShelleyPParams StrictMaybe ShelleyEra [✔] (3550ms)
transaction: Annotator (MemoBytes (ShelleyTxRaw ShelleyEra)) [✔] (3854ms)
Huddle
address: Addr [✔] (29ms)
bootstrap_witness: Annotator BootstrapWitness [✔] (151ms)
reward_account: RewardAccount [✔] (212ms)
stake_credential: Credential 'Staking [✔] (1ms)
transaction_body: Annotator (MemoBytes (ShelleyTxBodyRaw ShelleyEra)) [✔] (65ms)
transaction_output: ShelleyTxOut ShelleyEra [✔] (1ms)
relay: StakePoolRelay [✔] (1ms)
certificate: ShelleyTxCert ShelleyEra [✔] (156ms)
transaction_input: TxIn [✔]
transaction_metadata: Annotator (MemoBytes (ShelleyTxAuxDataRaw ShelleyEra)) [✔] (205ms)
multisig_script: Annotator (MemoBytes (MultiSigRaw ShelleyEra)) [✔] (53ms)
update: Update ShelleyEra [✔] (62ms)
proposed_protocol_parameter_updates: Map (KeyHash 'Genesis) (PParamsUpdate ShelleyEra) [✔] (498ms)
protocol_param_update: ShelleyPParams StrictMaybe ShelleyEra [✔] (144ms)
transaction: Annotator (MemoBytes (ShelleyTxRaw ShelleyEra)) [✔] (141ms)
transaction_witness_set: Annotator (MemoBytes (ShelleyTxWitsRaw ShelleyEra)) [✔] (149ms)
ShelleyImpSpec
LEDGER
Transactions update UTxO [✔] (2ms)
EPOCH
Runs basic transaction [✔] (54ms)
Crosses epoch boundaries [✔] (1087ms)
UTXOW
Bootstrap Witness
Valid Witnesses [✔] (1ms)
InvalidWitnessesUTXOW [✔] (1ms)
MissingVKeyWitnessesUTXOW [✔]
MissingScriptWitnessesUTXOW [✔]
MissingTxBodyMetadataHash [✔]
MissingTxMetadata [✔]
ConflictingMetadataHash [✔]
ExtraneousScriptWitnessesUTXOW [✔] (2ms)
UTXO
ShelleyUtxoPredFailure
ValueNotConservedUTxO [✔] (1ms)
ShelleyPureTests
StakeDistrIncludesRewards [✔] (7915ms)
+++ OK, passed 100 tests.
Shelley
RoundTrip JSON
PParams ShelleyEra [✔] (141ms)
+++ OK, passed 100 tests.
Finished in 369.4226 seconds
87 examples, 0 failures
buildPhase completed in 6 minutes 9 seconds
Loading