-
Notifications
You must be signed in to change notification settings - Fork 138
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
Calculate and set the CREATE address for internally created contracts #7293
Calculate and set the CREATE address for internally created contracts #7293
Conversation
Signed-off-by: Miroslav Gatsanoga <[email protected]>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #7293 +/- ##
==============================================
+ Coverage 0 90.22% +90.22%
- Complexity 0 19116 +19116
==============================================
Files 0 1515 +1515
Lines 0 55935 +55935
Branches 0 5821 +5821
==============================================
+ Hits 0 50469 +50469
- Misses 0 4268 +4268
- Partials 0 1198 +1198
☔ View full report in Codecov by Sentry. |
Signed-off-by: Miroslav Gatsanoga <[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.
Makes sense to me @MiroslavGatsanoga , tyvm!
Signed-off-by: Miroslav Gatsanoga <[email protected]>
Signed-off-by: Miroslav Gatsanoga <[email protected]>
Signed-off-by: Miroslav Gatsanoga <[email protected]>
Kudos, SonarCloud Quality Gate passed! |
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!
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
...main/java/com/hedera/node/app/service/evm/contracts/operations/HederaEvmCreateOperation.java
Show resolved
Hide resolved
...main/java/com/hedera/node/app/service/evm/contracts/operations/HederaEvmCreateOperation.java
Show resolved
Hide resolved
.../java/com/hedera/node/app/service/evm/contracts/operations/HederaEvmCreateOperationTest.java
Show resolved
Hide resolved
.../java/com/hedera/node/app/service/evm/contracts/operations/HederaEvmCreateOperationTest.java
Show resolved
Hide resolved
...t-clients/src/main/java/com/hedera/services/bdd/spec/assertions/ContractFnResultAsserts.java
Show resolved
Hide resolved
...nts/src/main/java/com/hedera/services/bdd/suites/contract/opcodes/Create2OperationSuite.java
Show resolved
Hide resolved
...ents/src/main/java/com/hedera/services/bdd/suites/contract/opcodes/CreateOperationSuite.java
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.
LGTM
…#7293) Signed-off-by: Miroslav Gatsanoga <[email protected]>
…#7293) Signed-off-by: Miroslav Gatsanoga <[email protected]> Signed-off-by: Valentin Tronkov <[email protected]>
Description:
Update
HederaEvmCreateOperation.targetContractAddress
to calculate theCREATE
address of a new contract based on the sender's address and nonce.Related issue(s):
Fixes #7124
Notes for reviewer:
Checklist