github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-ts/CODE_GEN.md (about) 1 # Code gen 2 3 Summary - 4 5 - This package is generated from [contracts-bedrock](../contracts-bedrock/) 6 - Its version is kept in sync with contracts bedrock via the [changeset config](../../.changeset/config.json) e.g. if contracts-bedrock is `4.2.0` this package will have the same version. 7 8 ## Code gen instructions 9 10 To run the code gen run the `generate` script from [package.json](./package.json). Make sure node modules is installed. 11 12 ```bash 13 pnpm i && pnpm generate 14 ```