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

Crash on n2c for Cardano Testnet: chainsync loop failed BytesIndef #348

Closed
SebastienGllmt opened this issue Jul 1, 2022 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@SebastienGllmt
Copy link
Collaborator

SebastienGllmt commented Jul 1, 2022

block e1ef53d961b282f380544071136b17992d63859d1ba92e02f25884161886c1f1
slot 58613322

thread '<unnamed>' panicked at 'chainsync loop failed: DownstreamError(Error { err: TypeMismatch(BytesIndef), pos: Some(6783), msg: "expected bytes (definite length)" })', /Users/sebastienguillemot/.cargo/registry/src/github.com-1ecc6299db9ec823/oura-1.4.3/src/sources/n2c/setup.rs:106:18

Oura version: 1.4.3
Pallas version: 0.10.0
cardano-node version: 1.34.1

@SebastienGllmt SebastienGllmt added the bug Something isn't working label Jul 1, 2022
@scarmuega scarmuega self-assigned this Jul 2, 2022
@scarmuega
Copy link
Member

Fixed on txpipe/pallas#143 and released as pallas-primitives=0.10.1.

The issue was that the bytes variant of the plutus data struct accepts indef bytes (indef array of bytes) and the codec in Pallas wasn't supporting it.

Since it's a patch, downstream project should bump pallas-primitives to v0.10.1 by running cargo update -p pallas, change will only be reflected on the Cargo.lock file. I'll be doing a binary release of Oura to v1.4.4 but it won't have any effect on projects using Oura as a Cargo dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants