Skip to content

Commit

Permalink
Merge pull request #3714 from ethereum-optimism/ops/update
Browse files Browse the repository at this point in the history
ci-builder: update geth version
  • Loading branch information
mergify[bot] committed Oct 21, 2022
2 parents 33aa1c5 + 040ea97 commit 3387c28
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/smart-moles-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/ci-builder': patch
---

Update geth to 1.10.25
30 changes: 30 additions & 0 deletions op-bindings/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# op-bindings

This package contains built go bindings of the smart contracts. It must be
updated after any changes to the smart contracts to ensure that the bindings are
up to date.

The bindings include the bytecode for each contract so that go based tests
can deploy the contracts. There are also `more` files that include the deployed
bytecode as well as the storage layout. These are used to dynamically set
bytecode and storage slots in state.

## Dependencies

- `abigen` version 1.10.25
- `make`

To check the version of `abigen`, run the command `abigen --version`.

## abigen

The `abigen` tool is part of `go-ethereum` and can be used to build go bindings
for smart contracts. It can be installed with go using the commands:

```bash
$ go get -u github.com/ethereum/go-ethereum
$ cd $GOPATH/src/github.com/ethereum/go-ethereum/
$ make devtools
```

The geth docs for `abigen` can be found [here](https://geth.ethereum.org/docs/dapp/native-bindings).
2 changes: 1 addition & 1 deletion ops/docker/ci-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN source $HOME/.profile && \
strip /opt/foundry/target/release/cast && \
strip /opt/foundry/target/release/anvil

FROM ethereum/client-go:alltools-v1.10.21 as geth
FROM ethereum/client-go:alltools-v1.10.25 as geth

FROM python:3.8.13-slim-bullseye

Expand Down

0 comments on commit 3387c28

Please sign in to comment.