Home / KtorZ / cardano-ogmios
Oct 14, 6-7 AM (1)
Oct 14, 7-8 AM (0)
Oct 14, 8-9 AM (0)
Oct 14, 9-10 AM (0)
Oct 14, 10-11 AM (0)
Oct 14, 11-12 PM (0)
Oct 14, 12-1 PM (0)
Oct 14, 1-2 PM (0)
Oct 14, 2-3 PM (0)
Oct 14, 3-4 PM (2)
Oct 14, 4-5 PM (0)
Oct 14, 5-6 PM (0)
Oct 14, 6-7 PM (0)
Oct 14, 7-8 PM (0)
Oct 14, 8-9 PM (0)
Oct 14, 9-10 PM (0)
Oct 14, 10-11 PM (0)
Oct 14, 11-12 AM (0)
Oct 15, 12-1 AM (0)
Oct 15, 1-2 AM (0)
Oct 15, 2-3 AM (0)
Oct 15, 3-4 AM (0)
Oct 15, 4-5 AM (0)
Oct 15, 5-6 AM (0)
Oct 15, 6-7 AM (0)
Oct 15, 7-8 AM (0)
Oct 15, 8-9 AM (0)
Oct 15, 9-10 AM (0)
Oct 15, 10-11 AM (0)
Oct 15, 11-12 PM (0)
Oct 15, 12-1 PM (0)
Oct 15, 1-2 PM (0)
Oct 15, 2-3 PM (0)
Oct 15, 3-4 PM (0)
Oct 15, 4-5 PM (0)
Oct 15, 5-6 PM (0)
Oct 15, 6-7 PM (0)
Oct 15, 7-8 PM (0)
Oct 15, 8-9 PM (0)
Oct 15, 9-10 PM (0)
Oct 15, 10-11 PM (0)
Oct 15, 11-12 AM (0)
Oct 16, 12-1 AM (0)
Oct 16, 1-2 AM (0)
Oct 16, 2-3 AM (0)
Oct 16, 3-4 AM (0)
Oct 16, 4-5 AM (0)
Oct 16, 5-6 AM (0)
Oct 16, 6-7 AM (0)
Oct 16, 7-8 AM (0)
Oct 16, 8-9 AM (0)
Oct 16, 9-10 AM (0)
Oct 16, 10-11 AM (0)
Oct 16, 11-12 PM (0)
Oct 16, 12-1 PM (0)
Oct 16, 1-2 PM (0)
Oct 16, 2-3 PM (0)
Oct 16, 3-4 PM (0)
Oct 16, 4-5 PM (0)
Oct 16, 5-6 PM (0)
Oct 16, 6-7 PM (0)
Oct 16, 7-8 PM (0)
Oct 16, 8-9 PM (0)
Oct 16, 9-10 PM (0)
Oct 16, 10-11 PM (0)
Oct 16, 11-12 AM (0)
Oct 17, 12-1 AM (0)
Oct 17, 1-2 AM (0)
Oct 17, 2-3 AM (0)
Oct 17, 3-4 AM (0)
Oct 17, 4-5 AM (0)
Oct 17, 5-6 AM (0)
Oct 17, 6-7 AM (0)
Oct 17, 7-8 AM (0)
Oct 17, 8-9 AM (0)
Oct 17, 9-10 AM (0)
Oct 17, 10-11 AM (0)
Oct 17, 11-12 PM (0)
Oct 17, 12-1 PM (0)
Oct 17, 1-2 PM (0)
Oct 17, 2-3 PM (0)
Oct 17, 3-4 PM (0)
Oct 17, 4-5 PM (0)
Oct 17, 5-6 PM (0)
Oct 17, 6-7 PM (0)
Oct 17, 7-8 PM (0)
Oct 17, 8-9 PM (0)
Oct 17, 9-10 PM (0)
Oct 17, 10-11 PM (0)
Oct 17, 11-12 AM (0)
Oct 18, 12-1 AM (0)
Oct 18, 1-2 AM (0)
Oct 18, 2-3 AM (0)
Oct 18, 3-4 AM (0)
Oct 18, 4-5 AM (0)
Oct 18, 5-6 AM (0)
Oct 18, 6-7 AM (0)
Oct 18, 7-8 AM (0)
Oct 18, 8-9 AM (0)
Oct 18, 9-10 AM (0)
Oct 18, 10-11 AM (0)
Oct 18, 11-12 PM (0)
Oct 18, 12-1 PM (0)
Oct 18, 1-2 PM (0)
Oct 18, 2-3 PM (0)
Oct 18, 3-4 PM (0)
Oct 18, 4-5 PM (0)
Oct 18, 5-6 PM (0)
Oct 18, 6-7 PM (0)
Oct 18, 7-8 PM (0)
Oct 18, 8-9 PM (0)
Oct 18, 9-10 PM (0)
Oct 18, 10-11 PM (0)
Oct 18, 11-12 AM (0)
Oct 19, 12-1 AM (0)
Oct 19, 1-2 AM (0)
Oct 19, 2-3 AM (0)
Oct 19, 3-4 AM (0)
Oct 19, 4-5 AM (0)
Oct 19, 5-6 AM (0)
Oct 19, 6-7 AM (0)
Oct 19, 7-8 AM (0)
Oct 19, 8-9 AM (0)
Oct 19, 9-10 AM (0)
Oct 19, 10-11 AM (0)
Oct 19, 11-12 PM (0)
Oct 19, 12-1 PM (0)
Oct 19, 1-2 PM (0)
Oct 19, 2-3 PM (0)
Oct 19, 3-4 PM (0)
Oct 19, 4-5 PM (0)
Oct 19, 5-6 PM (0)
Oct 19, 6-7 PM (0)
Oct 19, 7-8 PM (0)
Oct 19, 8-9 PM (0)
Oct 19, 9-10 PM (0)
Oct 19, 10-11 PM (0)
Oct 19, 11-12 AM (0)
Oct 20, 12-1 AM (0)
Oct 20, 1-2 AM (0)
Oct 20, 2-3 AM (0)
Oct 20, 3-4 AM (1)
Oct 20, 4-5 AM (0)
Oct 20, 5-6 AM (1)
Oct 20, 6-7 AM (0)
Oct 20, 7-8 AM (0)
Oct 20, 8-9 AM (0)
Oct 20, 9-10 AM (0)
Oct 20, 10-11 AM (0)
Oct 20, 11-12 PM (2)
Oct 20, 12-1 PM (4)
Oct 20, 1-2 PM (0)
Oct 20, 2-3 PM (0)
Oct 20, 3-4 PM (0)
Oct 20, 4-5 PM (0)
Oct 20, 5-6 PM (0)
Oct 20, 6-7 PM (0)
Oct 20, 7-8 PM (0)
Oct 20, 8-9 PM (0)
Oct 20, 9-10 PM (0)
Oct 20, 10-11 PM (0)
Oct 20, 11-12 AM (0)
Oct 21, 12-1 AM (0)
Oct 21, 1-2 AM (0)
Oct 21, 2-3 AM (0)
Oct 21, 3-4 AM (0)
Oct 21, 4-5 AM (0)
Oct 21, 5-6 AM (0)
Oct 21, 6-7 AM (0)
10 commits this week Oct 14, 2021 - Oct 21, 2021
Make sure to always deserialise transactions in the latest era available
  Since transaction binary formats in Cardano are always forward-compatible, if we attempt to deserialise a Shelley transaction as an Alonzo transaction, it just works. Thus, it is sufficient to deserialise transactions to the latest era only.
  This change does however a little more as it makes sure that the compiler will raise a proper error when the latest era changes. This ensures that, on next updates, this part of the code won't be forgotten. For example, trying to deserialise a transaction as a Mary transaction, we now get:

  ```
  • Couldn't match type ‘AlonzoEra crypto’ with ‘MaryEra crypto’

    Expected type: GenTx (LatestEra (CardanoEras crypto)) -> GenTx (CardanoBlock crypto)
      Actual type: GenTx (ShelleyBlock (MaryEra crypto))  -> GenTx (CardanoBlock crypto)
  ```