Skip to content

Commit

Permalink
all: cleanup deployment process
Browse files Browse the repository at this point in the history
The `LegacyERC20ETH` needed some cleanup because
it extended the `OptimismMintableERC20` which had
its interface changed such that the remote token
and bridge are immutables instead of being held in
storage. Changing these values to immutables will
make interactions for mint/burn much cheaper.
  • Loading branch information
tynes committed Nov 29, 2022
1 parent 04c7017 commit db8bf1e
Show file tree
Hide file tree
Showing 5 changed files with 1,364 additions and 6 deletions.
8 changes: 6 additions & 2 deletions op-bindings/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ bindings: l1block-bindings \
optimism-portal-bindings \
l2-output-oracle-bindings \
gas-price-oracle-bindings \
legacy-message-passer-bindings \
legacy-message-passer-bindings \
address-manager-bindings \
l2-cross-domain-messenger-bindings \
l2-standard-bridge-bindings \
Expand All @@ -28,7 +28,8 @@ bindings: l1block-bindings \
l1-erc721-bridge-bindings \
optimism-mintable-erc721-factory-bindings \
l1-fee-vault-bindings \
basefee-vault-bindings
basefee-vault-bindings \
legacy-erc20-eth-bindings

version:
forge --version
Expand Down Expand Up @@ -95,6 +96,9 @@ optimism-mintable-erc20-factory-bindings: compile
optimism-mintable-erc20-bindings: compile
./gen_bindings.sh contracts/universal/OptimismMintableERC20.sol:OptimismMintableERC20 $(pkg)

legacy-erc20-eth-bindings: compile
./gen_bindings.sh contracts/legacy/LegacyERC20ETH.sol:LegacyERC20ETH $(pkg)

proxy-bindings: compile
./gen_bindings.sh contracts/universal/Proxy.sol:Proxy $(pkg)

Expand Down
Loading

0 comments on commit db8bf1e

Please sign in to comment.