-
Notifications
You must be signed in to change notification settings - Fork 112
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
HIP-584: Fix too low estimate values for auto account creation and contract create #6633
Conversation
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #6633 +/- ##
============================================
- Coverage 92.56% 92.55% -0.01%
- Complexity 6506 6511 +5
============================================
Files 844 845 +1
Lines 27428 27458 +30
Branches 3138 3140 +2
============================================
+ Hits 25389 25415 +26
- Misses 1326 1329 +3
- Partials 713 714 +1
☔ View full report in Codecov by Sentry. |
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
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.
LG, now web3 provides correct estimate values, tested locally.
...-web3/src/main/java/com/hedera/mirror/web3/evm/contracts/execution/MirrorEvmTxProcessor.java
Outdated
Show resolved
Hide resolved
hedera-mirror-web3/src/test/resources/contracts/EthCall/EthCallInit.bin
Outdated
Show resolved
Hide resolved
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
…imate-values # Conflicts: # hedera-mirror-web3/src/test/java/com/hedera/mirror/web3/service/ContractCallTestSetup.java Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Signed-off-by: IvanKavaldzhiev <ivankavaldzhiev@gmail.com>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Description:
Currently gas estimate for hollow account creation and contract creates is too low. This PR adds some missing logic and aligns gas calculator behaviour with services codebase.
Related issue(s):
Fixes #6620
Notes for reviewer:
Checklist