diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6cce29bf..f5ae8174 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,16 +60,16 @@ jobs: with: key: docker-${{ runner.os }}-${{ hashFiles('Makefile', 'examples', 'src/config/default_config.yaml') }} - # TODO: fix the hello-world example - name: Run example '${{ matrix.example }}' - if: matrix.example != 'kurtosis_hello_world' run: make ${{ matrix.example }} - # TODO: fix the hello-world example - name: Check example is still running - if: matrix.example != 'kurtosis_hello_world' run: make check_devnet + - name: Print logs + if: always() + run: kurtosis service logs devnet + kurtosis_lint: runs-on: ubuntu-latest steps: diff --git a/Makefile b/Makefile index 2351542d..25377089 100644 --- a/Makefile +++ b/Makefile @@ -101,8 +101,8 @@ check_devnet: # hello-world-avs example -# Version from 2025-01-04 -HELLO_WORLD_REF:=4626e206fd119b26ebe98935b256daa7256e863b +# Version from 2025-02-18 (PR #108) +HELLO_WORLD_REF:=f2e76cf710c3492cc1db16b3cef2f3a5adf502f4 examples/hello-world-avs: @echo "Cloning hello-world-avs repo..." diff --git a/examples/hello_world.yaml b/examples/hello_world.yaml index f4764c6f..f15b8787 100644 --- a/examples/hello_world.yaml +++ b/examples/hello_world.yaml @@ -4,9 +4,10 @@ deployments: - name: EigenLayer repo: "https://github.com/Layr-Labs/hello-world-avs.git" - ref: "001dc6e944280559dfb44f75faf5102349a61d8e" + # Version from 2025-02-18 (PR #108) + ref: "f2e76cf710c3492cc1db16b3cef2f3a5adf502f4" contracts_path: "contracts" - script: script/DeployEigenLayerCore.s.sol + script: script/DeployEigenLayerCore.s.sol:DeployEigenlayerCore env: # NOTE: this is used inside the deployer script PRIVATE_KEY: "{{.deployer_private_key}}" @@ -14,12 +15,15 @@ deployments: HOLESKY_PRIVATE_KEY: "" HOLESKY_RPC_URL: "" ETHERSCAN_API_KEY: "" + input: + config/core/: core_deployment_config output: eigenlayer_addresses: "deployments/core/31337.json" - name: hello-world-avs repo: "https://github.com/Layr-Labs/hello-world-avs.git" - ref: "001dc6e944280559dfb44f75faf5102349a61d8e" + # Version from 2025-02-18 (PR #108) + ref: "f2e76cf710c3492cc1db16b3cef2f3a5adf502f4" contracts_path: "contracts" script: script/HelloWorldDeployer.s.sol env: @@ -31,6 +35,7 @@ deployments: ETHERSCAN_API_KEY: "" input: deployments/core/: eigenlayer_addresses + config/hello-world/: avs_deployment_config output: avs_addresses: "deployments/hello-world/31337.json" @@ -65,6 +70,16 @@ keys: - name: traffic_generator_ecdsa_keys type: ecdsa +artifacts: + core_deployment_config: + files: + 31337.json: + static_file: "https://raw.githubusercontent.com/Layr-Labs/hello-world-avs/f2e76cf710c3492cc1db16b3cef2f3a5adf502f4/contracts/config/core/31337.json" + avs_deployment_config: + files: + 31337.json: + static_file: "https://raw.githubusercontent.com/Layr-Labs/hello-world-avs/f2e76cf710c3492cc1db16b3cef2f3a5adf502f4/contracts/config/hello-world/31337.json" + ethereum_package: additional_services: - blockscout diff --git a/examples/hello_world_local.yaml b/examples/hello_world_local.yaml index 5cb9e0b7..1241d0d5 100644 --- a/examples/hello_world_local.yaml +++ b/examples/hello_world_local.yaml @@ -15,7 +15,7 @@ deployments: - name: EigenLayer repo: "." contracts_path: "contracts" - script: script/DeployEigenLayerCore.s.sol + script: script/DeployEigenLayerCore.s.sol:DeployEigenlayerCore env: # NOTE: this is used inside the deployer script PRIVATE_KEY: "{{.deployer_private_key}}" @@ -23,6 +23,8 @@ deployments: HOLESKY_PRIVATE_KEY: "" HOLESKY_RPC_URL: "" ETHERSCAN_API_KEY: "" + input: + config/core/: core_deployment_config output: eigenlayer_addresses: "deployments/core/31337.json" @@ -39,6 +41,7 @@ deployments: ETHERSCAN_API_KEY: "" input: deployments/core/: eigenlayer_addresses + config/hello-world/: avs_deployment_config output: avs_addresses: "deployments/hello-world/31337.json" @@ -73,6 +76,16 @@ keys: - name: traffic_generator_ecdsa_keys type: ecdsa +artifacts: + core_deployment_config: + files: + 31337.json: + static_file: "contracts/config/core/31337.json" + avs_deployment_config: + files: + 31337.json: + static_file: "contracts/config/hello-world/31337.json" + ethereum_package: additional_services: - blockscout