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
04632 Fuzzing test for LazyCreate through precompiles #6527
04632 Fuzzing test for LazyCreate through precompiles #6527
Conversation
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
… case Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
…iSpec Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
…lity Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
...nts/src/main/java/com/hedera/services/bdd/suites/regression/LazyCreatePrecompileFuzzing.java
Outdated
Show resolved
Hide resolved
…ngProviderFactory Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
...vices/bdd/spec/infrastructure/providers/ops/precompile/RandomFungibleTransferLazyCreate.java
Outdated
Show resolved
Hide resolved
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.
There are some CryptoUpdate
's being submitted that seem they would always fail due to REQUESTED_NUM_AUTOMATIC_ASSOCIATIONS_EXCEEDS_ASSOCIATION_LIMIT
; but overall a very clean change-set, LGTM!
Signed-off-by: Alexander Gadzhalov <alexander.gadzhalov@limechain.tech>
97b6b06
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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!
Description:
Fuzzing testing for LazyCreate through precompiles
LazyCreate - unique account creation which happens when we transfer funds to previously non-existing EVM address accounts. Automatically creates a hollow account.
For the purpose of the test we have to randomly generate EVM addresses and send funds/tokens to those addresses through precompile.
Five different test cases for transfer through precompile:
Additional information:
contracts.precompile.atomicCryptoTransfer.enabled
needs to be set to TRUENO_REMAINING_AUTOMATIC_ASSOCIATIONS
error, CryptoUpdate logic was implemented to setmaxAutomaticAssociations
to a bigger numberNO_REMAINING_AUTOMATIC_ASSOCIATIONS
will be thrown.Related issue(s):
Fixes #4632