Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cardano-api is not backward compatible #50

Open
mesudip opened this issue Aug 13, 2024 · 1 comment
Open

cardano-api is not backward compatible #50

mesudip opened this issue Aug 13, 2024 · 1 comment
Assignees

Comments

@mesudip
Copy link

mesudip commented Aug 13, 2024

Using latest code cardano-api-9.1, our code can-not connect to the node 8.9.4 at BabbageEra , even though it is supposed to be backward compatible.

Error Log

 Create Ref Script-buildAndSubmit : FrameworkError: ConnectionError: "
QueryEraHistory: DecoderFailure (LocalStateQuery HardForkBlock 
(': * ByronBlock (': * (ShelleyBlock (TPraos StandardCrypto) (ShelleyEra StandardCrypto)) 
(': * (ShelleyBlock (TPraos StandardCrypto) (AllegraEra StandardCrypto)) (': * 
(ShelleyBlock (TPraos StandardCrypto) (MaryEra StandardCrypto)) (': * 
(ShelleyBlock (TPraos StandardCrypto) (AlonzoEra StandardCrypto)) (': * 
(ShelleyBlock (Praos StandardCrypto) (BabbageEra StandardCrypto)) (': * 
(ShelleyBlock (Praos StandardCrypto) (ConwayEra StandardCrypto)) ('[] )))))))) 

Query (BlockQuery (HardForkBlock (': ByronBlock (': * 
(ShelleyBlock (TPraos StandardCrypto) (ShelleyEra StandardCrypto)) (': * 
(ShelleyBlock (TPraos StandardCrypto) (AllegraEra StandardCrypto)) (': * 
(ShelleyBlock (TPraos StandardCrypto) (MaryEra StandardCrypto)) (': * 
(ShelleyBlock (TPraos StandardCrypto) (AlonzoEra StandardCrypto)) (': * 
(ShelleyBlock (Praos StandardCrypto) (BabbageEra StandardCrypto)) (': * 
(ShelleyBlock (Praos StandardCrypto) (ConwayEra StandardCrypto)) ('[] *))))))))))) 
ServerAgency TokQuerying BlockQuery (QueryHardFork GetInterpreter)) 

(DeserialiseFailure 13 "Size mismatch when decoding EraParams.\nExpected 4, but found 3.")"

What is working ?

  • query utxos
  • query protocol params
  • query system start

What is not working?

  • query eraHistory
@spannercode
Copy link
Contributor

cardano-apisuggests to use the same version of the node which ships the same versoin of cardano-api. The latest cardano-api still seems to have an issue which is reported. No additional update on the issue from the Intersect team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants