alloy
alloy copied to clipboard
Transports, Middleware, and Networks for the Alloy project
## Motivation Ref #109 ## Solution Use `alloy_primitives::Signature`. This required implementing `Arbitrary` manually for `Transaction` since `k256::ecdsa::Signature` does not implement it. In the implementation setting the `signature` field in `Transaction`...
`::ReceiptResponse` should ALWAYS embed the `::ReceiptEnvelope` in itself To enforce that we should - add `+ Receipt + AsRef + AsMut + Into` bounds to the Network trait's `ReceiptResponse` type...
### Component rpc ### Describe the feature you would like The `rpc` crate provides code to convert from `alloy_rpc_types::Signature` to `alloy_primitives::Signature`; however, it is not clear how to perform the...
### Component provider, pubsub, signers ### Describe the feature you would like Given ```rust let signer = LocalWallet::random(); ``` We currently require the signer to be cast into `EthereumSigner::from(signer)` when...
### Component provider, pubsub ### Describe the feature you would like The goal of my suggestion would be to allow people to easily build extensions of alloy. I know that...
cc @mattsse my guess is we could also return a builder that's called `TraceRpcWithBlock` or similar? since we default to `["trace"]` most times? _Originally posted by @gakonst in https://github.com/alloy-rs/alloy/pull/818#discussion_r1624830808_ similar...
### Component provider, pubsub ### Describe the feature you would like For use-cases like `SP1-Reth` or `Kona`, we often want to execute a (historical) block, but we don't have the...
### Component contract ### Describe the feature you would like In [CallBuilder](https://github.com/alloy-rs/alloy/blob/4000b7754663d4350022e15c9fab6e75d3da8afe/crates/contract/src/call.rs#L123) it would be nice to have a method: `build_raw_transaction` The goal of this method would be to build...
## Motivation similar_asserts::assert_eq! highlights the exact differences between test subjects ## Solution Use similar_asserts for serde JSON comparison in rpc crates Closes #1362 ## PR Checklist - [ ] Added...
### Component rpc ### Describe the feature you would like just like txpool,eth,trace these types should go into another rpc-types-wallet crate and should include rpc type bindings for various `wallet_`...