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

starknet-core deserialization error #116

Closed
Trantorian1 opened this issue Feb 6, 2024 · 0 comments · Fixed by #117
Closed

starknet-core deserialization error #116

Trantorian1 opened this issue Feb 6, 2024 · 0 comments · Fixed by #117
Assignees
Labels
bug Something isn't working RPC RPC implementation related issues

Comments

@Trantorian1
Copy link
Member

Bug Report

Madara version: 954e2ba

Current behavior:

L2 Sync stops at block 1342 due to data did not match any variant of enum GatewayResponse from Starknet-rs.

Expected behavior:

L2 sync should be able to fetch blocks indefinitely.

Steps to reproduce:

Run L2 sync until block 1342.

Related code:

download_class in deoxys/crates/client/deoxys/src/l2.rs

let core_class = provider.get_class(BlockIdCore::Hash(block_hash), class_hash).await?;

Other information:

⚠️ Will need to update codebase to Starknet-rs v6 to benefit from this fix!

Issue is fixed as of commit c974e5c of Starknet-rs. This implies some significant refactoring due a large version mismatch with Deoxys.

@Trantorian1 Trantorian1 added bug Something isn't working RPC RPC implementation related issues labels Feb 6, 2024
@Trantorian1 Trantorian1 changed the title bug: starknet-core deserialization error Feb 7, 2024
@Trantorian1 Trantorian1 mentioned this issue Feb 7, 2024
antiyro added a commit that referenced this issue Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working RPC RPC implementation related issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants