-
Notifications
You must be signed in to change notification settings - Fork 134
Adapt acceptance tests to use estimate gas query from SDK (#11183) #11432
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
Adapt acceptance tests to use estimate gas query from SDK (#11183) #11432
Conversation
In java SDK there is a MirrorNodeContractEstimateGasQuery which can be used for gas estimation queries. Currently we perform manually a contract call with given parameters. This PR refactors the acceptance tests to use estimate query instead of manual contract call --------- Signed-off-by: Nikolay Nikolov <[email protected]>
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) ✅ code/snyk check is complete. No issues have been found. (View Details) |
Signed-off-by: Nikolay Nikolov <[email protected]>
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences |
Signed-off-by: Nikolay Nikolov <[email protected]>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Signed-off-by: Ivan Kavaldzhiev <[email protected]>
…y-to-the-acceptance-tests
|
Seems like some issue in CI acceptance tests around ledger ID and changes in PR |
Signed-off-by: Ivan Kavaldzhiev <[email protected]>
…y-to-the-acceptance-tests
…y-to-the-acceptance-tests
Signed-off-by: Ivan Kavaldzhiev <[email protected]>
…y-to-the-acceptance-tests
test/src/test/java/org/hiero/mirror/test/e2e/acceptance/client/MirrorNodeClient.java
Outdated
Show resolved
Hide resolved
test/src/test/java/org/hiero/mirror/test/e2e/acceptance/client/MirrorNodeClient.java
Outdated
Show resolved
Hide resolved
test/src/test/java/org/hiero/mirror/test/e2e/acceptance/steps/AbstractEstimateFeature.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Ivan Kavaldzhiev <[email protected]>
Signed-off-by: Ivan Kavaldzhiev <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
In java SDK there is a MirrorNodeContractEstimateGasQuery which can be used for gas estimation queries. Currently we perform manually a contract call with given parameters. This PR refactors the acceptance tests to use estimate query instead of manual contract call
Fixes #11152
Notes for reviewer:
Should not merge before modularized is 100% on all environments
Checklist