Skip to content

Commit

Permalink
chore: bump kurtosis-cdk version to support pre-deployed gas token (#202
Browse files Browse the repository at this point in the history
)

* chore: kurtosis-cdk bump (gas token update)

* test

* chore: use new kurtosis-cdk tag

* chore: nit

* chore: clean up
  • Loading branch information
leovct authored and joanestebanr committed Nov 28, 2024
1 parent be1f73a commit 200331b
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 49 deletions.
41 changes: 11 additions & 30 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,17 @@ jobs:

- name: Build Docker
run: make build-docker

# this is better to get the action in
- name: Install kurtosis
shell: bash
run: |
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
sudo apt update
sudo apt install kurtosis-cli=1.4.1
kurtosis version
- name: Disable kurtosis analytics
shell: bash
run: kurtosis analytics disable

- name: Install yq
shell: bash
run: |
pip3 install yq
yq --version

- name: Checkout kurtosis-cdk
uses: actions/checkout@v4
with:
repository: 0xPolygon/kurtosis-cdk
path: kurtosis-cdk
ref: v0.2.22

- name: Install Kurtosis CDK tools
uses: ./kurtosis-cdk/.github/actions/setup-kurtosis-cdk

- name: Install polycli
run: |
POLYCLI_VERSION="${{ vars.POLYCLI_VERSION }}"
Expand All @@ -63,16 +54,6 @@ jobs:
sudo chmod +x /usr/local/bin/polycli
/usr/local/bin/polycli version
- name: Install foundry
uses: foundry-rs/foundry-toolchain@v1

- name: checkout kurtosis-cdk
uses: actions/checkout@v4
with:
repository: 0xPolygon/kurtosis-cdk
path: "kurtosis-cdk"
ref: "v0.2.21"

- name: Setup Bats and bats libs
uses: bats-core/[email protected]

Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/test-resequence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
path: cdk

- name: Checkout kurtosis-cdk
- name: Checkout cdk-erigon
uses: actions/checkout@v4
with:
repository: 0xPolygonHermez/cdk-erigon
Expand All @@ -34,21 +34,12 @@ jobs:
uses: actions/checkout@v4
with:
repository: 0xPolygon/kurtosis-cdk
ref: a7a80b7b5d98a69a23415ab0018e556257a6dfb6
path: kurtosis-cdk
ref: v0.2.22

- name: Install Kurtosis CDK tools
uses: ./kurtosis-cdk/.github/actions/setup-kurtosis-cdk

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Install yq
run: |
sudo curl -L https://github.com/mikefarah/yq/releases/download/v4.44.2/yq_linux_amd64 -o /usr/local/bin/yq
sudo chmod +x /usr/local/bin/yq
/usr/local/bin/yq --version
- name: Install polycli
run: |
POLYCLI_VERSION="${{ vars.POLYCLI_VERSION }}"
Expand Down
3 changes: 1 addition & 2 deletions test/combinations/fork11-rollup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ args:
cdk_erigon_node_image: hermeznetwork/cdk-erigon:v2.1.2
zkevm_node_image: hermeznetwork/zkevm-node:v0.7.0-fork11-RC1
cdk_node_image: cdk
zkevm_use_gas_token_contract: true
gas_token_enabled: true
data_availability_mode: rollup
sequencer_type: erigon

4 changes: 1 addition & 3 deletions test/combinations/fork12-cdk-validium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ args:
zkevm_prover_image: hermeznetwork/zkevm-prover:v8.0.0-RC12-fork.12
cdk_erigon_node_image: hermeznetwork/cdk-erigon:v2.1.2
cdk_node_image: cdk
zkevm_use_gas_token_contract: true
gas_token_enabled: true
data_availability_mode: cdk-validium
sequencer_type: erigon


2 changes: 1 addition & 1 deletion test/combinations/fork12-pessimistic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ args:
consensus_contract_type: pessimistic
sequencer_type: erigon
erigon_strict_mode: false
zkevm_use_gas_token_contract: true
gas_token_enabled: true
agglayer_prover_sp1_key: {{.agglayer_prover_sp1_key}}
enable_normalcy: true
2 changes: 1 addition & 1 deletion test/combinations/fork12-rollup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ args:
zkevm_prover_image: hermeznetwork/zkevm-prover:v8.0.0-RC12-fork.12
cdk_erigon_node_image: hermeznetwork/cdk-erigon:v2.1.2
cdk_node_image: cdk
zkevm_use_gas_token_contract: true
gas_token_enabled: true
data_availability_mode: rollup
sequencer_type: erigon
2 changes: 1 addition & 1 deletion test/combinations/fork9-cdk-validium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ args:
zkevm_node_image: hermeznetwork/zkevm-node:v0.7.3-RC1
cdk_validium_node_image: 0xpolygon/cdk-validium-node:0.7.0-cdk
cdk_node_image: cdk
zkevm_use_gas_token_contract: true
gas_token_enabled: true
additional_services:
- pless_zkevm_node
data_availability_mode: cdk-validium
Expand Down

0 comments on commit 200331b

Please sign in to comment.