forked from Snowfork/snowbridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit finalized header gap (Snowfork#1156)
* construct finalized update * extract interfaces for tests * mock data and tests * adds db store * completes db store * test works * cleanup and fixes * cleanup and fixes * tests * relayer progress * finish tests * formatting * move the interim finalized header check * fix ci * fix ci * adds working dir * go mod download * version * wrap go version * update * add gopath to bin * install sszgen * missing go install * remove build * skip utility tests * remove unused file * remove test line * rename method * refactor method * Fix compile error and breaking tests * clean up imports * fix duplicate import --------- Co-authored-by: claravanstaden <Cats 4 life!> Co-authored-by: ron <[email protected]>
- Loading branch information
1 parent
77652c1
commit 8a51ac9
Showing
43 changed files
with
1,862 additions
and
317 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: relayer | ||
|
||
on: | ||
push: | ||
paths: | ||
- "relayer/**" | ||
branches: | ||
- main | ||
pull_request: | ||
paths: | ||
- "relayer/**" | ||
|
||
jobs: | ||
build: | ||
runs-on: snowbridge-runner | ||
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: setup go | ||
uses: actions/checkout@v4 | ||
with: | ||
go-version: '^1.20.1' | ||
|
||
- name: check go version | ||
run: go version | ||
|
||
- name: install dependencies | ||
working-directory: relayer | ||
run: go mod download | ||
|
||
- name: Add gopath to bin | ||
run: echo "$HOME/go/bin" >> $GITHUB_PATH | ||
|
||
- name: test | ||
working-directory: relayer | ||
run: go test -v ./... |
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
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
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
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
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
Oops, something went wrong.