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
There are a few ways to solve this. Either delegate serialization of the transaction to class (ie PrivateRawTransaction and PrivateTransaction),have another implementation of TxSignServiceImpl for private transactions, allow the TransactionEncoder to be specified during the creation of TxSignServiceImpl or something I haven't thought of!
Environment
Web3j 4.9.0
Java
The text was updated successfully, but these errors were encountered:
Private Transactions are not serialized correctly
Since #1602 the
PrivateTransactionEncoder
was removed. You can not work around the problem as you are not able to specify you're own implementation where instantiating aPrivateTransactionManager
(https://github.com/web3j/web3j/blob/master/besu/src/main/java/org/web3j/tx/PrivateTransactionManager.java#L83=).There are a few ways to solve this. Either delegate serialization of the transaction to class (ie
PrivateRawTransaction
andPrivateTransaction
),have another implementation ofTxSignServiceImpl
for private transactions, allow theTransactionEncoder
to be specified during the creation ofTxSignServiceImpl
or something I haven't thought of!Environment
The text was updated successfully, but these errors were encountered: