I cloned the repo and wasn't able to build anything using the normal methods. For example 'make' at the top level gives:
# CI will checkout submodules on its own (and fails on these commands)
if [ -z "$GITHUB_ENV" ]; then \
git submodule init; \
git submodule update; \
fi
make -C ./op-node op-node
make[1]: Entering directory '/home/enya/boba-v3/op-node'
env GO111MODULE=on go build -v -ldflags "-X main.GitCommit=c010ecc715174ec37cd5d51f82fb4dbfaf7954aa -X main.GitDate=1660907593 -X github.com/ethereum-optimism/optimism/op-node/version.Version=v0.0.0 -X github.com/ethereum-optimism/optimism/op-node/version.Meta=" -o ./bin/op-node ./cmd/main.go
go: open /home/enya/boba-v3/batch-submitter/go.mod: no such file or directory
make[1]: *** [Makefile:12: op-node] Error 1
make[1]: Leaving directory '/home/enya/boba-v3/op-node'
make: *** [Makefile:31: op-node] Error 2
"yarn && yarn build" fails with:
lerna ERR! yarn run build stderr:
An unexpected error occurred:
Error: Cannot find module '/home/enya/boba-v3/node_modules/@eth-optimism/contracts-bedrock/dist/index'. Please verify that the package.json has a valid "main" entry
at tryPackage (node:internal/modules/cjs/loader:353:19)
at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/home/enya/boba-v3/node_modules/@eth-optimism/sdk/src/utils/contracts.ts:2:1)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
at Module.load (node:internal/modules/cjs/loader:981:32) {
code: 'MODULE_NOT_FOUND',
path: '/home/enya/boba-v3/node_modules/@eth-optimism/contracts-bedrock/package.json',
requestPath: '@eth-optimism/contracts-bedrock'
}
'cd ops ; docker-compose build':
WARN[0000] The "L2OO_ADDRESS" variable is not set. Defaulting to a blank string.
WARN[0000] The "SEQUENCER_GENESIS_HASH" variable is not set. Defaulting to a blank string.
WARN[0000] The "SEQUENCER_BATCH_INBOX_ADDRESS" variable is not set. Defaulting to a blank string.
[+] Building 0.0s (0/0)
could not find /home/enya/boba-v3/ops-bedrock: stat /home/enya/boba-v3/ops-bedrock: no such file or directory
'cd erigon ; docker-compose build':
=> CACHED [builder 2/5] RUN apk --no-cache add build-base linux-headers git bash ca-certificates libstdc++ 0.0s
=> CACHED [builder 3/5] WORKDIR /app 0.0s
=> CACHED [builder 4/5] ADD . . 0.0s
=> ERROR [builder 5/5] RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/tmp/go-build --mount=type=cache,target=/go/pkg/mod make all db-tools 36.2s
------
> [builder 5/5] RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/tmp/go-build --mount=type=cache,target=/go/pkg/mod make all db-tools:
#0 0.250 fatal: not a git repository: /app/../.git/modules/erigon
#0 0.250 fatal: not a git repository: /app/../.git/modules/erigon
#0 0.251 fatal: not a git repository: /app/../.git/modules/erigon
#0 0.252 Building erigon
I cloned the repo and wasn't able to build anything using the normal methods. For example 'make' at the top level gives:
"yarn && yarn build" fails with:
'cd ops ; docker-compose build':
'cd erigon ; docker-compose build':