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: migrate OPSuccinctL2OutputOracle to OptimismPortalV2 #277

Merged
merged 36 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
20bd110
forge install: solady
leruaa Dec 13, 2024
1f28ebe
feat: impl IDisputeGame for OPSuccinctL2OutputOracle
leruaa Dec 13, 2024
ca1eaa9
feat: update deployment
leruaa Dec 13, 2024
8418b7c
add a thin, clonable wrapper on OPSuccinctL2OutputOracle
leruaa Jan 3, 2025
cbcf629
add a test for OPSuccinctDisputeGame initialize()
leruaa Jan 6, 2025
e386e4e
use a more recent tx to make `testOPSuccinctDisputeGame` test pass
leruaa Jan 7, 2025
4bd230a
revert useless OPSuccinctL2OutputOracle IDisputeGame impl
leruaa Jan 7, 2025
f1dc0e8
add OPSuccinctDisputeGame bindings
leruaa Jan 7, 2025
0cb9d04
add OPSuccinctDisputeGameFactory
leruaa Jan 7, 2025
c8e529e
allow to propose output roots using DisputeGameFactory
leruaa Jan 7, 2025
3c9601a
init deployment scripts
leruaa Jan 9, 2025
f238d22
fix server in mock mode
leruaa Jan 9, 2025
b6fd11f
use DGF if the address is provided
leruaa Jan 9, 2025
34b3ef1
Merge branch 'main' into aurelien/dispute-game
leruaa Jan 10, 2025
8f6ba7c
fmt
leruaa Jan 10, 2025
3158d35
add deploy-dispute-game-factory to justfile
leruaa Jan 10, 2025
a90dd34
fix: don't disable logs on the server (#320)
leruaa Jan 10, 2025
4a317f9
feat: rc10 bump + fix mock mode (#323)
ratankaliani Jan 13, 2025
0a8b80e
add test for OPSuccinctL2OutputOracleFactory
leruaa Jan 13, 2025
67b93ed
update book
leruaa Jan 13, 2025
a3e4484
small fixes
leruaa Jan 13, 2025
eb54fad
impl ISemver
leruaa Jan 13, 2025
a684b65
set permissionless proposing in the deployment
leruaa Jan 13, 2025
344c464
OPSuccinctDisputeGameFactory: allow to change impl
leruaa Jan 13, 2025
8827da9
proposer small fixes
leruaa Jan 13, 2025
6e89ac2
don't pin op-deployer version for Kurtosis
leruaa Jan 13, 2025
9ce9ec8
forge fmt
leruaa Jan 14, 2025
abbc052
update book
leruaa Jan 14, 2025
9725fe5
small fixes
leruaa Jan 14, 2025
b9e9072
nits
leruaa Jan 15, 2025
5652806
add a to do for GameTypes.OP_SUCCINCT
leruaa Jan 15, 2025
903d0b0
feat(utils/client): add secp256r1 cycle tracking (#324)
fakedev9999 Jan 14, 2025
bfc7438
chore(proposer): add jq and nc to docker image (#322)
emilianobonassi Jan 14, 2025
23a53d7
feat(programs): Use allocator (#319)
ratankaliani Jan 15, 2025
64de2f0
docs: add troubleshooting.md (#325)
fakedev9999 Jan 15, 2025
6693663
chore: add ci for elf check (#326)
fakedev9999 Jan 15, 2025
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
1 change: 1 addition & 0 deletions .github/workflows/docker-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- ram=64
- family=m7a+m7i-flex
- image=ubuntu22-full-x64
- disk=large
- run-id=${{ github.run_id }}
steps:
- name: Checkout repository
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/elf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: ELF

on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:

jobs:
elf:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Install SP1 toolchain
run: |
curl -L https://sp1.succinct.xyz | bash
~/.sp1/bin/sp1up
~/.sp1/bin/cargo-prove prove --version
source ~/.bashrc
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Verify the OP Succinct binaries
run: |
# Build the binaries
cd programs/range
~/.sp1/bin/cargo-prove prove build --elf-name range-elf --docker --tag v4.0.0-rc.3
cd ../aggregation
~/.sp1/bin/cargo-prove prove build --elf-name aggregation-elf --docker --tag v4.0.0-rc.3
cd ../../

# Check for any changes in the elf directory
if [ -n "$(git status --porcelain elf/)" ]; then
echo "❌ ELF files changed during build!"
git diff elf/
exit 1
else
echo "✅ ELF files remained unchanged"
fi
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "contracts/lib/sp1-contracts"]
path = contracts/lib/sp1-contracts
url = https://github.com/succinctlabs/sp1-contracts
[submodule "contracts/lib/solady"]
path = contracts/lib/solady
url = https://github.com/vectorized/solady
Loading
Loading