Plutonomicon / cardano-transaction-lib

A Purescript library for building smart contract transactions on Cardano
https://plutonomicon.github.io/cardano-transaction-lib/
MIT License
92 stars 50 forks source link

eraSummaries decoding error #1564

Closed sadMaxim closed 1 month ago

sadMaxim commented 9 months ago

I use last commit #1532 from develop branch. And I am getting error in eraSummaries:

Error: Failed to parse the result: An error occurred while decoding a JSON value:
  At object key 'start':
  At object key 'time':
  Expected value of type 'Number'.

I guess it is an issue with new Ogmios 6.0 format. Now "time":{"seconds":0} is an object , not a Number.

I tried it with docker image cardanosolutions/ogmios:v6.0.0-rc4 , but everything ok with ctl-runtime-ogmios