Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Aug 29, 2024
1 parent 5186041 commit c747055
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 32 deletions.
6 changes: 3 additions & 3 deletions .env.server.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

# op-proposer configuration
POLL_INTERVAL=
ROLLUP_RPC=
L2_NODE_RPC=
L2OO_ADDRESS=
PRIVATE_KEY=
L1_ETH_RPC=
BEACON_RPC=
L1_RPC=
L1_BEACON_RPC=
L2_CHAIN_ID=
MAX_CONCURRENT_PROOF_REQUESTS=
MAX_BLOCK_RANGE_PER_SPAN_PROOF=30
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/op_proposer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,22 @@ jobs:
L2_NODE_RPC: ${{ secrets.L2_NODE_RPC }}
L1_RPC: ${{ secrets.L1_RPC }}
L1_BEACON_RPC: ${{ secrets.L1_BEACON_RPC }}
docker-compose-test:
name: Docker Compose Test
runs-on:
- runs-on
- runner=64cpu-linux-x64
- run-id=${{ github.run_id }}
steps:
- uses: actions/checkout@v4

- name: Set up Docker Compose
uses: docker/setup-buildx-action@v1

- name: Build and test Docker Compose setup
run: |
docker compose build
docker compose up -d
docker compose ps
# Add health checks or tests here
docker compose down
File renamed without changes.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ data
# zip
**.zip

# vscode
.vscode

# .env
.env
.env.server
Expand Down
21 changes: 0 additions & 21 deletions .vscode/settings.json

This file was deleted.

Binary file modified elf/range-elf
Binary file not shown.
6 changes: 3 additions & 3 deletions op-proposer-go/proposer/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ var (
L1EthRpcFlag = &cli.StringFlag{
Name: "l1-eth-rpc",
Usage: "HTTP provider URL for L1",
EnvVars: prefixEnvVars("L1_ETH_RPC"),
EnvVars: prefixEnvVars("L1_RPC"),
}
RollupRpcFlag = &cli.StringFlag{
Name: "rollup-rpc",
Usage: "HTTP provider URL for the rollup node. A comma-separated list enables the active rollup provider.",
EnvVars: prefixEnvVars("ROLLUP_RPC"),
EnvVars: prefixEnvVars("L2_NODE_RPC"),
}
BeaconRpcFlag = &cli.StringFlag{
Name: "beacon-rpc",
Usage: "HTTP provider URL for the beacon node",
EnvVars: prefixEnvVars("BEACON_RPC"),
EnvVars: prefixEnvVars("L1_BEACON_RPC"),
}
L2ChainIDFlag = &cli.Uint64Flag{
Name: "l2-chain-id",
Expand Down
2 changes: 0 additions & 2 deletions op-succinct-proposer/bin/load_stdin.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
use bincode;
use client_utils::RawBootInfo;
use host_utils::fetcher::SP1KonaDataFetcher;
use sp1_sdk::{utils, SP1Stdin};
use std::fs;

Expand Down
6 changes: 3 additions & 3 deletions op-succinct-proposer/op_proposer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

/usr/local/bin/op-proposer \
--poll-interval=${POLL_INTERVAL:-60s} \
--rollup-rpc=${ROLLUP_RPC} \
--rollup-rpc=${L2_NODE_RPC} \
--l2oo-address=${L2OO_ADDRESS} \
--private-key=${PRIVATE_KEY} \
--l1-eth-rpc=${L1_ETH_RPC} \
--beacon-rpc=${BEACON_RPC} \
--l1-eth-rpc=${L1_RPC} \
--beacon-rpc=${L1_BEACON_RPC} \
--l2-chain-id=${L2_CHAIN_ID} \
--max-concurrent-proof-requests=${MAX_CONCURRENT_PROOF_REQUESTS:-40} \
--db-path=/usr/local/bin/dbdata/proofs.db \
Expand Down

0 comments on commit c747055

Please sign in to comment.