From 5541e94a65ccbd6c6d0f34e9b89ff45a43cf1a0e Mon Sep 17 00:00:00 2001 From: Jerry Date: Wed, 2 Oct 2024 12:19:37 -0700 Subject: [PATCH] Bump kurtosis version --- .github/workflows/ci_zkevm.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci_zkevm.yml b/.github/workflows/ci_zkevm.yml index daa2c3efe43..53197974006 100644 --- a/.github/workflows/ci_zkevm.yml +++ b/.github/workflows/ci_zkevm.yml @@ -80,7 +80,7 @@ jobs: uses: actions/checkout@v4 with: repository: 0xPolygon/kurtosis-cdk - ref: v0.2.7 + ref: v0.2.12 path: kurtosis-cdk - name: Install Kurtosis CDK tools @@ -104,6 +104,7 @@ jobs: run: | sed -i '/zkevm.sequencer-batch-seal-time:/d' templates/cdk-erigon/config.yml sed -i '/zkevm.sequencer-non-empty-batch-seal-time:/d' templates/cdk-erigon/config.yml + sed -i '/sentry.drop-useless-peers:/d' templates/cdk-erigon/config.yml - name: Configure Kurtosis CDK working-directory: ./kurtosis-cdk @@ -118,7 +119,7 @@ jobs: - name: Monitor verified batches working-directory: ./kurtosis-cdk shell: bash - run: timeout 900s .github/scripts/monitor-verified-batches.sh --rpc-url $(kurtosis port print cdk-v1 cdk-erigon-node-001 http-rpc) --target 20 --timeout 900 + run: timeout 900s .github/scripts/monitor-verified-batches.sh --rpc-url $(kurtosis port print cdk-v1 cdk-erigon-node-001 rpc) --target 20 --timeout 900 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 @@ -128,7 +129,7 @@ jobs: kurtosis files download cdk-v1 bridge-config-artifact echo "BRIDGE_ADDRESS=$(/usr/local/bin/yq '.NetworkConfig.PolygonBridgeAddress' bridge-config-artifact/bridge-config.toml)" >> $GITHUB_ENV echo "ETH_RPC_URL=$(kurtosis port print cdk-v1 el-1-geth-lighthouse rpc)" >> $GITHUB_ENV - echo "L2_RPC_URL=$(kurtosis port print cdk-v1 cdk-erigon-node-001 http-rpc)" >> $GITHUB_ENV + echo "L2_RPC_URL=$(kurtosis port print cdk-v1 cdk-erigon-node-001 rpc)" >> $GITHUB_ENV echo "BRIDGE_API_URL=$(kurtosis port print cdk-v1 zkevm-bridge-service-001 rpc)" >> $GITHUB_ENV - name: Fund claim tx manager @@ -152,7 +153,7 @@ jobs: TestL1AddrPrivate="0x12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625" TestL2AddrPrivate="0x12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625" [ConnectionConfig] - L1NodeURL="${ETH_RPC_URL}" + L1NodeURL="http://${ETH_RPC_URL}" L2NodeURL="${L2_RPC_URL}" BridgeURL="${BRIDGE_API_URL}" L1BridgeAddr="${BRIDGE_ADDRESS}" @@ -198,7 +199,7 @@ jobs: uses: actions/checkout@v4 with: repository: 0xPolygon/kurtosis-cdk - ref: v0.2.4 + ref: v0.2.12 path: kurtosis-cdk - name: Install Kurtosis CDK tools @@ -229,13 +230,15 @@ jobs: sed -i '/zkevm.sequencer-batch-seal-time:/d' templates/cdk-erigon/config.yml sed -i '/zkevm.sequencer-non-empty-batch-seal-time:/d' templates/cdk-erigon/config.yml sed -i '/zkevm\.sequencer-initial-fork-id/d' ./templates/cdk-erigon/config.yml + sed -i '/sentry.drop-useless-peers:/d' templates/cdk-erigon/config.yml + sed -i '/zkevm\.pool-manager-url/d' ./templates/cdk-erigon/config.yml sed -i '$a\zkevm.disable-virtual-counters: true' ./templates/cdk-erigon/config.yml - name: Configure Kurtosis CDK working-directory: ./kurtosis-cdk run: | /usr/local/bin/yq -i '.args.cdk_erigon_node_image = "cdk-erigon:local"' params.yml - /usr/local/bin/yq -i '.args.zkevm_bridge_service_image = "hermeznetwork/zkevm-bridge-service:v0.5.0-RC8"' params.yml + /usr/local/bin/yq -i '.args.erigon_strict_mode = false' params.yml sed -i 's/"londonBlock": [0-9]\+/"londonBlock": 0/' ./templates/cdk-erigon/chainspec.json sed -i 's/"normalcyBlock": [0-9]\+/"normalcyBlock": 0/' ./templates/cdk-erigon/chainspec.json sed -i 's/"shanghaiTime": [0-9]\+/"shanghaiTime": 0/' ./templates/cdk-erigon/chainspec.json @@ -248,7 +251,7 @@ jobs: - name: Dynamic gas fee tx load test working-directory: ./kurtosis-cdk - run: /usr/local/bin/polycli loadtest --rpc-url "$(kurtosis port print cdk-v1 cdk-erigon-node-001 http-rpc)" --private-key "0x12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625" --verbosity 700 --requests 500 --rate-limit 50 --mode uniswapv3 + run: /usr/local/bin/polycli loadtest --rpc-url "$(kurtosis port print cdk-v1 cdk-erigon-node-001 rpc)" --private-key "0x12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625" --verbosity 700 --requests 500 --rate-limit 50 --mode uniswapv3 - name: Upload logs uses: actions/upload-artifact@v3