Feat: Support Partial Parsing that allows EIP-7702 as well as custom/less-documented approaches #68
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.
This is broadly to enable decode "partial subsets" of transactions that are often useful for debugging. I tried to do this with a RLP encoded transaction with cast but I found that
alloy-rlpsupported this functionality. Thanks @mattsse for the pointerI don't want to use this at all in the normal path but it's useful for Ethereum for 7702 , 4484 type transaction and other custom cross chain requests that we might encounter. The custom type is used as a catch all for now for any quirky half-transactions we have encountered. Eventually when I support Solana, I'll add per message or instructions parser. At that point, adding a "strategy" or "type" may make sense but I don't want to blow this PR up too much.
Best way to use this is via parser_cli