ITADN

Stale Shanghai Support Chain List

#259Closedtom2o17 创建于 2026-02-26
T
tom2o17commented
The following chains now support Shanghai and the `PUSH0` opcode - Linea - Sonic - Sei - Katana ```zsh tc@MacBookPro foundry % cast call --rpc-url https://sei-public.nodies.app --create 0x5f 0x tc@MacBookPro foundry % cast call --rpc-url https://1rpc.io/linea --create 0x5f 0x tc@MacBookPro foundry % cast call --rpc-url https://rpc.soniclabs.com --create 0x5f 0x cast call --rpc-url https://katana.gateway.tenderly.co --create 0x5f 0x tc@MacBookPro foundry % cast call --rpc-url https://rpc.onino.io --create 0x5f Error: server returned an error response: error code -32000: invalid opcode: opcode 0x5f not defined ``` The list of chains which support [here](https://github.com/alloy-rs/chains/blob/857eafb9db9510d95a44bf325eb5e7a4ab695b4a/src/named.rs#L1156) should be updated to include these chains. This causes foundry to incorrectly warn ``` Warning: EIP-3855 is not supported in one or more of the RPCs used. Unsupported Chain IDs: 146. Contracts deployed with a Solidity version equal or higher than 0.8.20 might not work properly. ``` Which is incorrect. If this is useful, I'd be happy to open a PR
关闭于 2026-03-08 0 条评论