-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
FastRawTransactionManager is not able to deploy smartcontract #688
Comments
A new analysis of the problem shows thazt the problem is linked to web3j-maven-plugin |
In the web3j-maven-plugin, Heinz M. analysis shows it is not in web3j-maven-plugin since it is a helper plugin. So the error has to be address here in web3j generator. Initially I was thinking the error comes from FastRawTransactionManager, in fact after a deeper analysis it is due to the fact the generated code from web3j-Maven-plugin is not compliant with latest changes in web3j plugin.
Badly default constructor with super are deprecated in Contract class By adding manually the following one, I was able to solve the error
So I would like to propose a PR where the generator is upgraded with a new constructor with transactionManager, contractGasProvider parameters |
Hi, you can follow similar way as in this pull request #657 |
…dger#688 ### What does this PR do? - remove deprecated constructor method in generator - change load method in generator both of these changes introduce the ContractGasProvider in the generated code ### Where should the reviewer start? have a look to SolidityFunctionWrapper ### Why is it needed? test the generated code in the linked project web3j-maven-plugin
Hello, I have made of PR based on the one you show me |
…dger#688 ### What does this PR do? - remove deprecated constructor method in generator - change load method in generator both of these changes introduce the ContractGasProvider in the generated code ### Where should the reviewer start? have a look to SolidityFunctionWrapper ### Why is it needed? test the generated code in the linked project web3j-maven-plugin
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
When creating a FastRawTransactionManager with the web3j SimpleStorage.sol, I am not able to deploy it.
Small github repository to display the error
And run the web3jmultipletxsmartcontract/MultipleCreationFastTransactionManager.java
Any idea?
Error:
The text was updated successfully, but these errors were encountered: