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

Ignore transaction deserialization error #75

Merged
merged 8 commits into from
Jan 3, 2025
Merged

Ignore transaction deserialization error #75

merged 8 commits into from
Jan 3, 2025

Conversation

pmikolajczyk41
Copy link
Member

@pmikolajczyk41 pmikolajczyk41 commented Jan 2, 2025

This PR to alloy-rs: alloy-rs/alloy#1613 ensures (during node's response deserialization) that an untagged transaction doesn't have 'type' property specified. While our local environment won't contain such, Testnet blocks contain untagged legacy txs with a type property.

To avoid being blocked on alloy 0.4.x, I have reworked a bit recovery code in CLI, so that we can ignore this kind of errors. Nightly should be fine again: https://github.com/Cardinal-Cryptography/zkOS-monorepo/actions/runs/12586018143

changes:

  1. bump alloy even more (to 0.9)
  2. rework fetching txs in recovery procedure

@pmikolajczyk41 pmikolajczyk41 mentioned this pull request Jan 2, 2025
Copy link

github-actions bot commented Jan 2, 2025

Transaction NameMainCurrentDifference (%)
NewAccountNative20003232000263-0.00300%
DepositNative18279061828002+0.00525%
WithdrawNative18981261898186+0.00316%

@pmikolajczyk41 pmikolajczyk41 merged commit 56627ce into main Jan 3, 2025
14 checks passed
@pmikolajczyk41 pmikolajczyk41 deleted the nightly branch January 3, 2025 09:30
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

Successfully merging this pull request may close these issues.

2 participants