babylonchain / optimism

Optimism is Ethereum, scaled.
https://optimism.io
MIT License
1 stars 0 forks source link

feat: op-proposer add a `make bindings-upgrades` command #2

Closed lesterli closed 1 month ago

lesterli commented 1 month ago

Summary

Since op-bindings are deprecated, add the bindings generation script to make/upgrade go bindings to OP L1 contracts.

Test Plan

under the packages/contracts-bedrock

  1. Change the contract codes
  2. Generate the new contract ABI running npm run snapshots

under the op-proposer

  1. Upgrade the bindings file running make bindings-upgrades