From 79cd138f806962cac9af909ea6718816b4ddffc9 Mon Sep 17 00:00:00 2001 From: Enderson Maia Date: Thu, 1 Aug 2024 15:22:15 -0300 Subject: [PATCH] feat(rollups-node): adapt to rollups-node:1.5.0 --- charts/rollups-node/Chart.yaml | 2 +- charts/rollups-node/README.md | 9 ++++----- charts/rollups-node/ci/test-values.yaml.tpl | 3 +-- charts/rollups-node/values.yaml | 14 ++++++-------- charts/rollups-node/values.yaml.tpl | 2 +- 5 files changed, 13 insertions(+), 17 deletions(-) diff --git a/charts/rollups-node/Chart.yaml b/charts/rollups-node/Chart.yaml index 5fd7f0b..0b816b7 100644 --- a/charts/rollups-node/Chart.yaml +++ b/charts/rollups-node/Chart.yaml @@ -13,4 +13,4 @@ maintainers: url: https://github.com/oap75 type: application -version: 1.4.0-0 +version: 1.5.0-0 diff --git a/charts/rollups-node/README.md b/charts/rollups-node/README.md index 42d9e56..b77ad1f 100644 --- a/charts/rollups-node/README.md +++ b/charts/rollups-node/README.md @@ -2,7 +2,7 @@ # Package for Cartesi Rollups Nodes -![Version: 1.3.1-0](https://img.shields.io/badge/Version-1.3.1--0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 1.5.0-0](https://img.shields.io/badge/Version-1.5.0--0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Refer to the [official documentation](https://docs.cartesi.io/cartesi-rollups/overview/) for more information about Cartesi Rollups. @@ -70,7 +70,7 @@ The command removes all the Kubernetes components associated with the chart and | extraDeploy | list | `[]` | Array of extra objects to deploy with the release | | fullnameOverride | string | `""` | String to fully override name | | global.image.registry | string | `"docker.io"` | Global Docker image registry | -| global.image.tag | string | `"1.4.0"` | Global Docker Image tag | +| global.image.tag | string | `"1.5.0"` | Global Docker Image tag | | image.pullPolicy | string | `"Always"` | Pullpolicy for Docker Images | | image.pullSecrets | list | `[]` | Cartesi Rollups Validator Nodes pull secrets | | ingress.addReleaseNameAsHost | bool | `false` | dditional rules[].host | @@ -101,12 +101,11 @@ The command removes all the Kubernetes components associated with the chart and | validator.config.CARTESI_BLOCKCHAIN_IS_LEGACY | string | `"false"` | If set to true the node will send transactions using the legacy gas fee model (instead of EIP-1559). | | validator.config.CARTESI_BLOCKCHAIN_WS_ENDPOINT | string | `""` | WebSocket endpoint for the blockchain RPC provider. | | validator.config.CARTESI_CONTRACTS_APPLICATION_ADDRESS | string | `""` | Address of the DApp's contract. | -| validator.config.CARTESI_CONTRACTS_APPLICATION_DEPLOYMENT_BLOCK_NUMBER | string | `""` | Block in which the DApp's contract was deployed. | | validator.config.CARTESI_CONTRACTS_AUTHORITY_ADDRESS | string | `""` | Address of the Authority contract. | | validator.config.CARTESI_CONTRACTS_HISTORY_ADDRESS | string | `""` | Address of the History contract. | | validator.config.CARTESI_CONTRACTS_INPUT_BOX_ADDRESS | string | `""` | Address of the InputBox contract. | | validator.config.CARTESI_CONTRACTS_INPUT_BOX_DEPLOYMENT_BLOCK_NUMBER | string | `""` | The deployment block for the input box contract. The node will begin to read blockchain events from this block. | -| validator.config.CARTESI_EPOCH_DURATION | string | `"86400"` | Duration of a rollups epoch in seconds. At the end of each epoch, the node will send claims to the blockchain. | +| validator.config.CARTESI_EPOCH_LENGTH | string | `"7200"` | Length of a rollups epoch in blocks. At the end of each epoch, the node will send claims to the blockchain. | | validator.config.CARTESI_EXPERIMENTAL_SERVER_MANAGER_BYPASS_LOG | string | `"false"` | When enabled, prints server-manager output to stdout and stderr directly. All other log configurations are ignored. | | validator.config.CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_ENABLED | string | `"false"` | When enabled, the node does not start the authority-claimer service and the Redis server. | | validator.config.CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_REDIS_ENDPOINT | string | `""` | External Redis endpoint for the node when running in the experimental sunodo validator mode. | @@ -164,4 +163,4 @@ Cartesi will release a new chart updating its containers if a new version of the This chart allows you to set your custom affinity. Find more information about Pod's affinity in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity). ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1) \ No newline at end of file +Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) \ No newline at end of file diff --git a/charts/rollups-node/ci/test-values.yaml.tpl b/charts/rollups-node/ci/test-values.yaml.tpl index 5afb8c1..c8a98c4 100644 --- a/charts/rollups-node/ci/test-values.yaml.tpl +++ b/charts/rollups-node/ci/test-values.yaml.tpl @@ -14,12 +14,11 @@ validator: CARTESI_BLOCKCHAIN_IS_LEGACY: "false" CARTESI_BLOCKCHAIN_FINALITY_OFFSET: "1" CARTESI_CONTRACTS_APPLICATION_ADDRESS: "0x9f12D4365806FC000D6555ACB85c5371b464E506" - CARTESI_CONTRACTS_APPLICATION_DEPLOYMENT_BLOCK_NUMBER: "4152308" CARTESI_CONTRACTS_HISTORY_ADDRESS: "0x76f4dCaC0920826541EE718214EEE4be07346cEE" CARTESI_CONTRACTS_AUTHORITY_ADDRESS: "0x5827Ec9365D3a9b27bF1dB982d258Ad234D37242" CARTESI_CONTRACTS_INPUT_BOX_ADDRESS: "0x59b22D57D4f067708AB0c00552767405926dc768" CARTESI_CONTRACTS_INPUT_BOX_DEPLOYMENT_BLOCK_NUMBER: "3963384" - CARTESI_EPOCH_DURATION: "86400" + CARTESI_EPOCH_LENGTH: "7200" CARTESI_FEATURE_READER_MODE: "true" CARTESI_FEATURE_DISABLE_MACHINE_HASH_CHECK: "true" CARTESI_SNAPSHOT_DIR: "/usr/share/cartesi/snapshot" diff --git a/charts/rollups-node/values.yaml b/charts/rollups-node/values.yaml index fa51fdb..fa73b3d 100644 --- a/charts/rollups-node/values.yaml +++ b/charts/rollups-node/values.yaml @@ -8,7 +8,7 @@ global: # -- Global Docker image registry registry: docker.io # -- Global Docker Image tag - tag: 1.4.0 + tag: 1.5.0 ## seviceAccount configuration to be used by the rollups-validator-node ## @@ -173,9 +173,9 @@ validator: # -- If set to true, the node will *not* check whether the Cartesi machine hash from # the snapshot matches the hash in the Application contract. CARTESI_FEATURE_DISABLE_MACHINE_HASH_CHECK: "false" - # -- Duration of a rollups epoch in seconds. + # -- Length of a rollups epoch in blocks. # At the end of each epoch, the node will send claims to the blockchain. - CARTESI_EPOCH_DURATION: "86400" + CARTESI_EPOCH_LENGTH: "7200" # -- An unique identifier representing a blockchain network. CARTESI_BLOCKCHAIN_ID: "" # -- HTTP endpoint for the blockchain RPC provider. @@ -190,19 +190,17 @@ validator: CARTESI_BLOCKCHAIN_FINALITY_OFFSET: "10" # -- Block subscription timeout in seconds. CARTESI_BLOCKCHAIN_BLOCK_TIMEOUT: "60" - # -- The deployment block for the input box contract. - # The node will begin to read blockchain events from this block. - CARTESI_CONTRACTS_INPUT_BOX_DEPLOYMENT_BLOCK_NUMBER: "" # -- Address of the DApp's contract. CARTESI_CONTRACTS_APPLICATION_ADDRESS: "" - # -- Block in which the DApp's contract was deployed. - CARTESI_CONTRACTS_APPLICATION_DEPLOYMENT_BLOCK_NUMBER: "" # -- Address of the History contract. CARTESI_CONTRACTS_HISTORY_ADDRESS: "" # -- Address of the Authority contract. CARTESI_CONTRACTS_AUTHORITY_ADDRESS: "" # -- Address of the InputBox contract. CARTESI_CONTRACTS_INPUT_BOX_ADDRESS: "" + # -- The deployment block for the input box contract. + # The node will begin to read blockchain events from this block. + CARTESI_CONTRACTS_INPUT_BOX_DEPLOYMENT_BLOCK_NUMBER: "" # -- Path to the directory with the cartesi-machine snapshot that will be loaded by the node. CARTESI_SNAPSHOT_DIR: "" # -- One of "private_key", "private_key_file", "mnemonic", "mnemonic_file", "aws". diff --git a/charts/rollups-node/values.yaml.tpl b/charts/rollups-node/values.yaml.tpl index ccde8d7..0e5c0ec 100644 --- a/charts/rollups-node/values.yaml.tpl +++ b/charts/rollups-node/values.yaml.tpl @@ -8,7 +8,7 @@ global: # -- Global Docker image registry registry: docker.io # -- Global Docker Image tag - tag: 1.4.0 + tag: 1.5.0 ## seviceAccount configuration to be used by the rollups-validator-node ##