From 99481a9f6b5d8defac1818bbbc8ddfebbded1d71 Mon Sep 17 00:00:00 2001 From: osrm <90407222+osrm@users.noreply.github.com> Date: Sat, 3 Aug 2024 19:04:19 +0900 Subject: [PATCH 1/5] chore: fix typo tgi-llm.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "environemnt" → "environment" Signed-off-by: osrm <90407222+osrm@users.noreply.github.com> --- projects/tgi-llm/tgi-llm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/tgi-llm/tgi-llm.md b/projects/tgi-llm/tgi-llm.md index 75a935e..bc3276e 100644 --- a/projects/tgi-llm/tgi-llm.md +++ b/projects/tgi-llm/tgi-llm.md @@ -147,7 +147,7 @@ cd infernet-container-starter ### Configure the UI Service You'll need to configure the UI service to point to the `tgi` service. To do this, you'll have to -pass that info as environemnt variables. There exists a [`gradio_ui.env.sample`](./ui/gradio_ui.env.sample) +pass that info as environment variables. There exists a [`gradio_ui.env.sample`](./ui/gradio_ui.env.sample) file in the [`projects/tgi-llm/ui`](./ui) directory. Simply copy this file to `gradio_ui.env` and set the `TGI_SERVICE_URL` to the address of the `tgi` service. From 40c660bcef51f4d5fdb286e1f02fb88732eeca2e Mon Sep 17 00:00:00 2001 From: osrm <90407222+osrm@users.noreply.github.com> Date: Sat, 3 Aug 2024 19:21:07 +0900 Subject: [PATCH 2/5] chore: fix link README.md "https://github.com/osrm/infernet-container-starter/blob/main/projects/hello-world/README.mdADME.md" is not working. "https://github.com/osrm/infernet-container-starter/blob/main/projects/hello-world/hello-world.md" is right. Signed-off-by: osrm <90407222+osrm@users.noreply.github.com> --- projects/onnx-iris/contracts/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/onnx-iris/contracts/README.md b/projects/onnx-iris/contracts/README.md index e90b151..a19a870 100644 --- a/projects/onnx-iris/contracts/README.md +++ b/projects/onnx-iris/contracts/README.md @@ -7,7 +7,7 @@ This readme explains how to compile and deploy the contract to the Infernet Anvi > [!IMPORTANT] > Ensure that you are running the following scripts with the Infernet Anvil Testnet network. -> The [tutorial](../../hello-world/README.mdADME.md) at the root of this repository explains how to +> The [tutorial](../../hello-world/hello-world.md) at the root of this repository explains how to > bring up an infernet node. ### Installing the libraries From 52bc756bba65ec94e78e32d71851aff1e3750a28 Mon Sep 17 00:00:00 2001 From: osrm <90407222+osrm@users.noreply.github.com> Date: Sat, 3 Aug 2024 19:25:47 +0900 Subject: [PATCH 3/5] chore: fix link README.md "https://github.com/osrm/infernet-container-starter/blob/main/projects/hello-world/README.mdADME.md" is not working "https://github.com/osrm/infernet-container-starter/blob/main/projects/hello-world/hello-world.md" is right Signed-off-by: osrm <90407222+osrm@users.noreply.github.com> --- projects/torch-iris/contracts/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/torch-iris/contracts/README.md b/projects/torch-iris/contracts/README.md index 4fc0051..5848123 100644 --- a/projects/torch-iris/contracts/README.md +++ b/projects/torch-iris/contracts/README.md @@ -7,7 +7,7 @@ This readme explains how to compile and deploy the contract to the Infernet Anvi > [!IMPORTANT] > Ensure that you are running the following scripts with the Infernet Anvil Testnet network. -> The [tutorial](../../hello-world/README.mdADME.md) at the root of this repository explains how to +> The [tutorial](../../hello-world/hello-world.md) at the root of this repository explains how to > bring up an infernet node. ### Installing the libraries From fcdc9fba54f03f9a74346b2cc6bf800b42920a7a Mon Sep 17 00:00:00 2001 From: osrm <90407222+osrm@users.noreply.github.com> Date: Sat, 3 Aug 2024 19:30:06 +0900 Subject: [PATCH 4/5] chore: fix link README.md "https://github.com/osrm/infernet-container-starter/blob/main/projects/hello-world/hello-world" is not working "https://github.com/osrm/infernet-container-starter/blob/main/projects/hello-world/hello-world.md" is right. Signed-off-by: osrm <90407222+osrm@users.noreply.github.com> --- projects/hello-world/contracts/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hello-world/contracts/README.md b/projects/hello-world/contracts/README.md index 932e8b1..f5e413c 100644 --- a/projects/hello-world/contracts/README.md +++ b/projects/hello-world/contracts/README.md @@ -9,7 +9,7 @@ For a detailed tutorial on how to write a consumer contract, refer to the [tutor > [!IMPORTANT] > Ensure that you are running the following scripts with the Infernet Anvil Testnet network. -> The [tutorial](../hello-world) at the root of this repository explains how to +> The [tutorial](../hello-world.md) at the root of this repository explains how to > bring up an infernet node. ### Installing the libraries From 841e49b6d406782a8fd0799a182f5d78baf08d9a Mon Sep 17 00:00:00 2001 From: Nissan Dookeran <12583+nissan@users.noreply.github.com> Date: Sat, 5 Oct 2024 12:15:38 +1000 Subject: [PATCH 5/5] amend trail_head_blocks and registry_address to allow successful localhost running of node --- CHANGELOG.md | 6 ++++++ projects/gpt4/container/config.sample.json | 4 ++-- projects/hello-world/container/config.json | 4 ++-- projects/onnx-iris/container/config.json | 4 ++-- projects/payment/container/config.json | 4 ++-- projects/prompt-to-nft/container/config.sample.json | 4 ++-- projects/tgi-llm/container/config.sample.json | 4 ++-- projects/torch-iris/container/config.json | 4 ++-- 8 files changed, 20 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d53236..84d5b5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. - ##### The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - ##### This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.2] - 2024-07-31 + +### Changed +- Set `trail_head_blocks` to `0` in `config.json` for all projects. This fixes an issue where the node would not start due to a lack of trailing blocks. +- Updated `registry_address` to `0x663F3ad617193148711d28f5334eE4Ed07016602` to point to the correct registry address + ## [1.0.1] - 2024-07-31 ### Fixed diff --git a/projects/gpt4/container/config.sample.json b/projects/gpt4/container/config.sample.json index 041ae52..e65998c 100644 --- a/projects/gpt4/container/config.sample.json +++ b/projects/gpt4/container/config.sample.json @@ -9,9 +9,9 @@ }, "chain": { "enabled": true, - "trail_head_blocks": 3, + "trail_head_blocks": 0, "rpc_url": "http://host.docker.internal:8545", - "registry_address": "0x3B1554f346DFe5c482Bb4BA31b880c1C18412170", + "registry_address": "0x663F3ad617193148711d28f5334eE4Ed07016602", "wallet": { "max_gas_limit": 4000000, "private_key": "0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d", diff --git a/projects/hello-world/container/config.json b/projects/hello-world/container/config.json index e528988..935ce0e 100644 --- a/projects/hello-world/container/config.json +++ b/projects/hello-world/container/config.json @@ -9,9 +9,9 @@ }, "chain": { "enabled": true, - "trail_head_blocks": 3, + "trail_head_blocks": 0, "rpc_url": "http://host.docker.internal:8545", - "registry_address": "0x3B1554f346DFe5c482Bb4BA31b880c1C18412170", + "registry_address": "0x663F3ad617193148711d28f5334eE4Ed07016602", "wallet": { "max_gas_limit": 4000000, "private_key": "0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d", diff --git a/projects/onnx-iris/container/config.json b/projects/onnx-iris/container/config.json index 92c81da..de12901 100644 --- a/projects/onnx-iris/container/config.json +++ b/projects/onnx-iris/container/config.json @@ -9,9 +9,9 @@ }, "chain": { "enabled": true, - "trail_head_blocks": 3, + "trail_head_blocks": 0, "rpc_url": "http://host.docker.internal:8545", - "registry_address": "0x3B1554f346DFe5c482Bb4BA31b880c1C18412170", + "registry_address": "0x663F3ad617193148711d28f5334eE4Ed07016602", "wallet": { "max_gas_limit": 4000000, "private_key": "0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d", diff --git a/projects/payment/container/config.json b/projects/payment/container/config.json index 8a8fc69..c306302 100644 --- a/projects/payment/container/config.json +++ b/projects/payment/container/config.json @@ -9,9 +9,9 @@ }, "chain": { "enabled": true, - "trail_head_blocks": 3, + "trail_head_blocks": 0, "rpc_url": "http://host.docker.internal:8545", - "registry_address": "0x3B1554f346DFe5c482Bb4BA31b880c1C18412170", + "registry_address": "0x663F3ad617193148711d28f5334eE4Ed07016602", "wallet": { "max_gas_limit": 4000000, "private_key": "0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d", diff --git a/projects/prompt-to-nft/container/config.sample.json b/projects/prompt-to-nft/container/config.sample.json index d9f4b81..9179ed4 100644 --- a/projects/prompt-to-nft/container/config.sample.json +++ b/projects/prompt-to-nft/container/config.sample.json @@ -9,9 +9,9 @@ }, "chain": { "enabled": true, - "trail_head_blocks": 3, + "trail_head_blocks": 0, "rpc_url": "http://host.docker.internal:8545", - "registry_address": "0x3B1554f346DFe5c482Bb4BA31b880c1C18412170", + "registry_address": "0x663F3ad617193148711d28f5334eE4Ed07016602", "wallet": { "max_gas_limit": 4000000, "private_key": "0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d", diff --git a/projects/tgi-llm/container/config.sample.json b/projects/tgi-llm/container/config.sample.json index 8f8c70d..644174d 100644 --- a/projects/tgi-llm/container/config.sample.json +++ b/projects/tgi-llm/container/config.sample.json @@ -9,9 +9,9 @@ }, "chain": { "enabled": true, - "trail_head_blocks": 3, + "trail_head_blocks": 0, "rpc_url": "http://host.docker.internal:8545", - "registry_address": "0x3B1554f346DFe5c482Bb4BA31b880c1C18412170", + "registry_address": "0x663F3ad617193148711d28f5334eE4Ed07016602", "wallet": { "max_gas_limit": 4000000, "private_key": "0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d", diff --git a/projects/torch-iris/container/config.json b/projects/torch-iris/container/config.json index 471f164..6a13adf 100644 --- a/projects/torch-iris/container/config.json +++ b/projects/torch-iris/container/config.json @@ -9,9 +9,9 @@ }, "chain": { "enabled": true, - "trail_head_blocks": 3, + "trail_head_blocks": 0, "rpc_url": "http://host.docker.internal:8545", - "registry_address": "0x3B1554f346DFe5c482Bb4BA31b880c1C18412170", + "registry_address": "0x663F3ad617193148711d28f5334eE4Ed07016602", "wallet": { "max_gas_limit": 4000000, "private_key": "0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d",