Skip to content

Commit

Permalink
Merge pull request #549 from etclabscore/fix/eip4399-activation
Browse files Browse the repository at this point in the history
Rename RANDOM to PREVRANDAO in instruction set activation
  • Loading branch information
ziogaschr authored Jun 1, 2023
2 parents 025413c + f10618e commit 4e2b0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/vm/jump_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func instructionSetForConfig(config ctypes.ChainConfigurator, isPostMerge bool,
enable3198(instructionSet) // BASEFEE opcode https://eips.ethereum.org/EIPS/eip-3198
}
if isPostMerge {
instructionSet[RANDOM] = &operation{
instructionSet[PREVRANDAO] = &operation{
execute: opRandom,
constantGas: GasQuickStep,
minStack: minStack(0, 1),
Expand Down

0 comments on commit 4e2b0e3

Please sign in to comment.