Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: local configuration bumping kurtosis to 0.2.29 #176

Merged
merged 4 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
with:
repository: 0xPolygon/kurtosis-cdk
path: "kurtosis-cdk"
ref: "v0.2.18"
ref: "v0.2.19"

- name: Setup Bats and bats libs
uses: bats-core/bats-action@2.0.0
Expand Down
4 changes: 2 additions & 2 deletions scripts/local_config
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,10 @@ EOF
###############################################################################
function create_dest_folder(){
export DEST=${TMP_CDK_FOLDER}/local_config
export path_rw_data=${TMP_CDK_FOLDER}/runtime
export zkevm_path_rw_data=${TMP_CDK_FOLDER}/runtime
[ ! -d ${DEST} ] && mkdir -p ${DEST}
rm $DEST/*
mkdir $path_rw_data
mkdir $zkevm_path_rw_data
}
###############################################################################
function download_kurtosis_artifacts(){
Expand Down
1 change: 1 addition & 0 deletions test/combinations/fork11-rollup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ args:
zkevm_use_gas_token_contract: true
data_availability_mode: rollup
sequencer_type: erigon

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

2 changes: 2 additions & 0 deletions test/combinations/fork12-cdk-validium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ args:
zkevm_use_gas_token_contract: true
data_availability_mode: cdk-validium
sequencer_type: erigon


18 changes: 15 additions & 3 deletions test/config/kurtosis-cdk-node-config.toml.template
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
PathRWData = "/tmp/"
PathRWData = "{{.zkevm_path_rw_data}}/"
L1URL="{{.l1_rpc_url}}"
L2URL="http://{{.l2_rpc_name}}{{.deployment_suffix}}:{{.zkevm_rpc_http_port}}"
AggLayerURL="{{.agglayer_url}}"

ForkId = {{.zkevm_rollup_fork_id}}
IsValidiumMode = {{.is_cdk_validium}}

{{if eq .zkevm_rollup_fork_id "12"}}
ContractVersions = "banana"
{{else if eq .zkevm_rollup_fork_id "13"}}
# Doesn't look like this is needed at the moment, but soon perhaps?
# ContractVersions = "durian"
ContractVersions = "banana"
{{else}}
ContractVersions = "elderberry"
{{end}}
Expand Down Expand Up @@ -46,7 +51,10 @@ Outputs = ["stderr"]

[Aggregator]
Port = "{{.zkevm_aggregator_port}}"

RetryTime = "30s"
VerifyProofInterval = "10s"
GasOffset = 150000
SettlementBackend = "agglayer"
[Aggregator.DB]
Name = "{{.aggregator_db.name}}"
User = "{{.aggregator_db.user}}"
Expand All @@ -57,4 +65,8 @@ Outputs = ["stderr"]
MaxConns = 200

[AggSender]
SequencerPrivateKey = {Path = "{{or .zkevm_l2_agglayer_keystore_file "/pk/sequencer.keystore"}}", Password = "{{.zkevm_l2_agglayer_keystore_password}}"}
CertificateSendInterval = "1m"
CheckSettledInterval = "5s"
SaveCertificatesToFilesPath = "{{.zkevm_path_rw_data}}/"


Loading