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

dao token new does not allow token-name to have spaces in it #469

Open
chrishobcroft opened this issue May 17, 2019 · 4 comments
Open

dao token new does not allow token-name to have spaces in it #469

chrishobcroft opened this issue May 17, 2019 · 4 comments
Labels
🐛 bug An unexpected behavior of the API

Comments

@chrishobcroft
Copy link

🐛 Bug Report

I tried to run dao token new with a token-name with spaces in it, like so:

dao token new "Livepeer DAO Token" "LPDAO" 0 --environment aragon:rinkeby

It seems to have taken
"Livepeer as the <token-name>
DAO as the <symbol>
Token as the [decimal units]

Have you read the Contributing Guidelines on issues?

Yes

Context

I am trying to deploy a DAO to Rinkeby using @lkngtn's guide in the forum.

Mainnet or testnet?

Rinkeby

Organization

Not applicable, as this is re: creating a new token.

Environment

  • OS and OS version: Ubuntu 19.04
  • Browser and browser version: N/A
  • Add any other context about the problem here.

To Reproduce

Run dao token new "Livepeer DAO Token" "LPDAO" 0 --environment aragon:rinkeby

Expected behavior

I expected that the command would be able to create a new token with the name specified "inside the quote marks".

Actual Behavior

The command returned with an error that the parameter for decimals must be an integer.

chrishobcroft@thinkpad:~$ dao token new "Livepeer DAO Token" "LPDAO" 0 --environment aragon:rinkeby
 ✔ Deploy the MiniMeTokenFactory contract
 ✖ Deploy the MiniMeToken contract
   → Error: [number-to-bn] while converting number "Token" to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or Bi…
 ✖ Error: [number-to-bn] while converting number "Token" to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported. Given value: "Token"

Reproducible Demo

Run dao token new "Livepeer DAO Token" "LPDAO" 0 --environment aragon:rinkeby

@sohkai
Copy link
Contributor

sohkai commented May 17, 2019

Haha yes... unfortunately this is a problem with parsing CLI arguments :(. Not sure if there's anything we can do for this, but related to #369 cc @0x6431346e

@kernelwhisperer
Copy link
Contributor

Yeah that's the problem... if it's not too much trouble I'd recommend you to clone the aragonCLI and hardcode those params 😅

@stale stale bot added the abandoned label Nov 14, 2019
@xuhcc
Copy link
Contributor

xuhcc commented Nov 14, 2019

Bump.

@stale stale bot removed the abandoned label Nov 14, 2019
@aragon aragon deleted a comment from stale bot Nov 18, 2019
@xuhcc
Copy link
Contributor

xuhcc commented Dec 3, 2019

The error is gone on develop branch 😌

@0xGabi 0xGabi added the 🐛 bug An unexpected behavior of the API label Jan 11, 2020
@stale stale bot added the abandoned label Jul 9, 2020
@aragon aragon deleted a comment from stale bot Jul 9, 2020
@stale stale bot removed the abandoned label Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug An unexpected behavior of the API
Projects
None yet
Development

No branches or pull requests

5 participants