Skip to content

Commit

Permalink
Pin to gibraltar release
Browse files Browse the repository at this point in the history
  • Loading branch information
jbearer committed Jan 19, 2024
1 parent 92a0550 commit ce7da8a
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 36 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
[submodule "blockscout"]
path = blockscout
url = https://github.com/blockscout/blockscout.git
[submodule "espresso-sequencer"]
path = espresso-sequencer
url = https://github.com/EspressoSystems/espresso-sequencer.git
[submodule "packages/contracts-bedrock/lib/safe-contracts"]
path = packages/contracts-bedrock/lib/safe-contracts
url = https://github.com/safe-global/safe-contracts
Expand Down
1 change: 0 additions & 1 deletion espresso-sequencer
Submodule espresso-sequencer deleted from b73a18
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@

# Docker
docker-compose # provides the `docker-compose` command
docker-buildx

# Python
(python3.withPackages (ps: with ps; [ ]))
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/BurntSushi/toml v1.3.2
github.com/EspressoSystems/espresso-sequencer-go v0.0.1
github.com/EspressoSystems/espresso-sequencer-go v0.0.4-0.20240119201042-f10be20e9982
github.com/btcsuite/btcd v0.23.3
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8
github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/DataDog/zstd v1.5.2 h1:vUG4lAyuPCXO0TLbXvPv7EB7cNK1QV/luu55UHLrrn8=
github.com/DataDog/zstd v1.5.2/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw=
github.com/EspressoSystems/espresso-sequencer-go v0.0.1 h1:8Es2XVLJQoHvq9m4A7MfB3s33cZZmmiM/QhjZ9iiSxw=
github.com/EspressoSystems/espresso-sequencer-go v0.0.1/go.mod h1:T3MyQRnfbCSTBhAAG2WASmVPCwWkl0/sPKKY5Z1ewtg=
github.com/EspressoSystems/espresso-sequencer-go v0.0.4-0.20240119201042-f10be20e9982 h1:FfnfjZpPSGrsXLjvhv5MxnRLNtMNuqre/fZN3u9+dJM=
github.com/EspressoSystems/espresso-sequencer-go v0.0.4-0.20240119201042-f10be20e9982/go.mod h1:T3MyQRnfbCSTBhAAG2WASmVPCwWkl0/sPKKY5Z1ewtg=
github.com/EspressoSystems/op-geth v1.2.6-espresso h1:nqdw9EvEn5K37vvSTPeOkTow2AwTqxLD68Qv055OwcY=
github.com/EspressoSystems/op-geth v1.2.6-espresso/go.mod h1:12W+vBetjYbDj5D2+V8hizke5yWuLrUDf7UmVkXTnCQ=
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
Expand Down
14 changes: 7 additions & 7 deletions op-e2e/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: '3.4'

services:
op-geth-proxy:
image: ghcr.io/espressosystems/op-espresso-integration/op-geth-proxy:integration
image: ghcr.io/espressosystems/op-espresso-integration/op-geth-proxy:release-gibraltar
build:
context: ../
dockerfile: ./op-geth-proxy/Dockerfile
Expand All @@ -19,7 +19,7 @@ services:
- "host.docker.internal:host-gateway"

orchestrator:
image: ghcr.io/espressosystems/espresso-sequencer/orchestrator:main
image: ghcr.io/espressosystems/espresso-sequencer/orchestrator:release-gibraltar
ports:
- "8080"
environment:
Expand All @@ -31,7 +31,7 @@ services:
- RUST_LOG

da-server:
image: ghcr.io/espressosystems/espresso-sequencer/web-server:main
image: ghcr.io/espressosystems/espresso-sequencer/web-server:release-gibraltar
ports:
- "8080"
environment:
Expand All @@ -42,7 +42,7 @@ services:
condition: service_healthy

consensus-server:
image: ghcr.io/espressosystems/espresso-sequencer/web-server:main
image: ghcr.io/espressosystems/espresso-sequencer/web-server:release-gibraltar
ports:
- "8080"
environment:
Expand All @@ -53,7 +53,7 @@ services:
condition: service_healthy

sequencer0:
image: ghcr.io/espressosystems/espresso-sequencer/sequencer:main
image: ghcr.io/espressosystems/espresso-sequencer/sequencer:release-gibraltar
ports:
- "8080"
# Run the API server (with options taken from the environment) and the optional submission API
Expand All @@ -74,7 +74,7 @@ services:
- "host.docker.internal:host-gateway"

sequencer1:
image: ghcr.io/espressosystems/espresso-sequencer/sequencer:main
image: ghcr.io/espressosystems/espresso-sequencer/sequencer:release-gibraltar
ports:
- "8080"
command: sequencer -- http -- query-fs -- status
Expand All @@ -93,7 +93,7 @@ services:
- "host.docker.internal:host-gateway"

commitment-task:
image: ghcr.io/espressosystems/espresso-sequencer/commitment-task:main
image: ghcr.io/espressosystems/espresso-sequencer/commitment-task:release-gibraltar
command: commitment-task --deploy
environment:
- ESPRESSO_SEQUENCER_URL=http://sequencer0:8080
Expand Down
8 changes: 8 additions & 0 deletions op-node/rollup/driver/sequencer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,14 @@ var _ derive.EspressoL1Provider = (*TestSequencer)(nil)

// Implement Espresso QueryService interface for TestSequencer.

func (s *TestSequencer) FetchLatestBlockHeight(ctx context.Context) (uint64, error) {
return uint64(len(s.espresso.Blocks)), nil
}

func (s *TestSequencer) FetchHeaderByHeight(ctx context.Context, height uint64) (espresso.Header, error) {
return *s.espressoBlock(height), nil
}

func (s *TestSequencer) FetchHeadersForWindow(ctx context.Context, start uint64, end uint64) (espressoClient.WindowStart, error) {
// Find the start of the range.
for i := uint64(0); ; i += 1 {
Expand Down
10 changes: 5 additions & 5 deletions ops-bedrock/demo-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ volumes:

services:
op-l2:
image: ghcr.io/espressosystems/op-espresso-integration/l2:integration
image: ghcr.io/espressosystems/op-espresso-integration/l2:release-gibraltar
build:
context: .
dockerfile: Dockerfile.l2
Expand All @@ -35,7 +35,7 @@ services:
- "--authrpc.jwtsecret=/config/test-jwt-secret.txt"

op-node:
image: ghcr.io/espressosystems/op-espresso-integration/op-node:integration
image: ghcr.io/espressosystems/op-espresso-integration/op-node:release-gibraltar
depends_on:
- op-l2
build:
Expand Down Expand Up @@ -80,7 +80,7 @@ services:
- op_log:/op_log

op-proposer:
image: ghcr.io/espressosystems/op-espresso-integration/op-proposer:integration
image: ghcr.io/espressosystems/op-espresso-integration/op-proposer:release-gibraltar
depends_on:
- op-l2
- op-node
Expand All @@ -103,7 +103,7 @@ services:
OP_PROPOSER_ALLOW_NON_FINALIZED: "true"

op-batcher:
image: ghcr.io/espressosystems/op-espresso-integration/op-batcher:integration
image: ghcr.io/espressosystems/op-espresso-integration/op-batcher:release-gibraltar
depends_on:
- op-l2
- op-node
Expand Down Expand Up @@ -131,7 +131,7 @@ services:
stop_grace_period: 1s

op-geth-proxy:
image: ghcr.io/espressosystems/op-espresso-integration/op-geth-proxy:integration
image: ghcr.io/espressosystems/op-espresso-integration/op-geth-proxy:release-gibraltar
build:
context: ../
dockerfile: ./op-geth-proxy/Dockerfile
Expand Down
34 changes: 17 additions & 17 deletions ops-bedrock/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
#

l1:
image: ghcr.io/espressosystems/op-espresso-integration/l1:integration
image: ghcr.io/espressosystems/op-espresso-integration/l1:release-gibraltar
build:
context: .
dockerfile: Dockerfile.l1
Expand Down Expand Up @@ -64,7 +64,7 @@ services:
#

op1-l2:
image: ghcr.io/espressosystems/op-espresso-integration/l2:integration
image: ghcr.io/espressosystems/op-espresso-integration/l2:release-gibraltar
build:
context: .
dockerfile: Dockerfile.l2
Expand All @@ -84,7 +84,7 @@ services:
GETH_MINER_RECOMMIT: 100ms

op1-node:
image: ghcr.io/espressosystems/op-espresso-integration/op-node:integration
image: ghcr.io/espressosystems/op-espresso-integration/op-node:release-gibraltar
depends_on:
- op_stack_go_builder
- l1
Expand Down Expand Up @@ -133,7 +133,7 @@ services:
- op1_log:/op_log

op1-proposer:
image: ghcr.io/espressosystems/op-espresso-integration/op-proposer:integration
image: ghcr.io/espressosystems/op-espresso-integration/op-proposer:release-gibraltar
depends_on:
- op_stack_go_builder
- l1
Expand Down Expand Up @@ -162,7 +162,7 @@ services:
OP_PROPOSER_RPC_ENABLE_ADMIN: "true"

op1-batcher:
image: ghcr.io/espressosystems/op-espresso-integration/op-batcher:integration
image: ghcr.io/espressosystems/op-espresso-integration/op-batcher:release-gibraltar
depends_on:
- op_stack_go_builder
- l1
Expand Down Expand Up @@ -195,7 +195,7 @@ services:
stop_grace_period: 1s

op1-geth-proxy:
image: ghcr.io/espressosystems/op-espresso-integration/op-geth-proxy:integration
image: ghcr.io/espressosystems/op-espresso-integration/op-geth-proxy:release-gibraltar
build:
context: ../
dockerfile: ./op-geth-proxy/Dockerfile
Expand Down Expand Up @@ -330,7 +330,7 @@ services:
#

op2-l2:
image: ghcr.io/espressosystems/op-espresso-integration/l2:integration
image: ghcr.io/espressosystems/op-espresso-integration/l2:release-gibraltar
build:
context: .
dockerfile: Dockerfile.l2
Expand All @@ -348,7 +348,7 @@ services:
- "--authrpc.jwtsecret=/config/test-jwt-secret.txt"

op2-node:
image: ghcr.io/espressosystems/op-espresso-integration/op-node:integration
image: ghcr.io/espressosystems/op-espresso-integration/op-node:release-gibraltar
depends_on:
- l1
- op2-l2
Expand Down Expand Up @@ -394,7 +394,7 @@ services:
- op2_log:/op_log

op2-proposer:
image: ghcr.io/espressosystems/op-espresso-integration/op-proposer:integration
image: ghcr.io/espressosystems/op-espresso-integration/op-proposer:release-gibraltar
depends_on:
- l1
- op2-l2
Expand All @@ -419,7 +419,7 @@ services:
OP_PROPOSER_ALLOW_NON_FINALIZED: "true"

op2-batcher:
image: ghcr.io/espressosystems/op-espresso-integration/op-batcher:integration
image: ghcr.io/espressosystems/op-espresso-integration/op-batcher:release-gibraltar
depends_on:
- l1
- op2-l2
Expand Down Expand Up @@ -448,7 +448,7 @@ services:
stop_grace_period: 1s

op2-geth-proxy:
image: ghcr.io/espressosystems/op-espresso-integration/op-geth-proxy:integration
image: ghcr.io/espressosystems/op-espresso-integration/op-geth-proxy:release-gibraltar
build:
context: ../
dockerfile: ./op-geth-proxy/Dockerfile
Expand Down Expand Up @@ -568,7 +568,7 @@ services:
#

orchestrator:
image: ghcr.io/espressosystems/espresso-sequencer/orchestrator:main
image: ghcr.io/espressosystems/espresso-sequencer/orchestrator:release-gibraltar
ports:
- "8080"
environment:
Expand All @@ -581,7 +581,7 @@ services:
stop_grace_period: 1s

da-server:
image: ghcr.io/espressosystems/espresso-sequencer/web-server:main
image: ghcr.io/espressosystems/espresso-sequencer/web-server:release-gibraltar
ports:
- "8080"
environment:
Expand All @@ -593,7 +593,7 @@ services:
stop_grace_period: 1s

consensus-server:
image: ghcr.io/espressosystems/espresso-sequencer/web-server:main
image: ghcr.io/espressosystems/espresso-sequencer/web-server:release-gibraltar
ports:
- "8080"
environment:
Expand All @@ -605,7 +605,7 @@ services:
stop_grace_period: 1s

commitment-task:
image: ghcr.io/espressosystems/espresso-sequencer/commitment-task:main
image: ghcr.io/espressosystems/espresso-sequencer/commitment-task:release-gibraltar
command: commitment-task --deploy
environment:
- ESPRESSO_SEQUENCER_URL=http://sequencer0:8080
Expand All @@ -622,7 +622,7 @@ services:
stop_grace_period: 1s

sequencer0:
image: ghcr.io/espressosystems/espresso-sequencer/sequencer:main
image: ghcr.io/espressosystems/espresso-sequencer/sequencer:release-gibraltar
ports:
- "50000:8080"
# Run the API server (with options taken from the environment) and the optional submission API
Expand All @@ -644,7 +644,7 @@ services:
stop_grace_period: 1s

sequencer1:
image: ghcr.io/espressosystems/espresso-sequencer/sequencer:main
image: ghcr.io/espressosystems/espresso-sequencer/sequencer:release-gibraltar
ports:
- "8080"
command: sequencer -- http -- query-fs -- status
Expand Down

0 comments on commit ce7da8a

Please sign in to comment.