parity/polkadot:v0.9.16
zjb0807 opened this issue · 0 comments
zjb0807 commented
$ docker run --rm -v "/tmp/rococo-local.json":/rococo-local.json parity/polkadot:v0.9.16 build-spec --raw --chain=/rococo-local.json --disable-default-bootnode > output/rococo-local.json
Error: Command failed with code 1
[String: ''] {
stdout: '',
stderr: '2022-02-11 09:03:07 Building chain spec \n' +
'Error: \n' +
' 0: \x1B[91mOther: Error parsing spec file: duplicate field `validation_upgrade_cooldown` at line 187 column 43\x1B[0m\n' +
'\n' +
' ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n' +
' 1: \x1B[32m__libc_start_main\x1B[0m\x1B[90m<unknown>\x1B[0m\n' +
' at \x1B[35m<unknown source file>\x1B[0m:\x1B[35m<unknown line>\x1B[0m\n' +
'\n' +
'Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.\n' +
'Run with RUST_BACKTRACE=full to include source snippets.\n',
code: 1,
cat: [Function: bound ],
exec: [Function: bound ],
grep: [Function: bound ],
head: [Function: bound ],
sed: [Function: bound ],
sort: [Function: bound ],
tail: [Function: bound ],
to: [Function: bound ],
toEnd: [Function: bound ],
uniq: [Function: bound ]
}
error Command failed with exit code 1.```