Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Check if we should run
command: |
shopt -s inherit_errexit
CHANGED=$(check-changed "packages/")
CHANGED=$(check-changed "op-bindings|packages/")
if [[ "$CHANGED" = "FALSE" ]]; then
circleci step halt
fi
Expand Down Expand Up @@ -165,7 +165,10 @@ jobs:
fi
- run:
name: check go bindings
command: make && git diff --exit-code
command: |
make contracts
make -j $(nproc)
git diff --exit-code
working_directory: op-bindings

js-lint-test:
Expand Down
4 changes: 4 additions & 0 deletions op-bindings/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@ address-manager-bindings:
mkdir:
mkdir -p bin bindings

contracts:
cd ../packages/contracts-bedrock
forge build

clean:
rm -rf bin bindings
9 changes: 9 additions & 0 deletions op-bindings/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# op-bindings

Contains prebuilt golang bindings for Optimism contracts.

## Build

```bash
$ make
```