Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

celocli governance:withdraw throws TypeError #4046

Closed
jamescowling opened this issue Jun 9, 2020 · 0 comments
Closed

celocli governance:withdraw throws TypeError #4046

jamescowling opened this issue Jun 9, 2020 · 0 comments

Comments

@jamescowling
Copy link
Contributor

Expected Behavior

Built the cli from the latest source, expect to be able to run governance:withdraw.

Current Behavior

celo-monorepo$ packages/cli/bin/run governance:withdraw --from 0x351aEbCDeD9240aE77Dd0a3987e2110b15E0f038 --useLedger --ledgerAddresses=3
(node:31028) Error Plugin: @celo/celocli: could not find package.json with { type: 'core',
  root: '/Users/james/celo-monorepo/packages/cli',
  name: '@oclif/plugin-autocomplete' }
module: @oclif/config@1.13.2
task: loadPlugins
plugin: @celo/celocli
root: /Users/james/celo-monorepo/packages/cli
See more details with DEBUG=*
(node:31028) Error Plugin: @celo/celocli: could not find package.json with { type: 'core',
  root: '/Users/james/celo-monorepo/packages/cli',
  name: '@oclif/plugin-warn-if-update-available' }
module: @oclif/config@1.13.2
task: loadPlugins
plugin: @celo/celocli
root: /Users/james/celo-monorepo/packages/cli
See more details with DEBUG=*
Retrieving derivation Paths [ 0, 1, 2 ]
Running Checks:
TypeError: governance.getRefundedDeposits is not a function
    at CheckBuilder.<anonymous> (~/celo-monorepo/packages/cli/src/utils/checks.ts:325:50)
    at Generator.next (<anonymous>)
    at ~/celo-monorepo/packages/cli/src/utils/checks.ts:8:71
    at new Promise (<anonymous>)
    at __awaiter (~/celo-monorepo/packages/cli/src/utils/checks.ts:4:12)
    at addCheck.withGovernance (~/celo-monorepo/packages/cli/src/utils/checks.ts:325:30)
    at CheckBuilder.<anonymous> (~/celo-monorepo/packages/cli/src/utils/checks.ts:99:14)
    at Generator.next (<anonymous>)
    at fulfilled (~/celo-monorepo/packages/cli/src/utils/checks.ts:5:58)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant