-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat: bump alloy #12215
feat: bump alloy #12215
Conversation
0d76421
to
19072c7
Compare
9e1e4b9
to
7644d32
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow, this simplifies things a lot
// only include is_system_tx if true: <https://github.com/ethereum-optimism/op-geth/blob/641e996a2dcf1f81bac9416cb6124f86a69f1de7/internal/ethapi/api.go#L1518-L1518> | ||
is_system_tx: (signed_tx.is_deposit() && signed_tx.is_system_transaction()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah great, this is now solved directly via the field
pub fn from_primitive_storage_proof(proof: StorageProof) -> EIP1186StorageProof { | ||
EIP1186StorageProof { key: JsonStorageKey(proof.key), value: proof.value, proof: proof.proof } | ||
EIP1186StorageProof { | ||
key: JsonStorageKey::Hash(proof.key), | ||
value: proof.value, | ||
proof: proof.proof, | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idea for followup, should we move those alloy types into alloy-eips?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eip1186 mod might make sense, though this EIP is basically just RPC spec so probably would still be closer to RPC types
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Bumps alloy-core, alloy and op-alloy
Related PRs:
alloy-rs/op-alloy#205
alloy-rs/alloy#1540
alloy-rs/core#796