diff --git a/charts/tezos/values.yaml b/charts/tezos/values.yaml index 1d7314b64..9efce8f98 100644 --- a/charts/tezos/values.yaml +++ b/charts/tezos/values.yaml @@ -511,6 +511,15 @@ protocols: # # This data is typically too large to pass it directly inside helm chart. # bootstrap_contract_urls: [] # +# # Pass additional structured data to add to parameters.json +# # This can be used to deploy smart rollup at bootstrap. +# bootstrap_parameters: +# bootstrap_smart_rollups: +# address: "sr1RYurGZtN8KNSpkMcCt9CgWeUaNkzsAfXf" +# pvm_kind: "arith" +# boot_sector: "" +# parameters_ty: "O [("prim", `String "Unit")]" +# ## Deploy an indexer with the chain. An indexer puts the chain ## contents in a database for efficient indexing. Most dapps need it. ## Supported indexers: diff --git a/test/charts/mainnet.expect.yaml b/test/charts/mainnet.expect.yaml index 17ff4fe00..407f85fdb 100644 --- a/test/charts/mainnet.expect.yaml +++ b/test/charts/mainnet.expect.yaml @@ -71,6 +71,8 @@ data: {} TACOINFRA_SIGNERS: | {} + OCTEZ_ROLLUP_NODES: | + {} --- # Source: tezos-chain/templates/static.yaml apiVersion: v1 diff --git a/test/charts/mainnet2.expect.yaml b/test/charts/mainnet2.expect.yaml index 2a405cd39..6abdfc1b0 100644 --- a/test/charts/mainnet2.expect.yaml +++ b/test/charts/mainnet2.expect.yaml @@ -118,6 +118,8 @@ data: {} TACOINFRA_SIGNERS: | {} + OCTEZ_ROLLUP_NODES: | + {} --- # Source: tezos-chain/templates/static.yaml apiVersion: v1 diff --git a/test/charts/private-chain.expect.yaml b/test/charts/private-chain.expect.yaml index 4dd1214ae..c9af73f70 100644 --- a/test/charts/private-chain.expect.yaml +++ b/test/charts/private-chain.expect.yaml @@ -214,6 +214,8 @@ data: ] } } + OCTEZ_ROLLUP_NODES: | + {} --- # Source: tezos-chain/templates/configs.yaml apiVersion: v1 diff --git a/utils/config-generator.py b/utils/config-generator.py index 6f144705f..39cde6689 100755 --- a/utils/config-generator.py +++ b/utils/config-generator.py @@ -550,6 +550,10 @@ def create_protocol_parameters_json(accounts): print(f"Injecting bootstrap contract from {url}") protocol_params["bootstrap_contracts"].append(requests.get(url).json()) + # Append any additional bootstrap params such as smart rollups, if any + if protocol_activation.get("bootstrap_parameters"): + protocol_params = { **protocol_params, **protocol_activation.get("bootstrap_parameters") } + return protocol_params