-
Notifications
You must be signed in to change notification settings - Fork 75
[ETCM-19] chainId opcode #645
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
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 would add at least one unit test maybe in OpCodeFunSpec
?
@@ -105,6 +108,11 @@ object EvmConfig { | |||
opCodeList = AghartaOpCodes | |||
) | |||
|
|||
val PhoenixConfigBuilder: EvmConfigBuilder = config => PhoenixConfigBuilder(config).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.
Here it shoud be:
val PhoenixConfigBuilder: EvmConfigBuilder = config => AghartaConfigBuilder(config).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.
Yes, my bad
f38353b
to
2136f9b
Compare
@KonradStaniec, There is a generic test for all |
ok, but then from what I see it uses byzantium config https://github.com/input-output-hk/mantis/blob/etcm-19-chainid-opcode/src/test/scala/io/iohk/ethereum/vm/OpCodeFunSpec.scala#L17, to use it we would need change this to phoenix conifg ? |
EIP-1344: ChainID opcode