Skip to content

Commit 29b44e2

Browse files
last wee bit
1 parent 8db8317 commit 29b44e2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/cdk/how-to/integrate-da.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,12 @@ This section shows you how to deploy the Docker image containing your custom DAC
112112
sudo chmod -R go+rxw docker/gethData before docker build -t hermeznetwork/geth-zkevm-contracts -f docker/Dockerfile .
113113
```
114114
115-
5. In the [deployment/v2/4_createRollup.ts](https://github.com/0xPolygonHermez/zkevm-contracts/blob/develop/deployment/v2/4_createRollup.ts) file, uncomment the following:
115+
5. In the [deployment/v2/4_createRollup.ts](https://github.com/0xPolygonHermez/zkevm-contracts/blob/develop/deployment/v2/4_createRollup.ts) file, uncomment the following lines, and add a `console.log` output that grabs the address of the DAC:
116116
117117
```ts
118-
// // Setup data committee to 0
119-
// await (await polygonDataCommittee?.setupCommittee(0, [], "0x")).wait();
118+
// Setup data committee to 0
119+
await (await polygonDataCommittee?.setupCommittee(0, [], "0x")).wait();
120+
console.log(dataAvailabilityProtocol, "deployed to:", polygonDataCommittee.target);
120121
```
121122
122123
6. Build the image with the following commands:

0 commit comments

Comments
 (0)