Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

chore: migrate to ethpandaops/ethereum-package + a few ci fixes #153

Merged
merged 12 commits into from
Jun 14, 2024
2 changes: 1 addition & 1 deletion .github/actions/setup-kurtosis-cdk/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
kurtosis-version:
description: The version of kurtosis
required: false
default: '0.89.12' # https://github.com/kurtosis-tech/kurtosis/releases
default: '0.90.1' # https://github.com/kurtosis-tech/kurtosis/releases

runs:
using: "composite"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,12 @@ jobs:

- name: Deploy the rest of the components
run: |
# Enable all deployment steps.
yq -Y --in-place 'with_entries(if .value | type == "boolean" then .value = true else . end)' params.yml
# Do not deploy l1 and zkevm contracts.
yq -Y --in-place '(.deploy_l1 = false) | (.deploy_zkevm_contracts_on_l1 = false)' params.yml

# Deploy databases, cdk central/trusted environment, cdk/bridge infra and observability stack.
yq -Y --in-place '(.deploy_databases = true) | (.deploy_cdk_central_environment = true) | (.deploy_cdk_bridge_infra = true) | (.deploy_observability = true)' params.yml

kurtosis run --enclave cdk-v1 --args-file params.yml --image-download always .

- name: Monitor verified batches
Expand Down Expand Up @@ -321,7 +322,7 @@ jobs:
uses: ./.github/actions/setup-kurtosis-cdk

- name: Deploy Kurtosis CDK package
run: kurtosis run --enclave cdk-v1 --args-file cdk-erigon-sequencer-params.yal --image-download always .
run: kurtosis run --enclave cdk-v1 --args-file cdk-erigon-sequencer-params.yaml --image-download always .

- name: Monitor verified batches
uses: ./.github/actions/monitor-cdk-verified-batches
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
cancel-in-progress: true

env:
KURTOSIS_VERSION: 0.89.3
KURTOSIS_VERSION: 0.90.1

jobs:
check:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ kurtosis run --enclave cdk-v1 --args-file params.yml --image-download always .
The command above launches deploys a CDK stack using [zkevm-node](https://github.com/0xPolygonHermez/zkevm-node) as the sequencer. Alternatively, to launch a CDK stack using [cdk-erigon](https://github.com/0xPolygonHermez/cdk-erigon) as a sequencer, you can run the following command.

```bash
kurtosis run --enclave cdk-v1 --args-file cdk-erigon-sequencer-params.yal --image-download always .
kurtosis run --enclave cdk-v1 --args-file cdk-erigon-sequencer-params.yaml --image-download always .
```

Let's do a simple L2 RPC test call.
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ inputs:
kurtosis_cli:
description: kurtosis-tech/kurtosis (release tag)
required: false
default: '0.89.3'
default: '0.90.1'
kurtosis_cdk:
description: 0xPolygon/kurtosis-cdk (release tag)
required: false
Expand Down
2 changes: 1 addition & 1 deletion ethereum.star
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ethereum_package = import_module(
"github.com/kurtosis-tech/ethereum-package/main.star@3.0.0"
"github.com/ethpandaops/ethereum-package/main.star@4.0.0"
)

GETH_IMAGE = "ethereum/client-go:v1.14.0"
Expand Down
2 changes: 1 addition & 1 deletion kurtosis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ description: |-
l1_funding_amount: 100ether
l1_rpc_url: http://el-1-geth-lighthouse:8545
l1_ws_url: ws://el-1-geth-lighthouse:8546
# https://github.com/kurtosis-tech/ethereum-package/tree/main?tab=readme-ov-file#configuration
# https://github.com/ethpandaops/ethereum-package/tree/main?tab=readme-ov-file#configuration
l1_additional_services: [
# blockscout, # block explorer
# dora, # beaconchain explorer
Expand Down
2 changes: 1 addition & 1 deletion params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ args:
l1_funding_amount: 100ether
l1_rpc_url: http://el-1-geth-lighthouse:8545
l1_ws_url: ws://el-1-geth-lighthouse:8546
# https://github.com/kurtosis-tech/ethereum-package/tree/main?tab=readme-ov-file#configuration
# https://github.com/ethpandaops/ethereum-package/tree/main?tab=readme-ov-file#configuration
l1_additional_services: [
# blockscout, # block explorer
# dora, # beaconchain explorer
Expand Down
Loading