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
Support contract initcode #3625
Conversation
Signed-off-by: Xin Li <xin.li@hedera.com>
Signed-off-by: Xin Li <xin.li@hedera.com>
Signed-off-by: Xin Li <xin.li@hedera.com>
if (contractCreateResult.hasEvmAddress()) { | ||
contract.setEvmAddress(DomainUtils.toBytes(contractCreateResult.getEvmAddress().getValue())); | ||
} | ||
|
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 won't be an evm address since the method is only used to process contract entities in CreatedContractIDs in protobuf pre services 0.23
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
hedera-mirror-common/src/main/java/com/hedera/mirror/common/domain/contract/Contract.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.
LGTM
Signed-off-by: Xin Li <xin.li@hedera.com>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Description:
This PR adds support of contract initcode.
Related issue(s):
Fixes #3607
Fixes #3622
Notes for reviewer:
Checklist