Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Commit 3474e0d

Browse files
authored
Merge pull request #78 from input-output-hk/epoch-slot-no-fix
cardano-explorer-api: fix cbeSlot
2 parents 5a9c2be + 7d10609 commit 3474e0d

File tree

14 files changed

+89
-94
lines changed

14 files changed

+89
-94
lines changed

cabal.project

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ source-repository-package
5353
source-repository-package
5454
type: git
5555
location: https://github.com/input-output-hk/cardano-db-sync
56-
tag: fe1bcc55c857cbebbf331d81383fd6608f723fa1
57-
--sha256: 1n6fkxw1kzdzk728dp34h13rdiz4zb6dj5mn934nb3aqk4b27y5g
56+
tag: 7f9959c9a0746d44d331cffcf7abb0ef4f4fb948
57+
--sha256: 0yyqz0k4f3ma4w0wjxsjlnjikx9cha9k3cwz3ry6bar63a2s5n7g
5858
subdir: cardano-db
5959

6060
source-repository-package
6161
type: git
6262
location: https://github.com/input-output-hk/cardano-db-sync
63-
tag: fe1bcc55c857cbebbf331d81383fd6608f723fa1
64-
--sha256: 1n6fkxw1kzdzk728dp34h13rdiz4zb6dj5mn934nb3aqk4b27y5g
63+
tag: 7f9959c9a0746d44d331cffcf7abb0ef4f4fb948
64+
--sha256: 0yyqz0k4f3ma4w0wjxsjlnjikx9cha9k3cwz3ry6bar63a2s5n7g
6565
subdir: cardano-db-sync
6666

6767
source-repository-package
@@ -190,211 +190,211 @@ source-repository-package
190190
source-repository-package
191191
type: git
192192
location: https://github.com/input-output-hk/cardano-ledger-specs
193-
tag: 9dc2eab127849ad7b7cada13c6681dda540a88fe
194-
--sha256: 11wr66ckmwsa5x4pqb6c81s1wk3jprb8wc37ddbb2zg9ads3ba9k
193+
tag: 183a70c001587d9b1977541deae28c3e44713907
194+
--sha256: 15vhqa5vxn7xr1a93qf6wqi5h6c17h29mmd8is7z14ma08bl1baf
195195
subdir: byron/ledger/impl
196196

197197
source-repository-package
198198
type: git
199199
location: https://github.com/input-output-hk/cardano-ledger-specs
200-
tag: 9dc2eab127849ad7b7cada13c6681dda540a88fe
201-
--sha256: 11wr66ckmwsa5x4pqb6c81s1wk3jprb8wc37ddbb2zg9ads3ba9k
200+
tag: 183a70c001587d9b1977541deae28c3e44713907
201+
--sha256: 15vhqa5vxn7xr1a93qf6wqi5h6c17h29mmd8is7z14ma08bl1baf
202202
subdir: byron/crypto
203203

204204
source-repository-package
205205
type: git
206206
location: https://github.com/input-output-hk/cardano-ledger-specs
207-
tag: 9dc2eab127849ad7b7cada13c6681dda540a88fe
208-
--sha256: 11wr66ckmwsa5x4pqb6c81s1wk3jprb8wc37ddbb2zg9ads3ba9k
207+
tag: 183a70c001587d9b1977541deae28c3e44713907
208+
--sha256: 15vhqa5vxn7xr1a93qf6wqi5h6c17h29mmd8is7z14ma08bl1baf
209209
subdir: byron/ledger/impl/test
210210

211211
source-repository-package
212212
type: git
213213
location: https://github.com/input-output-hk/cardano-ledger-specs
214-
tag: 9dc2eab127849ad7b7cada13c6681dda540a88fe
215-
--sha256: 11wr66ckmwsa5x4pqb6c81s1wk3jprb8wc37ddbb2zg9ads3ba9k
214+
tag: 183a70c001587d9b1977541deae28c3e44713907
215+
--sha256: 15vhqa5vxn7xr1a93qf6wqi5h6c17h29mmd8is7z14ma08bl1baf
216216
subdir: byron/crypto/test
217217

218218
source-repository-package
219219
type: git
220220
location: https://github.com/input-output-hk/cardano-ledger-specs
221-
tag: 9dc2eab127849ad7b7cada13c6681dda540a88fe
222-
--sha256: 11wr66ckmwsa5x4pqb6c81s1wk3jprb8wc37ddbb2zg9ads3ba9k
221+
tag: 183a70c001587d9b1977541deae28c3e44713907
222+
--sha256: 15vhqa5vxn7xr1a93qf6wqi5h6c17h29mmd8is7z14ma08bl1baf
223223
subdir: byron/chain/executable-spec
224224

225225
source-repository-package
226226
type: git
227227
location: https://github.com/input-output-hk/cardano-ledger-specs
228-
tag: 9dc2eab127849ad7b7cada13c6681dda540a88fe
229-
--sha256: 11wr66ckmwsa5x4pqb6c81s1wk3jprb8wc37ddbb2zg9ads3ba9k
228+
tag: 183a70c001587d9b1977541deae28c3e44713907
229+
--sha256: 15vhqa5vxn7xr1a93qf6wqi5h6c17h29mmd8is7z14ma08bl1baf
230230
subdir: byron/ledger/executable-spec
231231

232232
source-repository-package
233233
type: git
234234
location: https://github.com/input-output-hk/cardano-ledger-specs
235-
tag: 9dc2eab127849ad7b7cada13c6681dda540a88fe
236-
--sha256: 11wr66ckmwsa5x4pqb6c81s1wk3jprb8wc37ddbb2zg9ads3ba9k
235+
tag: 183a70c001587d9b1977541deae28c3e44713907
236+
--sha256: 15vhqa5vxn7xr1a93qf6wqi5h6c17h29mmd8is7z14ma08bl1baf
237237
subdir: semantics/executable-spec
238238

239239
source-repository-package
240240
type: git
241241
location: https://github.com/input-output-hk/cardano-ledger-specs
242-
tag: 9dc2eab127849ad7b7cada13c6681dda540a88fe
243-
--sha256: 11wr66ckmwsa5x4pqb6c81s1wk3jprb8wc37ddbb2zg9ads3ba9k
242+
tag: 183a70c001587d9b1977541deae28c3e44713907
243+
--sha256: 15vhqa5vxn7xr1a93qf6wqi5h6c17h29mmd8is7z14ma08bl1baf
244244
subdir: semantics/small-steps-test
245245

246246
source-repository-package
247247
type: git
248248
location: https://github.com/input-output-hk/cardano-ledger-specs
249-
tag: 9dc2eab127849ad7b7cada13c6681dda540a88fe
250-
--sha256: 11wr66ckmwsa5x4pqb6c81s1wk3jprb8wc37ddbb2zg9ads3ba9k
249+
tag: 183a70c001587d9b1977541deae28c3e44713907
250+
--sha256: 15vhqa5vxn7xr1a93qf6wqi5h6c17h29mmd8is7z14ma08bl1baf
251251
subdir: shelley/chain-and-ledger/dependencies/non-integer
252252

253253
source-repository-package
254254
type: git
255255
location: https://github.com/input-output-hk/cardano-ledger-specs
256-
tag: 9dc2eab127849ad7b7cada13c6681dda540a88fe
257-
--sha256: 11wr66ckmwsa5x4pqb6c81s1wk3jprb8wc37ddbb2zg9ads3ba9k
256+
tag: 183a70c001587d9b1977541deae28c3e44713907
257+
--sha256: 15vhqa5vxn7xr1a93qf6wqi5h6c17h29mmd8is7z14ma08bl1baf
258258
subdir: shelley/chain-and-ledger/executable-spec
259259

260260
source-repository-package
261261
type: git
262262
location: https://github.com/input-output-hk/cardano-ledger-specs
263-
tag: 9dc2eab127849ad7b7cada13c6681dda540a88fe
264-
--sha256: 11wr66ckmwsa5x4pqb6c81s1wk3jprb8wc37ddbb2zg9ads3ba9k
263+
tag: 183a70c001587d9b1977541deae28c3e44713907
264+
--sha256: 15vhqa5vxn7xr1a93qf6wqi5h6c17h29mmd8is7z14ma08bl1baf
265265
subdir: shelley/chain-and-ledger/executable-spec/test
266266

267267
source-repository-package
268268
type: git
269269
location: https://github.com/input-output-hk/ouroboros-network
270-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
271-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
270+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
271+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
272272
subdir: cardano-client
273273

274274
source-repository-package
275275
type: git
276276
location: https://github.com/input-output-hk/ouroboros-network
277-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
278-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
277+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
278+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
279279
subdir: io-sim
280280

281281
source-repository-package
282282
type: git
283283
location: https://github.com/input-output-hk/ouroboros-network
284-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
285-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
284+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
285+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
286286
subdir: io-sim-classes
287287

288288
source-repository-package
289289
type: git
290290
location: https://github.com/input-output-hk/ouroboros-network
291-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
292-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
291+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
292+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
293293
subdir: network-mux
294294

295295
source-repository-package
296296
type: git
297297
location: https://github.com/input-output-hk/ouroboros-network
298-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
299-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
298+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
299+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
300300
subdir: Win32-network
301301

302302
source-repository-package
303303
type: git
304304
location: https://github.com/input-output-hk/ouroboros-network
305-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
306-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
305+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
306+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
307307
subdir: ouroboros-network
308308

309309
source-repository-package
310310
type: git
311311
location: https://github.com/input-output-hk/ouroboros-network
312-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
313-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
312+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
313+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
314314
subdir: ouroboros-network-framework
315315

316316
source-repository-package
317317
type: git
318318
location: https://github.com/input-output-hk/ouroboros-network
319-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
320-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
319+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
320+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
321321
subdir: ouroboros-network-testing
322322

323323
source-repository-package
324324
type: git
325325
location: https://github.com/input-output-hk/ouroboros-network
326-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
327-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
326+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
327+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
328328
subdir: ouroboros-consensus
329329

330330
source-repository-package
331331
type: git
332332
location: https://github.com/input-output-hk/ouroboros-network
333-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
334-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
333+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
334+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
335335
subdir: ouroboros-consensus/ouroboros-consensus-mock
336336

337337
source-repository-package
338338
type: git
339339
location: https://github.com/input-output-hk/ouroboros-network
340-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
341-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
340+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
341+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
342342
subdir: ouroboros-consensus/ouroboros-consensus-test-infra
343343

344344
source-repository-package
345345
type: git
346346
location: https://github.com/input-output-hk/ouroboros-network
347-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
348-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
347+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
348+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
349349
subdir: ouroboros-consensus-byron
350350

351351
source-repository-package
352352
type: git
353353
location: https://github.com/input-output-hk/ouroboros-network
354-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
355-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
354+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
355+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
356356
subdir: ouroboros-consensus-byronspec
357357

358358
source-repository-package
359359
type: git
360360
location: https://github.com/input-output-hk/ouroboros-network
361-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
362-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
361+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
362+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
363363
subdir: ouroboros-consensus-shelley
364364

365365
source-repository-package
366366
type: git
367367
location: https://github.com/input-output-hk/ouroboros-network
368-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
369-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
368+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
369+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
370370
subdir: ouroboros-consensus-cardano
371371

372372
source-repository-package
373373
type: git
374374
location: https://github.com/input-output-hk/ouroboros-network
375-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
376-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
375+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
376+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
377377
subdir: typed-protocols
378378

379379
source-repository-package
380380
type: git
381381
location: https://github.com/input-output-hk/ouroboros-network
382-
tag: fb473dca5880893d6070db2e2efc80d483ca930d
383-
--sha256: 1bkgjgvdbagqp4zsc10c53s0jparlmds05i927hshhnaz721730m
382+
tag: ec74d1c463b6d18bdca2b714abe730c1d237cc32
383+
--sha256: 0y0kpad63fppynhvyqva2mh44nbd4rbkrrvdc82zg6qcw8b5rm6p
384384
subdir: typed-protocols-examples
385385

386386
source-repository-package
387387
type: git
388388
location: https://github.com/input-output-hk/cardano-node
389-
tag: b218bca02d31f22407e586ec949c7d3637e8c1d3
390-
--sha256: 09xl8n91pg6k972if46nqdsg6hl8zny9h7563dc9aj6j17xanpcx
389+
tag: 3258fdbb2ce8c56ca175401630aa71d75a4d6ab2
390+
--sha256: 1la5nkw6nhfsc7izi28g39phfm4bnfza3srm49c16b9vgwqxl4wm
391391
subdir: cardano-api
392392

393393
source-repository-package
394394
type: git
395395
location: https://github.com/input-output-hk/cardano-node
396-
tag: b218bca02d31f22407e586ec949c7d3637e8c1d3
397-
--sha256: 09xl8n91pg6k972if46nqdsg6hl8zny9h7563dc9aj6j17xanpcx
396+
tag: 3258fdbb2ce8c56ca175401630aa71d75a4d6ab2
397+
--sha256: 1la5nkw6nhfsc7izi28g39phfm4bnfza3srm49c16b9vgwqxl4wm
398398
subdir: cardano-config
399399

400400
source-repository-package

explorer-api/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## 2.1.2 -- July 2020
3+
* Fix bug with cbeSlot (#77)
4+
* Update dependencies for compatibility with `cardano-db-sync` 3.1.0.
25

36
## 2.1.1 -- July 2020
47

explorer-api/cardano-explorer-api.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cabal-version: >= 1.10
33
-- http://haskell.org/cabal/users-guide/
44

55
name: cardano-explorer-api
6-
version: 2.1.1
6+
version: 2.1.2
77
synopsis: A Block Explorer for the Cardano network
88
description:
99
homepage: https://github.com/input-output-hk/cardano-explorer

explorer-api/src/Explorer/Web/Api/Legacy/BlocksPages.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import Explorer.Web.Api.Legacy
4040
import Explorer.Web.Api.Legacy.Types
4141
( PageNo (..), PageSize (..) )
4242
import Explorer.Web.Api.Legacy.Util
43-
( bsBase16Encode, slotsPerEpoch )
43+
( bsBase16Encode )
4444
import Explorer.Web.ClientTypes
4545
( CBlockEntry (..), CHash (..) )
4646
import Explorer.Web.Error
@@ -130,7 +130,7 @@ queryCBlockEntry (Entity blkId block, Value slHash) = do
130130
mkCBlockEntry xs =
131131
CBlockEntry
132132
{ cbeEpoch = fromMaybe 0 (blockEpochNo block)
133-
, cbeSlot = maybe 0 (\x -> fromIntegral $ x `mod` slotsPerEpoch) (blockSlotNo block)
133+
, cbeSlot = fromMaybe 0 (blockEpochSlotNo block)
134134
, cbeBlkHeight = maybe 0 fromIntegral $ blockBlockNo block
135135
, cbeBlkHash = CHash $ bsBase16Encode (blockHash block)
136136
, cbeTimeIssued = Just $ utcTimeToPOSIXSeconds (blockTime block)

explorer-api/src/Explorer/Web/Api/Legacy/EpochPage.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import Database.Persist.Sql
4848
import Explorer.Web.Api.Legacy.Types
4949
( PageNo (..) )
5050
import Explorer.Web.Api.Legacy.Util
51-
( bsBase16Encode, divRoundUp, slotsPerEpoch, textShow )
51+
( bsBase16Encode, divRoundUp, textShow )
5252
import Explorer.Web.ClientTypes
5353
( CBlockEntry (..), CHash (..) )
5454
import Explorer.Web.Error
@@ -105,7 +105,7 @@ queryEpochBlocks epoch epochBlocks (PageNo page) = do
105105
convert (Entity _ blk, Value slh, vmOutSum, vmFee) =
106106
CBlockEntry
107107
{ cbeEpoch = fromMaybe 0 (blockEpochNo blk)
108-
, cbeSlot = maybe 0 (\x -> fromIntegral $ x `mod` slotsPerEpoch) (blockSlotNo blk)
108+
, cbeSlot = fromMaybe 0 (blockEpochSlotNo blk)
109109
, cbeBlkHeight = maybe 0 fromIntegral (blockBlockNo blk)
110110
, cbeBlkHash = CHash $ bsBase16Encode (blockHash blk)
111111
, cbeTimeIssued = Just $ utcTimeToPOSIXSeconds (blockTime blk)

explorer-api/src/Explorer/Web/Api/Legacy/EpochSlot.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ queryBlockBySlotNo flatSlotNo = do
7676
convert (Entity blkId block, Value sl) =
7777
(blkId, CBlockEntry
7878
{ cbeEpoch = fromMaybe 0 $ blockEpochNo block
79-
, cbeSlot = maybe 0 unflattenSlotNo $ blockSlotNo block
79+
, cbeSlot = fromMaybe 0 (blockEpochSlotNo block)
8080
, cbeBlkHeight = maybe 0 fromIntegral $ blockBlockNo block
8181
, cbeBlkHash = CHash $ bsBase16Encode (blockHash block)
8282
, cbeTimeIssued = Just $ blockPosixTime block

explorer-api/src/Explorer/Web/Api/Legacy/TxsSummary.hs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,15 @@ txsSummary (CTxHash (CHash hashTxt)) =
7575
Nothing -> left $ Internal "tx not found" -- TODO, give the same error as before?
7676
Just (tx, blk, inputs, outputs) -> do
7777
case blockSlotNo blk of
78-
Just slotno -> do
79-
let (epoch, slot) = slotno `divMod` slotsPerEpoch
78+
Just _ -> do
8079
pure $ CTxSummary
8180
{ ctsId = CTxHash . CHash . bsBase16Encode $ txHash tx
8281
-- Tx timestamp is the same as block timestamp.
8382
, ctsTxTimeIssued = Just $ blockPosixTime blk
8483
, ctsBlockTimeIssued = Just $ blockPosixTime blk
8584
, ctsBlockHeight = fromIntegral <$> blockBlockNo blk
86-
, ctsBlockEpoch = Just epoch
87-
, ctsBlockSlot = Just $ fromIntegral slot
85+
, ctsBlockEpoch = blockEpochNo blk
86+
, ctsBlockSlot = blockEpochSlotNo blk
8887
, ctsBlockHash = Just . CHash $ bsBase16Encode (blockHash blk)
8988
, ctsRelayedBy = Nothing
9089
, ctsTotalInput = sum $ map ctaAmount inputs

0 commit comments

Comments
 (0)