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

feat: Add generate both flag #88

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

kselveliev
Copy link
Contributor

What does this PR do?

This PR adds a generateBoth flag to the plugin.
GenerateContractWrapper.java forwards parameters to SolidityFunctionWrapperGenerator in codegen which has an optional parameter generateBoth. This parameter is currently not exposed in the plugin so this pr aims to expose it.

Where should the reviewer start?

GenerateContractWrapper.java

Why is it needed?

We want to integrate the web3j-plugin in hedera-mirror-node integration tests and this flag will really help.

Checklist

  • I've read the contribution guidelines.
  • I've added tests (if applicable).
  • I've added a changelog entry if necessary.

Signed-off-by: Kristiyan Selveliev <[email protected]>
Copy link
Contributor

@NickSneo NickSneo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kselveliev kselveliev marked this pull request as ready for review July 21, 2024 05:14
@NickSneo NickSneo merged commit 830b95e into hyperledger-web3j:main Jul 24, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants