Update light client method to fetch block merkle snapshot #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Contract Bindings | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
pull_request: | |
branches: | |
- main | |
- release-* | |
workflow_dispatch: | |
jobs: | |
contract-bindings: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: styfle/[email protected] | |
name: Cancel Outdated Builds | |
with: | |
all_but_latest: true | |
access_token: ${{ github.token }} | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- name: Install abigen | |
uses: gacts/install-geth-tools@v1 | |
- name: Version Check | |
run: | | |
forge --version | |
abigen --version | |
- name: Install Just | |
run: | | |
wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz | |
tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just | |
sudo cp just /usr/bin/just | |
- uses: actions/checkout@v4 | |
name: Checkout Repository | |
with: | |
submodules: recursive | |
- name: Generate Bindings | |
run: | | |
just bind-hotshot | |
just bind-light-client | |
git diff --exit-code |