transmissions11 / solmate

Modern, opinionated, and gas optimized building blocks for smart contract development.
GNU Affero General Public License v3.0
3.93k stars 645 forks source link

replace RETURNDATASIZE with PUSH0 for CREATE3 proxy #373

Closed jhweintraub closed 8 months ago

jhweintraub commented 1 year ago

Description

  1. Replace RETURNDATASIZE opcode with PUSH0 opcode in the CREATE3 minimum proxy
  2. Update EVM version in foundry.toml to support Shanghai (is not yet the default version)

Checklist

Ensure you completed all of the steps below before submitting your pull request:

Pull requests with an incomplete checklist will be thrown out.