Skip to content

Commit f68bd41

Browse files
committed
Remove crs from Snapshot
1 parent d3200fc commit f68bd41

32 files changed

+61
-148
lines changed

hydra-cluster/test/Test/BlockfrostChainSpec.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ spec = around (onlyWithBlockfrostProjectFile . showLogsOnFailure "BlockfrostChai
118118
, utxoToDecommit = Nothing
119119
, version = snapshotVersion
120120
, accumulator
121-
, crs = ""
122121
}
123122

124123
postTx $ CloseTx headId headParameters snapshotVersion (ConfirmedSnapshot{snapshot, signatures = aggregate [sign aliceSk snapshot]})

hydra-cluster/test/Test/DirectChainSpec.hs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ spec = around (showLogsOnFailure "DirectChainSpec") $ do
317317
utxoToCommitHash = hashUTxO someUTxOToCommit
318318
utxoToDecommitHash = hashUTxO @Tx mempty
319319
accumulator = Accumulator.build [utxoHash, utxoToCommitHash, utxoToDecommitHash]
320-
crs = ""
321320
let snapshot =
322321
Snapshot
323322
{ headId
@@ -328,7 +327,6 @@ spec = around (showLogsOnFailure "DirectChainSpec") $ do
328327
, utxoToDecommit = Nothing
329328
, version = snapshotVersion
330329
, accumulator
331-
, crs
332330
}
333331

334332
postTx $ CloseTx headId headParameters snapshotVersion (ConfirmedSnapshot{snapshot, signatures = aggregate [sign aliceSk snapshot]})
@@ -471,7 +469,6 @@ spec = around (showLogsOnFailure "DirectChainSpec") $ do
471469
utxoToCommitHash = hashUTxO @Tx mempty
472470
utxoToDecommitHash = hashUTxO toDecommit
473471
accumulator = Accumulator.build [utxoHash, utxoToCommitHash, utxoToDecommitHash]
474-
crs = ""
475472
let snapshot1 =
476473
Snapshot
477474
{ headId
@@ -482,7 +479,6 @@ spec = around (showLogsOnFailure "DirectChainSpec") $ do
482479
, utxoToDecommit = Just toDecommit
483480
, version = 0
484481
, accumulator
485-
, crs
486482
}
487483
postTx $
488484
ContestTx
@@ -508,7 +504,6 @@ spec = around (showLogsOnFailure "DirectChainSpec") $ do
508504
, utxoToDecommit = Just toDecommit
509505
, version = 1
510506
, accumulator
511-
, crs
512507
}
513508
let contestAgain =
514509
postTx $

hydra-node/golden/ReasonablySized (HeadState (Tx ConwayEra)).json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,8 +1065,7 @@
10651065
}
10661066
},
10671067
"version": 0,
1068-
"accumulator": "",
1069-
"crs": ""
1068+
"accumulator": ""
10701069
},
10711070
"tag": "ConfirmedSnapshot"
10721071
},
@@ -2342,8 +2341,7 @@
23422341
}
23432342
},
23442343
"version": 0,
2345-
"accumulator": "",
2346-
"crs": ""
2344+
"accumulator": ""
23472345
},
23482346
"tag": "ConfirmedSnapshot"
23492347
},
@@ -3264,7 +3262,6 @@
32643262
},
32653263
"version": 0,
32663264
"accumulator": "",
3267-
"crs": ""
32683265
},
32693266
"tag": "ConfirmedSnapshot"
32703267
},

hydra-node/golden/ReasonablySized (NodeState (Tx ConwayEra)).json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3604,8 +3604,7 @@
36043604
}
36053605
},
36063606
"version": 0,
3607-
"accumulator": "",
3608-
"crs": ""
3607+
"accumulator": ""
36093608
},
36103609
"tag": "ConfirmedSnapshot"
36113610
},
@@ -5800,8 +5799,7 @@
58005799
},
58015800
"utxoToDecommit": null,
58025801
"version": 0,
5803-
"accumulator": "",
5804-
"crs": ""
5802+
"accumulator": ""
58055803
},
58065804
"tag": "ConfirmedSnapshot"
58075805
},

hydra-node/golden/ReasonablySized (SideLoadSnapshotRequest (Tx ConwayEra)).json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"type": "Tx ConwayEra"
4040
}
4141
],
42-
"crs": "",
4342
"headId": "03050307050504050301030500050805",
4443
"number": 5,
4544
"utxo": {
@@ -493,7 +492,6 @@
493492
"type": "Tx ConwayEra"
494493
}
495494
],
496-
"crs": "",
497495
"headId": "02020000040003070501050605060201",
498496
"number": 1,
499497
"utxo": {
@@ -584,7 +582,6 @@
584582
"type": "Tx ConwayEra"
585583
}
586584
],
587-
"crs": "",
588585
"headId": "02030204070104010605070303070503",
589586
"number": 5,
590587
"utxo": {

hydra-node/golden/ServerOutput/EventLogRotated.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"snapshot": {
3737
"accumulator": "a358203549689c9d5ed49e7a277dca4b109da4f84378e6a60db35738b83f25b763be5282581ce86b83bd2286f8328a0c7fd6d71287c60c9a3088e32bd6b3cd1650d6015820965117108658f1486f49e510eecd512e1a903f7da456db0109aeed5b0d5020ad82581c8f5d7a6d1bd99b848ad9d333b77e2001f37dc57870b617cc36e6ed12015820b080f6360d7112198d1361587062802c457bdadadd5111a5d90107b59c3110d882581c5deb3285c35486118c08665545e3be799704176a98799f006094b70c01",
3838
"confirmed": [],
39-
"crs": "",
4039
"headId": "01000101010000010100000001000101",
4140
"number": 1,
4241
"utxo": {

hydra-node/golden/ServerOutput/SnapshotConfirmed.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"type": "Tx ConwayEra"
1616
}
1717
],
18-
"crs": "",
1918
"headId": "00010100010101000000010100000001",
2019
"number": 0,
2120
"utxo": {},

hydra-node/golden/StateChanged/Checkpoint.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"snapshot": {
4242
"accumulator": "a358202a4e95de1d1ecb0f37b0dc29a5b89d219f825d200440a85f697f63290c27a98c82581c0f999a888e545ba93f8c786f4c1d3958d766f9a4b87d54dd4593daad015820c58e76e90fd82e8fba12e3dfa21c0758d714a3c38398113ef13671f0684bba9882581cf14eb5a48b5e4c193cabe1968eebc34359fe25c841a81472584d7131015820cfc8b15b762f30ba4ead0a622fa4de7163b45b1f00f7a4316cf8a037a6f4e23982581c084ea703b078cc4969ddae5d062f4f59d5235fca444cb370ddef48a401",
4343
"confirmed": [],
44-
"crs": "",
4544
"headId": "00010101010100010001010001000101",
4645
"number": 2,
4746
"utxo": {

hydra-node/golden/StateChanged/PartySignedSnapshot.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"type": "Tx ConwayEra"
1616
}
1717
],
18-
"crs": "",
1918
"headId": "00000100010100000100010101000001",
2019
"number": 1,
2120
"utxo": {

hydra-node/golden/StateChanged/SnapshotConfirmed.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"snapshot": {
99
"accumulator": "a15820e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85582581c4985010f294802e79bc74861e757dfc8302c944e807306db896e2c5a03",
1010
"confirmed": [],
11-
"crs": "",
1211
"headId": "00010000000001010001000101010101",
1312
"number": 0,
1413
"utxo": {},

0 commit comments

Comments
 (0)