Skip to content

Commit

Permalink
Merge pull request #362 from 0xPolygon/jhilliard/default-speedup
Browse files Browse the repository at this point in the history
Enabling L2 Deployment for CI Tests Only
  • Loading branch information
praetoriansentry authored Nov 7, 2024
2 parents 23694ed + e374ff2 commit 2b41a81
Show file tree
Hide file tree
Showing 17 changed files with 22 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ args:
zkevm_bridge_service_image: hermeznetwork/zkevm-bridge-service:v0.6.0-RC1
additional_services:
- tx_spammer
deploy_l2_contracts: true
consensus_contract_type: rollup
sequencer_type: zkevm
deployment_stages:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ args:
zkevm_bridge_service_image: hermeznetwork/zkevm-bridge-service:v0.6.0-RC1
additional_services:
- tx_spammer
deploy_l2_contracts: true
consensus_contract_type: cdk-validium
sequencer_type: erigon
1 change: 1 addition & 0 deletions .github/tests/combinations/fork11-new-cdk-stack-rollup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ args:
zkevm_bridge_service_image: hermeznetwork/zkevm-bridge-service:v0.6.0-RC1
additional_services:
- tx_spammer
deploy_l2_contracts: true
consensus_contract_type: rollup
sequencer_type: erigon
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ args:
zkevm_bridge_service_image: hermeznetwork/zkevm-bridge-service:v0.6.0-RC1
additional_services:
- tx_spammer
deploy_l2_contracts: true
consensus_contract_type: cdk-validium
sequencer_type: erigon
1 change: 1 addition & 0 deletions .github/tests/combinations/fork12-new-cdk-stack-rollup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ args:
zkevm_bridge_service_image: hermeznetwork/zkevm-bridge-service:v0.6.0-RC1
additional_services:
- tx_spammer
deploy_l2_contracts: true
consensus_contract_type: rollup
sequencer_type: erigon
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ args:
zkevm_bridge_service_image: hermeznetwork/zkevm-bridge-service:v0.6.0-RC1
additional_services:
- tx_spammer
deploy_l2_contracts: true
consensus_contract_type: cdk-validium
sequencer_type: erigon
1 change: 1 addition & 0 deletions .github/tests/combinations/fork13-new-cdk-stack-rollup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ args:
zkevm_bridge_service_image: hermeznetwork/zkevm-bridge-service:v0.6.0-RC1
additional_services:
- tx_spammer
deploy_l2_contracts: true
consensus_contract_type: rollup
sequencer_type: erigon
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ args:
additional_services:
- pless_zkevm_node
- tx_spammer
deploy_l2_contracts: true
consensus_contract_type: cdk-validium
sequencer_type: zkevm
deployment_stages:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ args:
additional_services:
- pless_zkevm_node
- tx_spammer
deploy_l2_contracts: true
consensus_contract_type: rollup
sequencer_type: zkevm
deployment_stages:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ args:
additional_services:
- pless_zkevm_node
- tx_spammer
deploy_l2_contracts: true
consensus_contract_type: cdk-validium
sequencer_type: erigon
1 change: 1 addition & 0 deletions .github/tests/combinations/fork9-new-cdk-stack-rollup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ args:
additional_services:
- pless_zkevm_node
- tx_spammer
deploy_l2_contracts: true
consensus_contract_type: rollup
sequencer_type: erigon
2 changes: 2 additions & 0 deletions .github/tests/forks/fork11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ args:

additional_services:
- tx_spammer

deploy_l2_contracts: true
2 changes: 2 additions & 0 deletions .github/tests/forks/fork12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ args:

additional_services:
- tx_spammer

deploy_l2_contracts: true
2 changes: 2 additions & 0 deletions .github/tests/forks/fork13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ args:

additional_services:
- tx_spammer

deploy_l2_contracts: true
2 changes: 2 additions & 0 deletions .github/tests/forks/fork9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ args:
additional_services:
- pless_zkevm_node
- tx_spammer

deploy_l2_contracts: true
4 changes: 2 additions & 2 deletions input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ DEFAULT_DEPLOYMENT_STAGES = {
# TODO: Remove this parameter to incorporate cdk-erigon inside the central environment.
"deploy_cdk_erigon_node": True,
# Deploy contracts on L2 (as well as fund accounts).
"deploy_l2_contracts": True,
"deploy_l2_contracts": False,
}

DEFAULT_IMAGES = {
"agglayer_image": "ghcr.io/agglayer/agglayer:0.2.0-rc.5", # https://github.com/agglayer/agglayer/pkgs/container/agglayer-rs
"cdk_erigon_node_image": "hermeznetwork/cdk-erigon:v2.1.2", # https://hub.docker.com/r/hermeznetwork/cdk-erigon/tags
"cdk_node_image": "ghcr.io/0xpolygon/cdk:0.4.0-beta4", # https://github.com/0xpolygon/cdk/pkgs/container/cdk
"cdk_node_image": "ghcr.io/0xpolygon/cdk:0.4.0-beta5", # https://github.com/0xpolygon/cdk/pkgs/container/cdk
"cdk_validium_node_image": "0xpolygon/cdk-validium-node:0.7.0-cdk", # https://hub.docker.com/r/0xpolygon/cdk-validium-node/tags
"zkevm_bridge_proxy_image": "haproxy:3.0-bookworm", # https://hub.docker.com/_/haproxy/tags
"zkevm_bridge_service_image": "hermeznetwork/zkevm-bridge-service:v0.6.0-RC1", # https://hub.docker.com/r/hermeznetwork/zkevm-bridge-service/tags
Expand Down
2 changes: 1 addition & 1 deletion templates/contract-deploy/deploy_parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"initialZkEVMDeployerOwner": "{{.zkevm_l2_admin_address}}",
"maxFeePerGas": "",
"maxPriorityFeePerGas": "",
"minDelayTimelock": 3600,
"minDelayTimelock": 60,
"multiplierGas": "",
"pendingStateTimeout": 604799,
"polTokenAddress":"",
Expand Down

0 comments on commit 2b41a81

Please sign in to comment.