From f2b77a032a0a6769078aa41fb0e8555621df7d70 Mon Sep 17 00:00:00 2001 From: reece Date: Tue, 13 May 2025 19:16:56 +0000 Subject: [PATCH 1/3] lower ether amount for deploy --- script/Deploy.s.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index 1e45d69..78aca32 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -37,7 +37,7 @@ contract DeployScript is Common { // Mint reward tokens for the distributor. RewardToken rewardToken = new RewardToken(); - rewardToken.mint{value: 1000 ether}(address(rewardDistributor)); + rewardToken.mint{value: 0.1 ether}(address(rewardDistributor)); // Deploy the NFT contract WavsNft nft = new WavsNft( From 5b2322e6a63159f0873bc2ebc76e69c81b528738 Mon Sep 17 00:00:00 2001 From: reece Date: Tue, 13 May 2025 19:17:09 +0000 Subject: [PATCH 2/3] fix: new middleware required argument --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8eef50f..81ec975 100644 --- a/Makefile +++ b/Makefile @@ -138,7 +138,7 @@ operator-register: echo "Error: AVS_PRIVATE_KEY is not set. Please set it to your AVS private key."; \ exit 1; \ fi - @docker run --rm --network host --env-file ${ENV_FILE} -v ./.nodes:/root/.nodes --entrypoint /wavs/register.sh ${MIDDLEWARE_DOCKER_IMAGE} "${AVS_PRIVATE_KEY}" + @docker run --rm --network host --env-file ${ENV_FILE} -v ./.nodes:/root/.nodes --entrypoint /wavs/register.sh ${MIDDLEWARE_DOCKER_IMAGE} "${AVS_PRIVATE_KEY}" 0.001ether ## update-submodules: update the git submodules update-submodules: From c349697a2c874386dbed7270ad114cbae59b1050 Mon Sep 17 00:00:00 2001 From: Mona Lisa Date: Tue, 13 May 2025 20:22:23 +0000 Subject: [PATCH 3/3] hide out the wavs & aggregator deploy in start --- docker-compose.yml | 78 +++++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e98ba82..dd3e41f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,47 +7,47 @@ ################################### services: - wavs: - image: "ghcr.io/lay3rlabs/wavs:0.4.0-beta.2" - container_name: "wavs" - stop_signal: SIGKILL - network_mode: "host" - env_file: "./.env" - ports: - - "8000:8000" - environment: - WAVS_HOME: "/wavs/packages/wavs" - WAVS_CLI_HOME: "/wavs/packages/cli" - WAVS_AGGREGATOR_HOME: "/wavs/packages/aggregator" - command: ["wavs"] - volumes: - - "./:/wavs" - - "./.docker:/root/wavs/cli/" + # wavs: + # image: "ghcr.io/lay3rlabs/wavs:0.4.0-beta.2" + # container_name: "wavs" + # stop_signal: SIGKILL + # network_mode: "host" + # env_file: "./.env" + # ports: + # - "8000:8000" + # environment: + # WAVS_HOME: "/wavs/packages/wavs" + # WAVS_CLI_HOME: "/wavs/packages/cli" + # WAVS_AGGREGATOR_HOME: "/wavs/packages/aggregator" + # command: ["wavs"] + # volumes: + # - "./:/wavs" + # - "./.docker:/root/wavs/cli/" - aggregator: - image: "ghcr.io/lay3rlabs/wavs:0.4.0-beta.2" - depends_on: ["wavs"] - container_name: "wavs-aggregator" - stop_signal: SIGKILL - env_file: "./.env" - ports: - - "8001:8001" - command: ["wavs-aggregator"] - volumes: - - ".:/wavs" - network_mode: "host" + # aggregator: + # image: "ghcr.io/lay3rlabs/wavs:0.4.0-beta.2" + # depends_on: ["wavs"] + # container_name: "wavs-aggregator" + # stop_signal: SIGKILL + # env_file: "./.env" + # ports: + # - "8001:8001" + # command: ["wavs-aggregator"] + # volumes: + # - ".:/wavs" + # network_mode: "host" - ipfs: - image: "ipfs/kubo:v0.34.1" - container_name: "ipfs" - stop_signal: SIGKILL - network_mode: "host" - ports: - - "4001:4001" - - "4001:4001/udp" - - "8080:8080" - - "5001:5001" - command: ["daemon", "--offline"] + # ipfs: + # image: "ipfs/kubo:v0.34.1" + # container_name: "ipfs" + # stop_signal: SIGKILL + # network_mode: "host" + # ports: + # - "4001:4001" + # - "4001:4001/udp" + # - "8080:8080" + # - "5001:5001" + # command: ["daemon", "--offline"] ollama: image: ollama/ollama:latest