-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable suapp-examples integration test on ci #161
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Integration examples | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
|
||
jobs: | ||
suapp-examples: | ||
name: Devenv | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ^1.20 | ||
id: go | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run dev environment | ||
run: docker-compose -f ./suave/e2e/docker-compose.yml up -d --build | ||
|
||
- name: Check out suapp-examples | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: flashbots/suapp-examples | ||
path: suapp-examples | ||
|
||
- name: Build suapp-examples | ||
run: | | ||
cd suapp-examples | ||
forge build | ||
|
||
- name: Run suapp-examples | ||
run: | | ||
cd suapp-examples | ||
make run-integration |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
version: "3.8" | ||
|
||
services: | ||
suave-mevm: | ||
build: ../.. | ||
command: | ||
- --suave.dev | ||
- --suave.eth.remote_endpoint=http://suave-enabled-chain:8545 | ||
- --suave.eth.external-whitelist=172.17.0.1 | ||
depends_on: | ||
- suave-enabled-chain | ||
ports: | ||
- 8545:8545 | ||
networks: | ||
- suave-net | ||
suave-enabled-chain: | ||
build: ../.. | ||
command: | ||
- --dev | ||
- --dev.gaslimit=30000000 | ||
- --http | ||
- --http.addr=0.0.0.0 | ||
- --http.vhosts=* | ||
- --http.corsdomain=* | ||
- --keystore=/keystore/keystore | ||
- --unlock=0xB5fEAfbDD752ad52Afb7e1bD2E40432A485bBB7F | ||
- --password=/keystore/password.txt | ||
ports: | ||
- 8555:8545 | ||
volumes: | ||
- ./suave-ex-node:/keystore | ||
networks: | ||
- suave-net | ||
networks: | ||
suave-net: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: missing newline at EOF |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"address":"b5feafbdd752ad52afb7e1bd2e40432a485bbb7f","crypto":{"cipher":"aes-128-ctr","ciphertext":"8075ff2ed17c6cf6cd162b4bdd2926034e2067f03055990d57510e5d807ef06e","cipherparams":{"iv":"8c31b77d9518a68fda4aa6c90d62562d"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"6e55b1eea32430c4dc0b87cfc31168d552249b8ba946314e3c41dbeaeed3d125"},"mac":"5e411244fd732deb4464d247cfeb9beadc8a37558f12720c4d2ee8691436c50c"},"id":"51d12702-2276-44a9-972e-2011c56edf4e","version":3} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not required once we merge #161 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is missing an newline at the end of the file, as well :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.21?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied it from another workflow. Do not have any strong opinion about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to version 1.21 because of WASM/WASI support, which I imagine we'll eventually want.