1212 * translates to. Pass --dry-run to report without touching anything.
1313 *
1414 * Usage:
15- * node check-chainspec.js <genesis.json> <chainspec.json> [--dry-run] [--name <name>] [--base-fee <0x..>]
15+ * node check-chainspec.js <genesis.json> <chainspec.json> [--dry-run] [--name <name>]
1616 *
17- * Both paths are required; there are no defaults. Pass --name / --base-fee when
18- * the chainspec was produced with those flags , otherwise the translator defaults
19- * are used (which is what the deployment pipeline does).
17+ * Both paths are required; there are no defaults. Pass --name when the chainspec
18+ * was produced with that flag , otherwise the translator defaults are used (which
19+ * is what the deployment pipeline does).
2020 *
2121 * Exit codes:
2222 * 0 chainspec.json already matches genesis.json, nothing was touched
@@ -162,7 +162,7 @@ function replaceChainspec(chainspecPath, expected, date) {
162162 * ------------------------------------------------------------------ */
163163
164164const USAGE =
165- 'Usage: node check-chainspec.js <genesis.json> <chainspec.json> [--subnet] [--dry-run] [--name <name>] [--base-fee <0x..>] \n' +
165+ 'Usage: node check-chainspec.js <genesis.json> <chainspec.json> [--subnet] [--dry-run] [--name <name>]\n' +
166166 '--subnet must match how the chainspec was generated (engine XDPoSSubnet vs\n' +
167167 'XDPoS), otherwise the engine block alone reads as a difference.\n' +
168168 'Both paths are required. A differing chainspec is archived and replaced,\n' +
@@ -189,8 +189,6 @@ function main(argv) {
189189 for ( let i = 0 ; i < args . length ; i ++ ) {
190190 if ( args [ i ] === '--name' ) {
191191 opts . name = args [ ++ i ] ;
192- } else if ( args [ i ] === '--base-fee' ) {
193- opts . baseFeePerGas = args [ ++ i ] ;
194192 } else if ( args [ i ] === '--subnet' ) {
195193 opts . subnet = true ;
196194 } else if ( args [ i ] === '--dry-run' ) {
0 commit comments