-
Notifications
You must be signed in to change notification settings - Fork 275
Rename configs #519
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
Rename configs #519
Conversation
| if _, ok := PrecompileAllNativeAddresses[address]; ok { | ||
| panic(fmt.Errorf("precompile address collides with existing native address: %s", address)) | ||
| } | ||
| if address == constants.BlackholeAddr { |
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.
Why was this removed?
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.
hm I actually moved it to registerer but seems lost in stash. added now. good catch.
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.
Can we keep it in both places?
| if address == constants.BlackholeAddr { | ||
| return fmt.Errorf("address %s overlaps with blackhole address", address) | ||
| } | ||
|
|
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.
moved to here @patrick-ogrady @aaronbuchwald
|
Not against this PR, this is my alternative suggestion #520 happy to follow what others think here to move forward. |
|
Closing in favor of #520 |
Why this should be merged
How this works
How this was tested
How is this documented