Skip to content

Commit 2a7a93f

Browse files
authored
Merge branch 'main' into alex/3163_kms
2 parents aedf192 + f9c8717 commit 2a7a93f

5 files changed

Lines changed: 634 additions & 136 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,28 @@ jobs:
100100
-run='^TestSpamoorSuite$/^TestERC20Throughput$' -v -timeout=15m \
101101
./benchmark/ --evm-binary=../../../build/evm
102102
103+
defi-benchmark:
104+
name: DeFi Simulation Benchmark
105+
runs-on: ubuntu-latest
106+
timeout-minutes: 30
107+
steps:
108+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
109+
- name: Set up Go
110+
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
111+
with:
112+
go-version-file: ./go.mod
113+
- name: Set up Docker Buildx
114+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
115+
- name: Install just
116+
uses: extractions/setup-just@v3
117+
- name: Build binaries
118+
run: just build-evm build-da
119+
- name: Run DeFi simulation test
120+
run: |
121+
cd test/e2e && go test -tags evm \
122+
-run='^TestSpamoorSuite$/^TestDeFiSimulation$' -v -timeout=15m \
123+
./benchmark/ --evm-binary=../../../build/evm
124+
103125
# single job to push all results to gh-pages sequentially, avoiding race conditions
104126
publish-benchmarks:
105127
name: Publish Benchmark Results

.github/workflows/docs_deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ concurrency:
1919
group: pages
2020
cancel-in-progress: false
2121

22+
permissions:
23+
contents: write
24+
2225
jobs:
2326
# Build job
2427
build:
@@ -46,6 +49,6 @@ jobs:
4649
- name: Deploy to GitHub Pages
4750
uses: peaceiris/actions-gh-pages@v4
4851
with:
49-
github_token: ${{ secrets.PAT_DOCS }}
52+
github_token: ${{ secrets.GITHUB_TOKEN }}
5053
publish_dir: ./docs/.vitepress/dist
5154
cname: ev.xyz

.github/workflows/docs_preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@v6.0.2
25+
with:
26+
persist-credentials: false
2527

2628
- name: Setup Node
2729
uses: actions/setup-node@v6

0 commit comments

Comments
 (0)