Skip to content

Commit 47560c5

Browse files
authored
feat: arbitrum now supports push0 (#58)
1 parent cf75e6a commit 47560c5

File tree

1 file changed

+3
-8
lines changed
  • src/chains/arbitrum/vm/opcodes/stack

1 file changed

+3
-8
lines changed
Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
import { push0 as baseOpcode } from '@/chains/mainnet/vm/opcodes/stack/push';
22
import { Opcode } from '@/types';
33

4-
const { supportedHardforks: _supportedHardforks, ...opcode } = baseOpcode;
5-
export const push0: Omit<Opcode, 'supportedHardforks'> = {
6-
...opcode,
7-
description:
8-
'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.',
9-
references: [
10-
'[Arbitrum Differences from Solidity on Ethereum](https://developer.arbitrum.io/solidity-support)',
11-
],
4+
export const push0: Opcode = {
5+
...baseOpcode,
6+
supportedHardforks: ['ArbOS 11'],
127
};

0 commit comments

Comments
 (0)