[Bounty] CeloCLI Staking Rewards should show whole Wei
See original GitHub issue[Bounty] CeloCLI Staking Rewards Command should show whole Wei
Challenge Description
This bounty is a bug fix in our celocli command line tool. This bounty allows developers to contribute to core tooling used by many Celo community members.
Running the command:
celocli rewards:show --voter <ADDRESS> --estimate
Shows the output in Address payment in fractional wei (10^18) when it should show whole wei.
Actual Output: 123456789012345678.123456789
Expected Output: 123456789012345678 (value is truncated at decimal point)
Time expectation
Expect this bounty to take a developer familiar with Javascript and about 30 minutes.
Submission Requirements
You will need to submit a PR to the celo-monorepo with the fix and test. Please link this PR in your GitCoin submission. Pay out will be granted on successful merge into the celo-monorepo.
Make sure to submit a Celo address (not an Ethereum address) on the bounty submission page. As Celo is a mobile-first blockchain, we suggest you install Valora to create a new Celo account, but you can also create an account using the command line tool or via a Ledger hardware wallet.
We will be checking your GitHub account activity to verify that you are indeed a unique person and to ensure that the same user is not making multiple submissions. Your request will not be accepted if you do not have an active history on GitHub.
Be aware that it may take two weeks to evaluate and payout bounty submissions.
Resources
- celo-monorepo SETUP.md
- Getting Started for Contributing to Celo
- CeloCli Github
- CeloCli NPM Package
- Celo YouTube channel
What’s next?
Issue Analytics
- State:
- Created 3 years ago
- Comments:41 (30 by maintainers)
Top GitHub Comments
you can also point your node to our forno endpoint (we currently run nodes with an api gateway for development though i’m not sure if that’s not included in the SETUP.md…)
--node https://alfajores-forno.celo-testnet.org
https://docs.celo.org/developer-guide/forno
@deepakhb2 you can make a new account by running
./bin/run account:new
@deepakhb2 thanks for jumping in! We will be posting additional bounties so keep an eye out for those 👀
@sebasaenz This is documented in the SETUP.md but that file is understandably difficult to find if you don’t know to look for it. We’ll include a link to it for future bounties. https://github.com/celo-org/celo-monorepo/blob/master/SETUP.md