-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Constantinople #1246
Constantinople #1246
Conversation
…sts-only solution
… implemented using ContractDetails
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.
@zilm13 great job! 👍
Repository originalRepo = track; | ||
// removes address in main track copy if the same address already exists | ||
// TCK test case only - normally this is near-impossible situation in the real network | ||
if (cacheTrack.hasContractDetails(newContractAddress)) { |
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.
Doesn't this call always return true?
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.
And could you please share more details about the case which this workaround is made for?
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.
Doesn't this call always return true?
Looks like you are right from the implementation.
But as we have such interface method for checking and as implementations could change in future, I'd keep this.
Ready to schedule Constantinople fork on MainNet:
Review me!