Skip to content
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

Support blob transactions in data poster external signer #2169

Merged
merged 4 commits into from
Mar 5, 2024

Conversation

anodar
Copy link
Contributor

@anodar anodar commented Mar 4, 2024

No description provided.

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Mar 4, 2024
@anodar anodar marked this pull request as ready for review March 4, 2024 12:22
@anodar anodar changed the title Support blob transactions in external signer Support blob transactions in data poster external signer Mar 4, 2024
@anodar anodar requested a review from PlasmaPower March 4, 2024 12:43
Comment on lines +12 to +14

type SignTxArgs struct {
*apitypes.SendTxArgs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was looking to see why the blob fields weren't on apitypes.SendTxArgs already, and looking at the comments on apitypes.SendTxArgs it says

// This struct is identical to ethapi.TransactionArgs, except for the usage of
// common.MixedcaseAddress in From and To

but the fields haven't been copied over yet from ethapi.TransactionArgs. This looks like a typical case of code that's supposed to be kept in sync manually being overlooked. For the time being, in ethapi.TransactionArgs the fields actually have different types than the types you specified here, so until it's fixed upstream we should probably use the types they already picked.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I raised ethereum/go-ethereum#29161 with upstream to see if this is just an oversight or something more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, changed to follow types of fields in ethapi.TransactionArgs struct.

Copy link
Member

@Tristan-Wilson Tristan-Wilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@anodar anodar merged commit 22e80a4 into master Mar 5, 2024
8 checks passed
@anodar anodar deleted the external-signer-4844 branch March 5, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants