-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libevm phase 2: Use libevm statedb from upstream (#1421)
Co-authored-by: Arran Schlosberg <[email protected]> Co-authored-by: Darioush Jalali <[email protected]> Co-authored-by: Michael Kaplan <[email protected]> Co-authored-by: Ceyhun Onur <[email protected]> Co-authored-by: Richard Pringle <[email protected]> Co-authored-by: Quentin McGaw <[email protected]> Co-authored-by: Meaghan FitzGerald <[email protected]> Co-authored-by: Quentin McGaw <[email protected]> Co-authored-by: mountcount <[email protected]> Co-authored-by: chuangjinglu <[email protected]> Co-authored-by: guqicun <[email protected]> Co-authored-by: Dmytrol <[email protected]> fix problematic const name and some typos in comment (#1400) fix some function names in interface comment (#1397) close database on shutdown (#1403) fix some function names in comment (#1405) Fix Typos in Documentation (#1404) fix test generator (#724)
- Loading branch information
Showing
518 changed files
with
4,145 additions
and
18,468 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
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,12 +17,11 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: ./scripts/lint_allowed_geth_imports.sh | ||
- run: ./scripts/lint_allowed_eth_imports.sh | ||
shell: bash | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.min_go_version }} | ||
check-latest: true | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
|
@@ -36,6 +35,10 @@ jobs: | |
- name: Run actionlint | ||
shell: bash | ||
run: scripts/actionlint.sh | ||
- name: go mod tidy | ||
run: | | ||
go mod tidy | ||
git diff --exit-code | ||
unit_test: | ||
name: Golang Unit Tests (${{ matrix.os }}) | ||
|
@@ -49,13 +52,19 @@ jobs: | |
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.min_go_version }} | ||
check-latest: true | ||
- name: Set timeout on Windows # Windows UT run slower and need a longer timeout | ||
shell: bash | ||
if: matrix.os == 'windows-latest' | ||
run: echo "TIMEOUT=1200s" >> "$GITHUB_ENV" | ||
- run: go mod download | ||
shell: bash | ||
- name: Mocks are up to date | ||
shell: bash | ||
run: | | ||
grep -lr -E '^// Code generated by MockGen\. DO NOT EDIT\.$' . | xargs -r rm | ||
go generate -run "go.uber.org/mock/mockgen" ./... | ||
git add --intent-to-add --all | ||
git diff --exit-code | ||
- run: ./scripts/build.sh | ||
shell: bash | ||
- run: ./scripts/build_test.sh | ||
|
@@ -77,7 +86,6 @@ jobs: | |
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.min_go_version }} | ||
check-latest: true | ||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
|
@@ -119,7 +127,6 @@ jobs: | |
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.min_go_version }} | ||
check-latest: true | ||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
|
@@ -140,7 +147,7 @@ jobs: | |
shell: bash | ||
run: ./scripts/build.sh | ||
- name: Run Warp E2E Tests | ||
uses: ava-labs/avalanchego/.github/actions/[email protected].11-monitoring-url | ||
uses: ava-labs/avalanchego/.github/actions/[email protected].13 | ||
with: | ||
run: AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego ./scripts/run_ginkgo_warp.sh | ||
prometheus_id: ${{ secrets.PROMETHEUS_ID || '' }} | ||
|
@@ -164,15 +171,14 @@ jobs: | |
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.min_go_version }} | ||
check-latest: true | ||
- name: Install AvalancheGo Release | ||
shell: bash | ||
run: BASEDIR=/tmp/e2e-test AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego ./scripts/install_avalanchego_release.sh | ||
- name: Build Subnet-EVM Plugin Binary | ||
shell: bash | ||
run: ./scripts/build.sh | ||
- name: Run E2E Load Tests | ||
uses: ava-labs/avalanchego/.github/actions/[email protected].11-monitoring-url | ||
uses: ava-labs/avalanchego/.github/actions/[email protected].13 | ||
with: | ||
run: AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego ./scripts/run_ginkgo_load.sh | ||
prometheus_id: ${{ secrets.PROMETHEUS_ID || '' }} | ||
|
@@ -184,19 +190,6 @@ jobs: | |
if: always() | ||
with: | ||
name: load-tmpnet-data | ||
mock_gen: | ||
name: MockGen Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ env.min_go_version }} | ||
check-latest: true | ||
- shell: bash | ||
run: scripts/mock.gen.sh | ||
- shell: bash | ||
run: .github/workflows/check-clean-branch.sh | ||
test_build_image: | ||
name: Image build | ||
runs-on: ubuntu-latest | ||
|
@@ -213,7 +206,6 @@ jobs: | |
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.min_go_version }} | ||
check-latest: true | ||
- name: Install AvalancheGo Release | ||
shell: bash | ||
run: BASEDIR=/tmp/e2e-test AVALANCHEGO_BUILD_PATH=/tmp/e2e-test/avalanchego ./scripts/install_avalanchego_release.sh | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,9 @@ The Subnet EVM runs in a separate process from the main AvalancheGo process and | |
[v0.6.9] [email protected] (Protocol Version: 37) | ||
[v0.6.10] [email protected] (Protocol Version: 37) | ||
[v0.6.11] [email protected] (Protocol Version: 37) | ||
[v0.6.12] [email protected]/v1.12.0 (Protocol Version: 38) | ||
[v0.7.0] [email protected] (Protocol Version: 38) | ||
[v0.7.1] [email protected] (Protocol Version: 38) | ||
``` | ||
|
||
## API | ||
|
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
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.