diff --git a/src/chains/arbitrum/vm/opcodes/stack/push0.ts b/src/chains/arbitrum/vm/opcodes/stack/push0.ts index 85decbd..61b424a 100644 --- a/src/chains/arbitrum/vm/opcodes/stack/push0.ts +++ b/src/chains/arbitrum/vm/opcodes/stack/push0.ts @@ -1,9 +1,11 @@ -import { push0 as baseOpcode } from '@/chains/optimism/vm/opcodes/stack/push0'; +import { push0 as baseOpcode } from '@/chains/mainnet/vm/opcodes/stack/push'; import { Opcode } from '@/types'; -const { references: _references, ...opcode } = baseOpcode; +const { supportedHardforks: _supportedHardforks, ...opcode } = baseOpcode; export const push0: Omit = { ...opcode, + description: + 'The opcode is not supported yet, but will be added in a future hardfork. This means you cannot yet use Solidity 0.8.20 or later with an `evm_version` of Shanghai.', references: [ '[Arbitrum Differences from Solidity on Ethereum](https://developer.arbitrum.io/solidity-support)', ], diff --git a/src/chains/optimism/vm/opcodes/stack/push0.ts b/src/chains/optimism/vm/opcodes/stack/push0.ts index b204e16..b31ea66 100644 --- a/src/chains/optimism/vm/opcodes/stack/push0.ts +++ b/src/chains/optimism/vm/opcodes/stack/push0.ts @@ -1,12 +1,7 @@ import { push0 as baseOpcode } from '@/chains/mainnet/vm/opcodes/stack/push'; import { Opcode } from '@/types'; -const { supportedHardforks: _supportedHardforks, ...opcode } = baseOpcode; -export const push0: Omit = { - ...opcode, - description: - 'The opcode is not supported yet, but will be added in a future hardfork. This means you cannot yet use Solidity 0.8.20 or later with an `evm_version` of Shanghai.', - references: [ - '[Differences between Ethereum and OP Mainnet: Opcode Differences](https://community.optimism.io/docs/developers/build/differences/#opcode-differences)', - ], +export const push0: Opcode = { + ...baseOpcode, + supportedHardforks: ['Canyon'], };