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

chore: merge with upstream v0.3.0 #8

Merged
merged 115 commits into from
Sep 18, 2024
Merged

chore: merge with upstream v0.3.0 #8

merged 115 commits into from
Sep 18, 2024

Conversation

pythonberg1997
Copy link

Motivation

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

mattsse and others added 30 commits July 9, 2024 14:25
* Implement Rpc namespace

* Review comment

* Dependency fix

---------

Co-authored-by: Mikhail Sozin <mikhail.sozin@chainstack.com>
* chore: add failing test

* fix(eip7702): Add correct rlp decode/encode

* clippy fmt

* fmt

* can be const
* feat(genesis): rm eip150_hash

Signed-off-by: jsvisa <delweng@gmail.com>

* fix testcase

Signed-off-by: jsvisa <delweng@gmail.com>

---------

Signed-off-by: jsvisa <delweng@gmail.com>
* feat: add arbitrary to auth

* cant use cfg because k256 can be enabled on workspace level

* use macro and share fn
)

* chore: remove proptest in most crates and Arbitrary derives

* cargo fmt

rewriting static

* remove other proptest derive

* remove the rest of the proptest impls

* make arbitraryvalue not pub

* remove proptest derive from auth list
* feat: generate valid signed auth signatures

* feature gate the auth arbitrary
Signed-off-by: jsvisa <delweng@gmail.com>
…alloy-rs#1043)

* fix(otterscan): add OtsSlimBlock for BlockDetails

Signed-off-by: jsvisa <delweng@gmail.com>

* feat(otterscan): use serde_repr to serialize OperationType to int

Signed-off-by: jsvisa <delweng@gmail.com>

* feat(otterscan): add a new function for BlockDetails

Signed-off-by: jsvisa <delweng@gmail.com>

* Revert "feat(otterscan): use serde_repr to serialize OperationType to int"

This reverts commit 96df6f4.

Signed-off-by: jsvisa <delweng@gmail.com>

* feat(otterscan): custom implement Serialize for OperationType

Signed-off-by: jsvisa <delweng@gmail.com>

* (de)serialize to u8

Signed-off-by: jsvisa <delweng@gmail.com>

* clippy

Signed-off-by: jsvisa <delweng@gmail.com>

---------

Signed-off-by: jsvisa <delweng@gmail.com>
* fix(admin): id in NodeInfo is string instead of B256

Signed-off-by: jsvisa <delweng@gmail.com>

* fix testcase

Signed-off-by: jsvisa <delweng@gmail.com>

* apply code review

Signed-off-by: jsvisa <delweng@gmail.com>

---------

Signed-off-by: jsvisa <delweng@gmail.com>
* chore: make auth mandatory in recovered auth

* features
…lloy-rs#1051)

* feat: add authorization list to rpc transaction and tx receipt types

* fix: add default impl

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

* fix: use signed authorization for rpc transaction type

* fix: enable arbitrary and k256 features for development

* fix: cargo hack fix

* chore: flatten signature

---------

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
* refactor: replace `U64` with `u64` in rpc-types-(eth|trace)

* replace `U64` in rpc-types-(eth|engine)

* use u128 in OptimismTransactionFields.mint
…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>
…l_with_wallet_and_config` (alloy-rs#1055)

* node-bindings: Add AnvilError::NoKeysAvailable

* prevent panic from having 0 keys

* fix the error handlings for `on_anvil_with_wallet`

* fix clippy

* fix(clippy): Add type alias

* Add `try_on_anvil_with_wallet_and_config` and call it in `on_anvil_with_wallet_and_config`

* Revert test changes

* Fix docs
* feat: expose encoded_len_with_signature()

* nit: fmt
emhane and others added 27 commits August 22, 2024 22:05
… to `alloy_consensus::Transaction` (alloy-rs#1172)

* Add trait methods to alloy_consensus::Transaction needed for reth integration

* Implement alloy_consensus::Transaction gas trait methods

* Implement alloy_consensus::Transaction tx type trait method

* fixup! Implement alloy_consensus::Transaction gas trait methods

* fixup! Implement alloy_consensus::Transaction tx type trait method

* Implement alloy_consensus::Transaction access list trait method

* Implement alloy_consensus::Transaction blob versioned hashes trait method

* Implement alloy_consensus::Transaction effective tip per gas as default trait method

* Remove alloy_consensus::Transaction::hash in favour of using alloy_consensus::Signed

* Impl no-std support

* Fix lint

* Return slice instead of vec

* Fix docs

Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>

---------

Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
* feat(rpc-types): `debug_executionWitness`

* remove unused deps

* fix preimage field doc

* clarify unhashed
fix: use server_id when unsubscribing
* make block struct generic over header type

* add generic default, make some changes

* change generic name and self
* fix: change generics order for Block

* fix

* fix
alloy-rs#1183)

* feat: add transaction generic to ots types

* txpool generics
* feat: add eip4337 eth_sendUserOperation method to provider

* chore: serde rename all eip4337 operation

* chore: use actual entry address for eth eip4337

* chore: nightly fmt

* add feature

* fix: user op elements in test

* chore: rename eip to erc

* chore: rename eip4337 files to erc4337

* chore: resolve pr comment

* fix: address parse

* feat: add new endpoints

* feat: add gas estimate endpoint

* chore: add err code

* chore: use packed User Operation

* chore: update tests

* feat: combine user op for both old and new entry points

* fix: clippy and docs ci

* fix: docs

* fix: geth tests

* fix: rm tests

---------

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
…oy-rs#1193)

* fix(provider): replace unit with empty array in `ChainStreamPoller`

* fix: everywhere

* doctest

* alias

* simpler
* feat(transport): retry http errors with 503 status code

* chore: check style

---------

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
fix: deser for depositReceiptVersion
…us::Transaction` (alloy-rs#1197)

Add missing getter trait methods for alloy_consensus::Transaction
… `Range` (alloy-rs#1199)

* use RangeInclusive instead on From for FilterBlockOption

* fix doctests
* chore: bump core and rm ssz feat

* bump ethereum_ssz

* feat ssz in meta

* bump ethereum_ssz

* enable alloy-eips/ssz from rpc-types-engine
* fix: remove optimism-related types

* rm serde helper
fix: make block.hash required
* Implement conversion from alloy_primitives::Signature to alloy_rpc_types_eth::Signature

* Simplify y-parity conversion
* refac(alloy-eips): use alloy-rs/eips for 2930 and 7702

* fix: rev

* reintroduce k256 to eips + fmt nits

* nit: README.md

* bump eips

* bump eips
chore: Release alloy-serde version 0.3.0
@unclezoro unclezoro merged commit 7a05057 into develop Sep 18, 2024
21 of 25 checks passed
@pythonberg1997 pythonberg1997 deleted the merge-v0.3.0 branch September 19, 2024 08:20
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.