-
Notifications
You must be signed in to change notification settings - Fork 75
[ETCM-1015] Add Magneto block height to configs #1067
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
Conversation
f96f24d
to
d81e4e7
Compare
d81e4e7
to
3232cf2
Compare
@@ -224,28 +224,12 @@ class BlockGeneratorSpec extends AnyFlatSpec with Matchers with ScalaCheckProper | |||
gasTieBreaker = false, | |||
ethCompatibleStorage = true, | |||
treasuryAddress = Address(0), | |||
forkBlockNumbers = ForkBlockNumbers( | |||
forkBlockNumbers = ForkBlockNumbers.Empty.copy( |
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.
👍
@@ -98,6 +98,10 @@ | |||
# https://ecips.ethereumclassic.org/ECIPs/ecip-1099 | |||
ecip1099-block-number = "1000000000000000000" | |||
|
|||
# Magneto EVM and Protocol Upgrades | |||
# https://ecips.ethereumclassic.org/ECIPs/ecip-1103 | |||
magneto-block-number = "1000000000000000000" |
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.
Instead of using a super high block number, why not define this config value as Option[BigInt]
, and omit it in the files where it does not make sense?
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.
I was thinking about doing it like this, but in the end didn't to remain consistent. Perhaps it would make sense to refactor those configs with the approach above in a separate PR?
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 is a configuration added by me, that is an Option
already :) So total consistency is already gone 😅
I would love to see this refactored
Description
This PR adds Magneto block height to the app's config files