Commit a38d2658 authored by kf's avatar kf Committed by Kelvin Fichter

fix: errors in mainnet trial deploy script

parent ac63235a
#!/bin/bash
# ### All available deploy options at the time of deployment: ###
# --ctc-enqueue-gas-cost Max gas limit for L1 queue transactions. (default: 60000)
# --ctc-l2-gas-discount-divisor Max gas limit for L1 queue transactions. (default: 32)
# --ctc-max-transaction-gas-limit Max gas limit for L1 queue transactions. (default: 11000000)
# --deploy-scripts override deploy script folder path
# --export export current network deployments
# --export-all export all deployments into one file
# --gasprice gas price to use for transactions
# --l1-block-time-seconds Number of seconds on average between every L1 block. (default: 15)
# --no-compile disable pre compilation
# --no-impersonation do not impersonate unknown accounts
# --num-deploy-confirmations Number of confirmations to wait for each transaction in the deployment. More is safer. (default: 12)
# --ovm-address-manager-owner Address that will own the Lib_AddressManager. Must be provided or this deployment will fail.
# --ovm-proposer-address Address of the account that will propose state roots. Must be provided or this deployment will fail.
# --ovm-sequencer-address Address of the sequencer. Must be provided or this deployment will fail.
# --reset whether to delete deployments files first
# --scc-fraud-proof-window Number of seconds until a transaction is considered finalized. (default: 604800)
# --scc-sequencer-publish-window Number of seconds that the sequencer is exclusively allowed to post state roots. (default: 1800)
# --silent whether to remove log
# --tags specify which deploy script to execute via tags, separated by commas
# --watch redeploy on every change of contract or deploy script
# --write whether to write deployments to file
### DEPLOYMENT SCRIPT ###
# To be called from root of contracts dir #
......@@ -53,5 +29,7 @@ npx hardhat deploy \
--scc-fraud-proof-window 10 \
--scc-sequencer-publish-window 12592000 \
--network mainnet-trial \
--gasprice 100 \
--gasprice 2000000000000 \
--forked true \
--num-deploy-confirmations 0 \
--tags upgrade
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment