I'm creating a signed transaction on a mobile client which is then passed to a node server for submission.
This works when not including 1559 gas parameters:
But when adding the 1559 parameters maxFeePerGas and maxPriorityFeePerGas, it fails when submitting on the node server with the following error: transaction could not be decoded: could not decode RLP components: could not decode list item 3 to Address: invalid address: 0x22ecb25c00
I'm using web3.js 1.7.1 on the node server and the js snippet for submitting the transaction is:
Web3.eth.sendSignedTransaction(hexTx, function (err, hash) {
if (!err) {
response.end(JSON.stringify({"hash": hash }));
} else {
response.end("Error!");
}
});
If I use .sendTransaction (instead of .signTransaction) on the mobile client using the 1559 parameters it works.
Is there something I'm missing in the combo of .callContract and .signTransaction when using 1559, or is something broken?
I'm creating a signed transaction on a mobile client which is then passed to a node server for submission. This works when not including 1559 gas parameters:
But when adding the 1559 parameters
maxFeePerGas
andmaxPriorityFeePerGas
, it fails when submitting on the node server with the following error:transaction could not be decoded: could not decode RLP components: could not decode list item 3 to Address: invalid address: 0x22ecb25c00
I'm using web3.js 1.7.1 on the node server and the js snippet for submitting the transaction is:
If I use .sendTransaction (instead of .signTransaction) on the mobile client using the 1559 parameters it works. Is there something I'm missing in the combo of .callContract and .signTransaction when using 1559, or is something broken?