question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better documentation of default_balance_ether option needed

See original GitHub issue

Expected Behavior

It should set account balance to new default_balance_ether option.

Current Behavior

It sets account balance to 100 ETH no matter the default_balance_ether option.

Possible Solution

Steps to Reproduce (for bugs)

  1. Install with npm i -g @aragon/aragen
  2. Ran aragen start --default_balance_ether <balance>
  3. Check on a provider that you still have default 100 ETH balance

Context

I would like to initialize the account with a configurable amount of ETH.

Your Environment

  • Version used: 2.7.0
  • Environment name and version (e.g. PHP 5.4 on nginx 1.9.1): node LTS
  • Server type and version:
  • Operating System and version: MacOS 10.15 Beta (19A526h)
  • Link to your project: here

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
davidmurdochcommented, Sep 10, 2019

Reopening this issue so we can clarify our documentation around how the flags interoperate.

0reactions
0xGabicommented, Sep 10, 2019

Hey @davidmurdoch I think I found what was going on. In our case we have a chain snapshot and the same mnemonic was used to generate that snapshot so the accounts were already allocated default amount of ETH when the snapshot was created. I wonder in case of passing a db_path how much of the configurations are able to be modify, for example including a new mnemonic with 200ETH as default is something possible?

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting the initial balance of an account in ganache-cli
OK, found it in the Ganache Command Line guide: -e or --defaultBalanceEther : Amount of ether to assign each test account. Default is...
Read more >
ganache-cli/README.md at master - GitHub
This is a fork of ganache-cli with some adjustments to make it more relevant ... -e or --defaultBalanceEther : Amount of ether to...
Read more >
Add ETH to a Ganache account - Stack Overflow
Your best option is initialize your accounts with very large balances using either --defaultBalanceEther for all accounts or with ...
Read more >
hardhat-ganache | Ethereum development environment for ...
There are no additional steps you need to take for this plugin to work. ... You can set any of the Ganache's options...
Read more >
Tips for Unit Testing Ethereum Smart Contracts in Solidity
So more exhaustive testing is required. ... In the test program, a few tactics not contained in Truffle documentation are used. ... [1]...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found