Skip to content

Commit

Permalink
nit: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
leovct committed Mar 19, 2024
1 parent ad47da0 commit ea172b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cdk/templates/run-contract-setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# This script is responsbile for deploying the contracts for zkEVM/CDK
# This script is responsible for deploying the contracts for zkEVM/CDK
# and also creating the various configuration files needed for all
# components
export MNEMONIC="{{.l1_preallocated_mnemonic}}"
Expand Down Expand Up @@ -148,11 +148,11 @@ cast send --private-key "{{.zkevm_l2_admin_private_key}}" --rpc-url "{{.l1_rpc_u
# The DAC needs to be enabled with a call to set the DA protocol
cast send --private-key "{{.zkevm_l2_admin_private_key}}" --rpc-url "{{.l1_rpc_url}}" "$(jq -r '.rollupAddress' combined.json)" 'setDataAvailabilityProtocol(address)' "$(jq -r '.polygonDataCommitteeAddress' combined.json)"

# Grant the aggregator role to the agglayer so that it can also verify bathces
# Grant the aggregator role to the agglayer so that it can also verify batches
# cast keccak "TRUSTED_AGGREGATOR_ROLE"
cast send --private-key "{{.zkevm_l2_admin_private_key}}" --rpc-url "{{.l1_rpc_url}}" "$(jq -r '.polygonRollupManagerAddress' combined.json)" 'grantRole(bytes32,address)' "0x084e94f375e9d647f87f5b2ceffba1e062c70f6009fdbcf80291e803b5c9edd4" "{{.zkevm_l2_agglayer_address}}"

# the parseethwallet command is creating a go-ethereum style encrypted
# The parseethwallet command is creating a go-ethereum style encrypted
# keystore to be used with the zkevm / cdk-validium node
polycli parseethwallet --hexkey "{{.zkevm_l2_sequencer_private_key}}" --password "{{.zkevm_l2_keystore_password}}" --keystore tmp.keys
mv tmp.keys/UTC* sequencer.keystore
Expand Down
3 changes: 3 additions & 0 deletions permissionless-node/params.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# Deployment suffix that will be appended to all the resources deployed by the permissionless package.
# WARNING: When deploying both the CDK and permissionless package, ensure the permissionless package's
# deployment suffix differs from the CDK environment's suffix to prevent naming clashes.
deployment_suffix: "-pless-001"

# Components to connect to
Expand Down

0 comments on commit ea172b6

Please sign in to comment.