Skip to content

Commit

Permalink
update readme deployment v2
Browse files Browse the repository at this point in the history
  • Loading branch information
invocamanman committed Feb 8, 2024
1 parent ab8268e commit 8c23002
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deployment/v2/4_createRollup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ async function main() {
adminZkEVM,
forkID,
consensusContract,
dataAvailabilityProtocol,
} = createRollupParameters;

const supportedConensus = ["PolygonZkEVMEtrog", "PolygonValidiumEtrog"];
Expand All @@ -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 (
Expand Down
1 change: 1 addition & 0 deletions deployment/v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8c23002

Please sign in to comment.