forked from alloy-rs/alloy
-
Notifications
You must be signed in to change notification settings - Fork 1
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.6 #9
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…rs` (alloy-rs#1207) chore(features): enable consensus and network if providers is
…oy-rs#1108) * feat(alloy-provider): add abstraction for `NonceFiller` behavior * remove Default bound, add #[non_exhaustive] * resolve conversations * remove default generic * fix ci
Add a link to roc-types-debug
eip7702: implement tx_type for TxEip7702
eip7702: derive arbitrary::Arbitrary for TxEip7702
eip7702: rm useless methods
* fix(eips): no-std compat * fix(eips): no-std compat
* fix: Anvil builder default port * revert: Anvil builder default port * docs: update Anvil default port
…1226) feat(json-rpc): implement From U256 and String for SubId
alloy-rs#1229) * feat(network-primitives): expose more fields in HeaderResponse * feat(network-primitives): expose `other` fields in BlockResponse * nits
* consensus: implement Arbitrary for Header * fix function call * fn visibility
consensus: impl is_zero_difficulty for Header Co-authored-by: Matthias Seitz <[email protected]>
…y-rs#1237) consensus: impl exceeds_allowed_future_timestamp for Header Co-authored-by: Matthias Seitz <[email protected]>
* generalize geth into node * add basic reth setup * basic spawning and capturing of ports works, shutdown does not * add auth_port, p2p_port * clean up * fix geth tests * simplify abstraction * clean up * add explicit `dev` mode command, reth remains open * --chain takes path or string, not id * add support for UDP endpoint extraction from keys * clean up, add dev flag * tag as dev * add option to set block time * add block time * disable peer persistence if discovery is disabled * update binaries * add reth install in github workflow * fix build * fix doctest * windows geth build is zipped * fix name * fix path to reth binary * tar is flat * fix url * fix output path * reth is already extracted to the root * reth renders via stdout * disable dev by default, enabling it with .dev() * make sure to exit when running into fatal error * add tests to cover the feature set * try debugging windows * run binary install in parallel * disable discovery on blocktime dev * attempt to fix on windows by not using tempdir * re-enable tempdir, attempt to get full error log on windows * ignore tests on windows, CI of Windows is not compatible: [crates\node-bindings\src\nodes\reth.rs:369:13] &line = "2024-09-04T12:39:10.637528Z INFO reth::cli: Opening database path=\"C:\\\\Users\\\\RUNNER~1\\\\AppData\\\\Local\\\\Temp\\\\.tmp4XoSee\\\\db\"\n" [crates\node-bindings\src\nodes\reth.rs:369:13] &line = "2024-09-04T12:39:10.731699Z ERROR reth::cli: shutting down due to error\n" Error: failed to open the database: environment or database is not compatible with the requested operation or flags (-30784) Location: /project/crates/storage/db/src/mdbx.rs:28:8 * only install on linux * temporarily re-enable windows to test error catching * revert
* Impl display for alloy_eips::eip1898::RpcBlockHash * Add test for display RpcBlockHash * Impl display for alloy_eips::eip1898::BlockId * Add test for display BlockId
* feat(rpc-types-eth): AnyBlock * rename to AnyNetworkBlock
* fix(consensus): remove unused alloc Vecs * fix: updates and msrv * fix: serde tests
* dep: bump tower to 0.5 * fix clippy
* rpc: Add getter trait methods to ReceiptResponse * fix no std * fix comments * 7702 docs --------- Co-authored-by: Matthias Seitz <[email protected]>
…esponse` (alloy-rs#1275) * Add trait methods cumulative_gas_used and state_root to ReceiptResponse * touchup --------- Co-authored-by: Matthias Seitz <[email protected]>
* add run_with_tempdir * update tests, now picks random instance by default * document new random port picking * fix clippy * add port customization * reset instance when configuring custom port as this is incompatible in reth * additional tests for http_port(0) * fix comment
* apply bug fixes and add tests * use constants
* feat: optional serde * feat: optional serde * fix: tests * fix: enable serde for alloy-rpc-types-trace * fix: non-attr serde
* feat: optional serde * fix: beacon types * fix: provider * fix: eip7547 * fix: run ci
* fix * add aliases * cfg_attr
* feat: optional serde * feat: optional serde * fix: tests * fix: enable serde for alloy-rpc-types-trace * fix: non-attr serde * feat: optional alloy-serde
* refactor: txtype-specific transaction builders * enforce legacy if access list * ignore access list
* feat(`node-bindings`): support appending args that are not part of the builder api * use OsString
* chore(rpc): rename witness fields * chore: allow missing keys --------- Co-authored-by: Matthias Seitz <[email protected]>
* feat(transport): bare minimal reqwest-tower integration * feat(transport-http): reqwest-tower layer client * feat(transport-http): LayerClient * fix: feature gate layer transport * rm logging layer * feat(transport-http): hyper layer transport * hyper layer transport test * test with tower-http layers * rm reqwest layer transport * rm trait bounds for new * nit * unify hyper transports * rm TransportConnect for HyperLayerTransport * make request generic * unify hyper transports * nit * nit * nit * rm unintended reqwest default * rename HyperLayerTransport to HyperTransport * rename file * nit * fix: rm transport from HttpConnect * fix: rm url from HyperTransport, infer it from Http * clippy * fix * impl Http<Hyper> * fix * rename * nit
* feat(rpc-types-beacon): `SignedBidSubmissionV4` * ssz * Update crates/rpc-types-beacon/src/relay.rs Co-authored-by: Oliver <[email protected]> --------- Co-authored-by: Matthias Seitz <[email protected]> Co-authored-by: Oliver <[email protected]>
* feature: ProviderCall fix: rename to prov_call for disambiguation * refactor: replace output types * doc: add note about fn pointers * feat: convert `EthCall` to `ProviderCall` * use `ClientRef` in EthCall instead of `WeakClient` * change lifetimes * add *_internal methods that return `EthCall` * doc nits * use `ClientRef` instead of `WeakClient` in `RpcWithBlock` * Revert "use `ClientRef` instead of `WeakClient` in `RpcWithBlock`" This reverts commit 569d168. * feat: RpcCallWithBlock enum val in provider call * nits * feat: integrate `RpcWithBlock` into `ProviderCall` * rm `RpcWithBlock` val from ProviderCall * feat(provider): caller trait for with_block calls * rm `WeakClient` from `RpcWithBlock` * introduce `Caller` into `RpcWithBlock` * use `WithBlockCall` in `RpcWithBlock`. polling doesn't work. * nit * feat(provider): add `WithBlockFut` - polls `ProviderCall` and maps response. * nit * revert 2ff402 * Revert "feat: convert `EthCall` to `ProviderCall`" This reverts commit 1cb1579. * doc nits * feat(provider): introduce `Caller` to `EthCall`. Arc it so that its cloneable * feat(provider): add `EthCaller` - converts EthCall into ProviderCall and strengthen test * update `EthCallFut` * holds `ProviderCall` * removes Clone * impl poll_preparing and poll_running on `EthCallFut` instead of `EthCallFutInner` * poll `ProviderCall` in `EthCall`using `EthCaller` * removes WeakClient from `EthCall` * updates `EthCallFutInner::Running` to store map * nit * wrap Caller in Arc to make `RpcWithBlock` cloneable * store in `ProvideCall` fut instance in `States` * store `ProviderCall` fut in `EthCallFutInner` * feat(provider): add `ParamsWithBlock` for `RpcWithBlock` * rm `block_id` from `Caller` trait * impl `Caller` for `WeakClient` * refactor(`ProviderCall`): don't rely on `Caller` in `RpcWithBlock` (alloy-rs#1159) * feat: RpcCall:map_params * WithBlockInner * Ready variant * fmt * use ProviderCall * clippy + fmt * add From<F> * make ProviderCall::Ready return a result * add docs * Update request.rs Co-authored-by: DaniPopes <[email protected]> * fmt --------- Co-authored-by: DaniPopes <[email protected]> * refac(provider): use `ProviderCall` as return in trait * nit * doc nits * fix --------- Co-authored-by: Yash Atreya <[email protected]> Co-authored-by: Arsenii Kulikov <[email protected]> Co-authored-by: DaniPopes <[email protected]>
chore: Release alloy-serde version 0.3.6 # -----BEGIN PGP SIGNATURE----- # # iQIzBAABCAAdFiEEQCFA0ZHpEsgE2qgNyx7WsmjsJ+YFAmbq1+gACgkQyx7Wsmjs # J+ZYCBAAyUaZZPkKM5ApiC/nUBLAhoGiijKfXhVy4vJeyw35lgQAnUtH1U8Zenpq # 4V9ujIqUqqaJYVOEk535tNF5XJ513/f7whWiYcIZ4fObftcD/isjRNsw41AJePse # Yggo5c9a/IQFeQAYk6tWy4ij8ZNZ5wHmj4Hl7k12LIjmaY7wRwWXtepl0VeLQNOn # 0jf/sA1piISMZ8/gRkxWngbP4mFE12r8AYZfwzXP0VHzb1AucxJC1P4H0EoWmMu0 # bAox9712i1br7vTN33y/x8wg3g3Aknbud76IBYnucUzYllrN6EycCPaXFgdqeqeB # tPXOJD9iqh4EJyBHR5TznIEkJtvMI82b17vKhq6pN4gDagOmuYL/KMNhd/a7UTU9 # dQFAp3YK2TwAYB2pO7zt5t101ECoDEYCrWglGbMWmJxKuICcvbiVstfFiXGYDz7N # pZlqrX1qzKguSDlu5OL35JaJ8te+BEM4ni85rKj4um0NTcNlbt34NwL+muV+sP9g # blwRiDeFcD72pznVvpLo+xsCiuQDlRyHOQcxNOWTDmNk1WJVd6bBciuE12k5dfY/ # dTqHa6uJ+g3oCYYUWug9lgMG3CPCj8XQdcQmnvYo2noVMrq4l0SP26QTE2XToDW3 # EKGKKscNB8ETVK9dd9FcfLCWIlJ918U09moez8cB88Fjvug9n30= # =a6Wq # -----END PGP SIGNATURE-----
pythonberg1997
force-pushed
the
merge-v0.3.6
branch
from
September 20, 2024 03:05
2282041
to
718aee5
Compare
unclezoro
approved these changes
Oct 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Solution
PR Checklist