forked from alloy-rs/alloy
-
Notifications
You must be signed in to change notification settings - Fork 2
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.2.1 #7
Closed
Closed
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
* Implement Rpc namespace * Review comment * Dependency fix --------- Co-authored-by: Mikhail Sozin <[email protected]>
* 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 <[email protected]> * fix testcase Signed-off-by: jsvisa <[email protected]> --------- Signed-off-by: jsvisa <[email protected]>
* feat: add arbitrary to auth * cant use cfg because k256 can be enabled on workspace level * use macro and share fn
* feat: generate valid signed auth signatures * feature gate the auth arbitrary
Signed-off-by: jsvisa <[email protected]>
…-rs#1045) bump trezor client to possibly resolve signing bug https://github.com/trezor/trezor-firmware/pull/3952/files + foundry-rs/foundry#7660 (comment)
…alloy-rs#1043) * fix(otterscan): add OtsSlimBlock for BlockDetails Signed-off-by: jsvisa <[email protected]> * feat(otterscan): use serde_repr to serialize OperationType to int Signed-off-by: jsvisa <[email protected]> * feat(otterscan): add a new function for BlockDetails Signed-off-by: jsvisa <[email protected]> * Revert "feat(otterscan): use serde_repr to serialize OperationType to int" This reverts commit 96df6f4. Signed-off-by: jsvisa <[email protected]> * feat(otterscan): custom implement Serialize for OperationType Signed-off-by: jsvisa <[email protected]> * (de)serialize to u8 Signed-off-by: jsvisa <[email protected]> * clippy Signed-off-by: jsvisa <[email protected]> --------- Signed-off-by: jsvisa <[email protected]>
* fix(admin): id in NodeInfo is string instead of B256 Signed-off-by: jsvisa <[email protected]> * fix testcase Signed-off-by: jsvisa <[email protected]> * apply code review Signed-off-by: jsvisa <[email protected]> --------- Signed-off-by: jsvisa <[email protected]>
* 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 <[email protected]> * 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 <[email protected]>
* 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 <[email protected]>
…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
…y-rs#1083) consensus: add From<ConsolidationRequest> for Request
* chore : fix typos * revert infura
alloy-rs#1088) feat(json-rpc): implement From<u64> for Id and From<String> for Id
* ake 7702 auth recovery fallible * Update auth_list.rs * Update auth_list.rs * clippy * clippy * Update auth_list.rs * Update crates/eips/src/eip7702/auth_list.rs Co-authored-by: Matthias Seitz <[email protected]> * Update auth_list.rs * Update crates/eips/src/eip7702/auth_list.rs Co-authored-by: Oliver <[email protected]> * Update crates/eips/src/eip7702/auth_list.rs Co-authored-by: Oliver <[email protected]> * chore: add is fns --------- Co-authored-by: Matthias Seitz <[email protected]> Co-authored-by: Oliver <[email protected]>
* Update call.rs * clippy
* feat(trace): filter with TransactionTrace Signed-off-by: jsvisa <[email protected]> * wip: add test case Signed-off-by: jsvisa <[email protected]> * Revert "wip: add test case" This reverts commit 7f4ca13. Signed-off-by: jsvisa <[email protected]> * add test case Signed-off-by: jsvisa <[email protected]> * Update crates/rpc-types-trace/src/filter.rs Co-authored-by: Matthias Seitz <[email protected]> * add more docs Signed-off-by: jsvisa <[email protected]> --------- Signed-off-by: jsvisa <[email protected]> Co-authored-by: Matthias Seitz <[email protected]>
* feat: add helper for decoding custom errors * use find_map
* Feat: eth_simulateV1 Request / Response types * Update lib.rs * Update simulate.rs * fmt * Update simulate.rs * Update simulate.rs * Delete crates/rpc-types-trace/src/simulate.rs * Update lib.rs * Create simulate.rs * Update lib.rs * fmt * fmt * Update lib.rs * Update lib.rs * touchups * fix type --------- Co-authored-by: Matthias Seitz <[email protected]>
* feat: use EncodableSignature for tx encoding * feat: integrate EncodableSignature in alloy directly
* refactor: add network-primitives * fix tests * fix docs * add re-exports * Block<T>
* Update parity.rs Bytes to Option<Bytes> That will resolve the issue when the RPC server returns "output": null, as Nethermind does. * Use null_as_default for handling null output and added test
* rpc: derive arbitrary for TransactionRequest * fix deny
* replace type, change type of result and add type in mod.rs * add new methods * add docs and impl * docs linking * clippy * rustmft --------- Co-authored-by: Matthias Seitz <[email protected]>
…transaction (alloy-rs#1118) Make Deserialize impl for FilterChanges generic over transaction
# Conflicts: # CHANGELOG.md # Cargo.toml # crates/alloy/CHANGELOG.md # crates/consensus/CHANGELOG.md # crates/consensus/src/transaction/eip1559.rs # crates/consensus/src/transaction/eip2930.rs # crates/consensus/src/transaction/eip4844.rs # crates/consensus/src/transaction/eip7702.rs # crates/consensus/src/transaction/legacy.rs # crates/contract/CHANGELOG.md # crates/eip7547/CHANGELOG.md # crates/eips/CHANGELOG.md # crates/eips/Cargo.toml # crates/eips/src/eip7702/auth_list.rs # crates/genesis/CHANGELOG.md # crates/json-rpc/CHANGELOG.md # crates/network/CHANGELOG.md # crates/node-bindings/CHANGELOG.md # crates/provider/CHANGELOG.md # crates/provider/src/builder.rs # crates/pubsub/CHANGELOG.md # crates/rpc-client/CHANGELOG.md # crates/rpc-types-admin/CHANGELOG.md # crates/rpc-types-anvil/CHANGELOG.md # crates/rpc-types-beacon/CHANGELOG.md # crates/rpc-types-engine/CHANGELOG.md # crates/rpc-types-eth/CHANGELOG.md # crates/rpc-types-eth/src/account.rs # crates/rpc-types-eth/src/block.rs # crates/rpc-types-eth/src/lib.rs # crates/rpc-types-eth/src/transaction/mod.rs # crates/rpc-types-eth/src/transaction/receipt.rs # crates/rpc-types-mev/CHANGELOG.md # crates/rpc-types-trace/CHANGELOG.md # crates/rpc-types-trace/src/otterscan.rs # crates/rpc-types-txpool/CHANGELOG.md # crates/rpc-types/CHANGELOG.md # crates/serde/CHANGELOG.md # crates/signer-aws/CHANGELOG.md # crates/signer-gcp/CHANGELOG.md # crates/signer-ledger/CHANGELOG.md # crates/signer-local/CHANGELOG.md # crates/signer-trezor/CHANGELOG.md # crates/signer/CHANGELOG.md # crates/transport-http/CHANGELOG.md # crates/transport-ipc/CHANGELOG.md # crates/transport-ws/CHANGELOG.md # crates/transport/CHANGELOG.md
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