From 8c2300238e283b155388492710bec1e38fb68da9 Mon Sep 17 00:00:00 2001 From: invocamanman Date: Thu, 8 Feb 2024 23:22:38 +0100 Subject: [PATCH] update readme deployment v2 --- deployment/v2/4_createRollup.ts | 3 ++- deployment/v2/README.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deployment/v2/4_createRollup.ts b/deployment/v2/4_createRollup.ts index fb5471f30..b45172256 100644 --- a/deployment/v2/4_createRollup.ts +++ b/deployment/v2/4_createRollup.ts @@ -64,7 +64,6 @@ async function main() { adminZkEVM, forkID, consensusContract, - dataAvailabilityProtocol, } = createRollupParameters; const supportedConensus = ["PolygonZkEVMEtrog", "PolygonValidiumEtrog"]; @@ -73,6 +72,8 @@ async function main() { throw new Error(`Consensus contract not supported, supported contracts are: ${supportedConensus}`); } + const dataAvailabilityProtocol = createRollupParameters.dataAvailabilityProtocol || "PolygonDataCommittee"; + const supporteDataAvailabilityProtocols = ["PolygonDataCommittee"]; if ( diff --git a/deployment/v2/README.md b/deployment/v2/README.md index 62e1c68ed..7ad6e7cd7 100644 --- a/deployment/v2/README.md +++ b/deployment/v2/README.md @@ -87,6 +87,7 @@ A new folder will be created witth the following name `deployments/${network}_$( - `maxFeePerGas`:string, Set `maxFeePerGas`, must define aswell `maxPriorityFeePerGas` to use it - `maxPriorityFeePerGas`:string, Set `maxPriorityFeePerGas`, must define aswell `maxFeePerGas` to use it - `multiplierGas`: number, Gas multiplier with 3 decimals. If `maxFeePerGas` and `maxPriorityFeePerGas` are set, this will not take effect +- `dataAvailabilityProtocol`: string, Data availability protocol, only mandatory/used when consensus contract is a Validiums, currently the only supported value is: `PolygonDataCommittee` ## Notes