You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the full matrix of types to be implemented. The primitive column should derive RLP. The req/response should be in alloy json rpc types (and already partially exist)
All req+response types should allow extra fields. signature on TransactionResponse should be Optional to support Optimism.
Responses should inherit primitives
Reqs should be builders, and should have an option to build into the primitive types
Provider should use req/resp
Component
providers
Describe the feature you would like
yes, love this plan :)
This is a little more complex, I think. The
TransactionRequest
generally allows afrom
field, which theTransaction
that implements RLP should notSo we may want something like:
Transaction
- complete, no from field, implements RLP, no serdeSignedTransaction
- complete, no from field, contains Transaction + Signature, no serdeProvider::fill(&mut TransactionRequest)
TransactionRequest::try_into_transaction
definitely succeedsSigner::sign_transaction(&TransactionRequest) -> Result<SignedTransaction>
from
is populated with address signer can't sign fromTransactionResponse
- JSON object returned byeth_getTransactionByXXXX
methodsSignedTransaction
Originally posted by @prestwich in #44 (comment)
Additional context
No response
The text was updated successfully, but these errors were encountered: