Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rollups-node): adapt to rollups-node:1.5.0 #94

Merged
merged 2 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/kubeconform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
strategy:
matrix:
k8s_version:
- "1.27.9"
- "1.28.5"
- "1.29.0"
- "1.28.12"
- "1.29.7"
- "1.30.3"
permissions:
contents: read
packages: read
Expand Down
2 changes: 1 addition & 1 deletion charts/rollups-node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ maintainers:
url: https://github.com/oap75

type: application
version: 1.4.0-0
version: 1.5.0-0
9 changes: 4 additions & 5 deletions charts/rollups-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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 |
Expand Down Expand Up @@ -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. |
Expand Down Expand Up @@ -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)
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
3 changes: 1 addition & 2 deletions charts/rollups-node/ci/test-values.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
14 changes: 6 additions & 8 deletions charts/rollups-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
##
Expand Down Expand Up @@ -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.
Expand All @@ -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".
Expand Down
2 changes: 1 addition & 1 deletion charts/rollups-node/values.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
##
Expand Down
Loading