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

fix: require storageKeys value broken bincode serialization from #955 #1058

Merged
merged 6 commits into from
Jul 16, 2024

Conversation

jtguibas
Copy link
Contributor

Fixes bincode serialization issues from #955.

Motivation

Bincode is a common crate used for efficient serialization/deserialization in the Rust ecosystem.

Solution

Removes deserialize_with = "alloy_serde::null_as_default".

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

crates/serde/src/optional.rs Outdated Show resolved Hide resolved
crates/eips/src/eip2930.rs Show resolved Hide resolved
@mattsse mattsse changed the title fix: broken bincode serialization from #955 fix: require storageKeys value broken bincode serialization from #955 Jul 16, 2024
@mattsse mattsse merged commit 1d0c81d into alloy-rs:main Jul 16, 2024
22 checks passed
ben186 pushed a commit to ben186/alloy that referenced this pull request Jul 27, 2024
…y-rs#955 (alloy-rs#1058)

* fix: broken bincode serialization from alloy-rs#955

* remove optional in alloy-serde

* resolve matt's comments

* get rid of broken test

* fix cargo fmt

* enforce storage key

---------

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
j75689 pushed a commit to bnb-chain/alloy that referenced this pull request Aug 1, 2024
…y-rs#955 (alloy-rs#1058)

* fix: broken bincode serialization from alloy-rs#955

* remove optional in alloy-serde

* resolve matt's comments

* get rid of broken test

* fix cargo fmt

* enforce storage key

---------

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
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