-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: deploy entrypoint (#508) * feat: deploy entrypoint * update depl * register on AM * deploy bundler helper * fix: src/runop * fix: integ tests * use dockerfile packages * add solc * move aa_deployer to docker-compose side * add paymaster deploy scripts (cherry picked from commit 9be4fc0) * patch proxyd validId (#543) * patch proxyd validId * patch proxyd validId patch proxyd validId (cherry picked from commit aa4a7fd) --------- Co-authored-by: Souradeep Das <[email protected]>
- Loading branch information
1 parent
d32e939
commit edd21de
Showing
25 changed files
with
738 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -439,4 +439,4 @@ services: | |
source: ./seed.yaml | ||
target: /init/seed.yaml | ||
ports: | ||
- 8888:8888 | ||
- 8888:8888 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
FROM bobanetwork/builder AS builder | ||
FROM node:14-alpine | ||
|
||
RUN apk add --no-cache git curl bash jq | ||
WORKDIR /opt/optimism/ | ||
|
||
COPY --from=builder /optimism/*.json /optimism/yarn.lock ./ | ||
COPY --from=builder /optimism/node_modules ./node_modules | ||
|
||
WORKDIR /opt/optimism/packages/contracts | ||
COPY --from=builder /optimism/packages/contracts/dist ./dist | ||
COPY --from=builder /optimism/packages/contracts/*.json ./ | ||
COPY --from=builder /optimism/packages/contracts/node_modules ./node_modules | ||
COPY --from=builder /optimism/packages/contracts/artifacts ./artifacts | ||
COPY --from=builder /optimism/packages/contracts/deployments ./deployments | ||
|
||
# get the built artifacts | ||
WORKDIR /opt/optimism/packages/boba/account-abstraction | ||
COPY --from=builder /optimism/packages/boba/account-abstraction/tsconfig.json ./tsconfig.json | ||
COPY --from=builder /optimism/packages/boba/account-abstraction/package.json ./package.json | ||
COPY --from=builder /optimism/packages/boba/account-abstraction/node_modules ./node_modules | ||
COPY --from=builder /optimism/packages/boba/account-abstraction/artifacts ./artifacts | ||
|
||
# Copy solc compilers | ||
|
||
# get static artifacts from the host | ||
COPY packages/boba/account-abstraction/bin ./bin | ||
COPY packages/boba/account-abstraction/contracts ./contracts | ||
COPY packages/boba/account-abstraction/hardhat.config.ts ./ | ||
COPY packages/boba/account-abstraction/deploy ./deploy | ||
COPY packages/boba/account-abstraction/scripts ./scripts | ||
COPY packages/boba/account-abstraction/tasks ./tasks | ||
|
||
|
||
RUN chmod +x ./scripts/wait-for-l1-and-l2.sh | ||
RUN chmod +x ./scripts/deployer.sh | ||
|
||
ENTRYPOINT ["./scripts/wait-for-l1-and-l2.sh", "./scripts/deployer.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
L1_NODE_WEB3_URL=http://localhost:9545 | ||
L2_NODE_WEB3_URL=http://localhost:8545 | ||
ADDRESS_MANAGER_ADDRESS=0x5FbDB2315678afecb367f032d93F642f64180aa3 | ||
DEPLOYER_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 | ||
URL=http://localhost:8080 | ||
BOBA_URL=http://localhost:8078/addresses.json |
Oops, something went wrong.