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

Encouraging people to use latest deploy method rather than deprecated method #65

Open
SainathEbitwar opened this issue Jul 3, 2022 · 0 comments

Comments

@SainathEbitwar
Copy link
Contributor

SainathEbitwar commented Jul 3, 2022

While going through the web3j docs in most of the places below deploy method is used.

YourSmartContract contract = YourSmartContract.deploy(
        <web3j>, <credentials>,
        GAS_PRICE, GAS_LIMIT,
        <param1>, ..., <paramN>).send();  // constructor params

This method is deprecated in latest web3j library and instead of this we should use below method is docs.

YourSmartContract contract = YourSmartContract.deploy(
        <web3j>, <credentials>,
        <contractGasProvider>,
        <param1>, ..., <paramN>).send();  // constructor params
@SainathEbitwar SainathEbitwar changed the title Encouraging people to use latest deploy method rather than deprecated methods Encouraging people to use latest deploy method rather than deprecated deploy method Jul 3, 2022
@SainathEbitwar SainathEbitwar changed the title Encouraging people to use latest deploy method rather than deprecated deploy method Encouraging people to use latest deploy method rather than deprecated method Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant