-
Notifications
You must be signed in to change notification settings - Fork 20.4k
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
cannot sign non-eip 1559 with clef using external.ExternalSigner #23273
Labels
Comments
holiman
added a commit
to holiman/go-ethereum
that referenced
this issue
Jul 27, 2021
…n london if all fields set. Fixes ethereum#23273
fjl
pushed a commit
that referenced
this issue
Jul 29, 2021
Ticket #23273 found a flaw where we were unable to sign legacy-transactions using the external signer, even if we're still on non-london network. That's fixed in this PR. Additionally, I found that even when supplying all parameters, it was impossible to sign a london-transaction on an unsynched node. It's a pretty common usecase that someone wants to sign a transaction using an unsynced 'vanilla' node, providing all necessary data. Our setDefaults, however, insisted on checking the current block against the config. This PR therefore adds a case, so that if both MaxPriorityFeePerGas and MaxFeePerGas are provided, we accept them as given. OBS This PR fixes a regression -- on current master, we are unable to sign a london-transaction unless the node is synched, which may break scenarios where geth (or clef) is used as a cold wallet. Fixes #23273
sidhujag
pushed a commit
to sidhujag/go-ethereum
that referenced
this issue
Aug 1, 2021
…reum#23274) Ticket ethereum#23273 found a flaw where we were unable to sign legacy-transactions using the external signer, even if we're still on non-london network. That's fixed in this PR. Additionally, I found that even when supplying all parameters, it was impossible to sign a london-transaction on an unsynched node. It's a pretty common usecase that someone wants to sign a transaction using an unsynced 'vanilla' node, providing all necessary data. Our setDefaults, however, insisted on checking the current block against the config. This PR therefore adds a case, so that if both MaxPriorityFeePerGas and MaxFeePerGas are provided, we accept them as given. OBS This PR fixes a regression -- on current master, we are unable to sign a london-transaction unless the node is synched, which may break scenarios where geth (or clef) is used as a cold wallet. Fixes ethereum#23273
atif-konasl
pushed a commit
to frozeman/pandora-execution-engine
that referenced
this issue
Oct 15, 2021
…reum#23274) Ticket ethereum#23273 found a flaw where we were unable to sign legacy-transactions using the external signer, even if we're still on non-london network. That's fixed in this PR. Additionally, I found that even when supplying all parameters, it was impossible to sign a london-transaction on an unsynched node. It's a pretty common usecase that someone wants to sign a transaction using an unsynced 'vanilla' node, providing all necessary data. Our setDefaults, however, insisted on checking the current block against the config. This PR therefore adds a case, so that if both MaxPriorityFeePerGas and MaxFeePerGas are provided, we accept them as given. OBS This PR fixes a regression -- on current master, we are unable to sign a london-transaction unless the node is synched, which may break scenarios where geth (or clef) is used as a cold wallet. Fixes ethereum#23273
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System information
Geth version:
1.10.6
(or any >=1.10.4
)Expected behaviour
If
SignTx
(onexternal.ExternalSigner
) is called with atx
that is atypes.Transaction
of type legacy then it should send aaccount_signTransaction
rpc request to clef for a legacy transaction.Actual behaviour
It always sends a request for a eip 1559 transaction.
There is this code in
SignTx
which seem to be the code responsible for handling this.However both
LegacyTx
andAccessListTx
return the gas price forGasFeeCap()
so it is never nil and a eip 1559 transaction is always requested.The text was updated successfully, but these errors were encountered: