Skip to content
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

feat: add ci #8

Merged
merged 72 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
99088cf
Initial Commit
yuwen01 Sep 10, 2024
a3d12b3
merged main
yuwen01 Sep 11, 2024
0b6b6b3
forgot merge tag
yuwen01 Sep 11, 2024
787a3ca
start upgrade rsp
yuwen01 Sep 11, 2024
bbb7312
merge yuwen/style-cleanup
yuwen01 Sep 11, 2024
01b350d
cleanup
yuwen01 Sep 12, 2024
627cb08
start
yuwen01 Sep 12, 2024
f71e535
fixed readme, comment punctuation
yuwen01 Sep 12, 2024
028be8c
more punctuation and stuff
yuwen01 Sep 12, 2024
5a7333b
readme small fixes
yuwen01 Sep 12, 2024
e422337
remove 'we'
yuwen01 Sep 12, 2024
a781dfb
merge style fixes
yuwen01 Sep 12, 2024
1ff20c6
use jonathan's trait
yuwen01 Sep 12, 2024
77ea5a8
cleanup
yuwen01 Sep 12, 2024
0e297d2
some more small fixes
yuwen01 Sep 12, 2024
aa9a439
removed some comments
yuwen01 Sep 12, 2024
180548c
merge upgrade-rsp
yuwen01 Sep 12, 2024
fe965dc
merge main
yuwen01 Sep 12, 2024
7ddca9a
merge upgrade-rsp
yuwen01 Sep 12, 2024
c3b64fa
merge main
yuwen01 Sep 13, 2024
2ce1d03
abi encode public outputs
yuwen01 Sep 13, 2024
ac96154
cleanup + fix multiplexer
yuwen01 Sep 13, 2024
9ec4b34
remove unused imports
yuwen01 Sep 13, 2024
f67fbda
make contract output generic
yuwen01 Sep 14, 2024
024b336
small cleanup
yuwen01 Sep 14, 2024
a7fe332
fixed heinous typos in multiplexer
yuwen01 Sep 14, 2024
b23805d
document new contractoutput
yuwen01 Sep 14, 2024
ce206c5
restructured multiplexeroutput struct
yuwen01 Sep 14, 2024
b1f315f
uncommented addresses
yuwen01 Sep 14, 2024
0d3fe0a
use plonk for multiplexer proof
yuwen01 Sep 14, 2024
6ba402c
get started adding ci
yuwen01 Sep 14, 2024
2b35d3b
serialize everything separately in multiplexer
yuwen01 Sep 15, 2024
8933354
rename contractoutput to contractpublicvalues
yuwen01 Sep 16, 2024
67d40ea
another small refactor
yuwen01 Sep 16, 2024
88e47cf
run examples ci test
yuwen01 Sep 16, 2024
6774552
started adding integration test
yuwen01 Sep 16, 2024
4dc8cb3
Merge branch 'yuwen/check-block-hash' into yuwen/add-ci
yuwen01 Sep 16, 2024
6e96950
added e2e test
yuwen01 Sep 16, 2024
482f745
added test to pr.yml
yuwen01 Sep 16, 2024
3f6422e
small fixes
yuwen01 Sep 16, 2024
b1d62b4
use latest block in e2e test
yuwen01 Sep 16, 2024
886c0dc
everyone uses eth_rpc_url now
yuwen01 Sep 16, 2024
b16bc95
added another integration test for multiplexer
yuwen01 Sep 16, 2024
4e75f11
small cleanup + clarification
yuwen01 Sep 16, 2024
4c6532d
resize instances
yuwen01 Sep 16, 2024
ae3f87f
another resize
yuwen01 Sep 16, 2024
05bd4f5
corrected formatting
yuwen01 Sep 16, 2024
1e236ff
corrected formatting again
yuwen01 Sep 16, 2024
358e426
corrected formatting again x2
yuwen01 Sep 16, 2024
163b94c
merge main
yuwen01 Sep 18, 2024
431ae4a
remove extra changes
yuwen01 Sep 18, 2024
70a37d4
try to verify plonk proof
yuwen01 Sep 18, 2024
43b3d65
try adding sp1 setup stuff
yuwen01 Sep 18, 2024
1ad0bed
forgot to add
yuwen01 Sep 18, 2024
587082a
fix host tet
yuwen01 Sep 18, 2024
38af22b
try using jonathans rsp testing setup
yuwen01 Sep 18, 2024
c836a64
use jonathans rsp testing setup for integration tests too
yuwen01 Sep 18, 2024
35692bf
try another block ...
yuwen01 Sep 18, 2024
b42e3f0
use secret rpc url
yuwen01 Sep 18, 2024
b18a0e9
change run config a little
yuwen01 Sep 18, 2024
13c4485
try add sp1 stuff
yuwen01 Sep 18, 2024
d39a233
try chmod
yuwen01 Sep 18, 2024
5619ab2
try sudo
yuwen01 Sep 18, 2024
fed30c4
add sudo
yuwen01 Sep 18, 2024
d3ecb02
sudo is pointless
yuwen01 Sep 18, 2024
5722eca
oops
yuwen01 Sep 18, 2024
3b46afd
full backtrace
yuwen01 Sep 18, 2024
595a440
copy more runs-on
yuwen01 Sep 18, 2024
907b08c
add more env
yuwen01 Sep 18, 2024
4e7ab13
add more env
yuwen01 Sep 18, 2024
6141fda
no more dev
yuwen01 Sep 18, 2024
786ca11
removed comment
yuwen01 Sep 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: PR

on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
example:
name: Uniswap example
runs-on:
[
runs-on,
cpu=64,
ram=256,
family=m7i+m7a,
hdd=80,
image=ubuntu22-full-x64,
spot=false,
"run-id=${{ github.run_id }}",
]
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: "Install sp1up"
run: |
curl -L https://sp1.succinct.xyz | bash
echo "$HOME/.sp1/bin" >> $GITHUB_PATH

- name: "Install SP1 toolchain"
run: |
sp1up

- name: "Set up RPC env"
run: |
echo "ETH_RPC_URL=${{secrets.ETH_RPC_URL}}" >> $GITHUB_ENV

- name: Run uniswap script
uses: actions-rs/cargo@v1
with:
command: run
args:
--release --bin uniswap --ignore-rust-version
env:
RUSTFLAGS: -Copt-level=3 -Coverflow-checks=y -Cdebuginfo=0 -C target-cpu=native
RUST_BACKTRACE: full
RUST_LOG: info


test-e2e:
name: Test
runs-on: ["runs-on", "runner=32cpu-linux-x64", "run-id=${{ github.run_id }}"]
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
steps:
- name: "Checkout sources"
uses: actions/checkout@v4

- name: "Set up RPC env"
run: |
echo "ETH_RPC_URL=${{secrets.ETH_RPC_URL}}" >> $GITHUB_ENV

- name: "Run integration test"
run: |
SP1_DEV=1 RUST_LOG=info cargo test -p sp1-cc-host-executor --release -- --nocapture




Loading
Loading