Skip to content

Commit

Permalink
Merge pull request #1 from bobanetwork/add-boba-devnet
Browse files Browse the repository at this point in the history
Add boba devnet
  • Loading branch information
boyuan-chen authored Oct 17, 2024
2 parents 323d7ef + 272e45f commit 4f45b3a
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 16 deletions.
37 changes: 21 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,27 @@ jobs:
DOCKER_REGISTRY: us-docker.pkg.dev

steps:
- uses: 'actions/checkout@v4'
- uses: 'actions/checkout@v4'

- name: Authenticate to GCP using Workload Identity Federation
uses: google-github-actions/auth@v2
with:
workload_identity_provider: '${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}'
service_account: '${{ secrets.SERVICE_ACCOUNT }}'
- name: Authenticate to GCP using Workload Identity Federation
id: auth
uses: google-github-actions/auth@v2
with:
token_format: 'access_token'
project_id: ${{ secrets.GCP_PROJECT_ID }}
workload_identity_provider: '${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}'
service_account: '${{ secrets.SERVICE_ACCOUNT }}'

- name: Build op-proposer
run: |
cd programs/proposer
cargo build --release
- name: Docker Auth
id: docker-auth
uses: 'docker/login-action@v1'
with:
username: 'oauth2accesstoken'
password: '${{ steps.auth.outputs.access_token }}'
registry: ${{ env.DOCKER_REGISTRY }}

- name: Push to GCP
run: |
gcloud auth configure-docker $DOCKER_REGISTRY
docker build -f Dockerfile.op_proposer -t $$DOCKER_REGISTRY/${{ secrets.GCP_PROJECT_ID }}/op-succinct-proposer:${{ github.ref_name }} .
docker push $$DOCKER_REGISTRY/${{ secrets.GCP_PROJECT_ID }}/op-succinct-proposer:${{ github.ref_name }}
working-directory: proposer/op
- name: Push to GCP
run: |
gcloud auth configure-docker ${{ env.DOCKER_REGISTRY }}
docker build . -f proposer/op/Dockerfile.op_proposer -t ${{ env.DOCKER_REGISTRY }}/${{ secrets.GCP_REPO }}/op-succinct-proposer:${{ github.ref_name }}
docker push ${{ env.DOCKER_REGISTRY }}/${{ secrets.GCP_REPO }}/op-succinct-proposer:${{ github.ref_name }}
49 changes: 49 additions & 0 deletions configs/288882/rollup.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"genesis": {
"l1": {
"number": 6576100,
"hash": "0xb6404ecff691edd6895c474f4dfca5b3e27b92a19deabd80cbe05c75c1b4c924"
},
"l2": {
"number": 0,
"hash": "0xe919706177d2c568ed21a4b443d421c8098b4e453a29bd432258fab3f7fe1d07"
},
"l2_time": 1724692140,
"system_config": {
"batcherAddr": "0xe40d3fB61A6a9e16ffD17ae4Ed225dE00a4B16fd",
"overhead": "0xbc",
"scalar": "0xa6fe0",
"gasLimit": 30000000,
"baseFeeScalar": null,
"blobBaseFeeScalar": null,
"eip1559Denominator": null,
"eip1559Elasticity": null
}
},
"block_time": 2,
"max_sequencer_drift": 600,
"seq_window_size": 3600,
"channel_timeout": 300,
"granite_channel_timeout": 50,
"l1_chain_id": 11155111,
"l2_chain_id": 288882,
"base_fee_params": {
"max_change_denominator": "0x32",
"elasticity_multiplier": "0x6"
},
"canyon_base_fee_params": {
"max_change_denominator": "0xfa",
"elasticity_multiplier": "0x6"
},
"regolith_time": 0,
"canyon_time": 1724692140,
"delta_time": 1724692140,
"ecotone_time": 1724692141,
"fjord_time": 1724692150,
"granite_time": 1724914800,
"batch_inbox_address": "0xfff0000000000000000000000000000000288882",
"deposit_contract_address": "0xd00d5cc5620697a31014e5594aabba590793836d",
"l1_system_config_address": "0xcc3c025036612b849340d6866ec0bd4d2d794a36",
"protocol_versions_address": "0x0000000000000000000000000000000000000000",
"da_challenge_address": "0x0000000000000000000000000000000000000000"
}

0 comments on commit 4f45b3a

Please sign in to comment.