celo-org / celo-monorepo

Official repository for core projects comprising the Celo platform
https://celo.org
Apache License 2.0
684 stars 360 forks source link

CLI error in account:claim-domain for @celo/celocli/0.0.47 #3646

Closed hqueue closed 3 years ago

hqueue commented 4 years ago

Expected Behavior

No error.

Current Behavior

With the latest version @celo/celocli/0.0.47, there is an error account:claim-domain

$ celocli account:claim-domain ./group_metadata.json --domain example.com --from $CELO_VALIDATOR_GROUP_SIGNER_ADDRESS
TypeError: Cannot read property 'name' of undefined
    at Object.exports.array (~/.nvm/versions/node/v10.20.1/lib/node_modules/@celo/celocli/node_modules/io-ts/lib/index.js:438:52)
    at Object.<anonymous> (~/.nvm/versions/node/v10.20.1/lib/node_modules/@celo/celocli/node_modules/@celo/contractkit/lib/identity/metadata.js:66:15)
    at Object.<anonymous> (~/.nvm/versions/node/v10.20.1/lib/node_modules/@celo/celocli/node_modules/@celo/contractkit/lib/identity/claims/keybase.js:48:18)

It works without problem in @celo/celocli/0.0.46

Reported at discord channel https://discordapp.com/channels/600834479145353243/704804037639405649/704935181924171806

eelanagaraj commented 3 years ago

Looks like it was closed with @celo/celocli/0.0.48, per confirmations later in the Discord thread