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.

[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

What’s next?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:41 (30 by maintainers)

github_iconTop GitHub Comments

2reactions
aslawsoncommented, Mar 3, 2021

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

2reactions
barbaraliaucommented, Mar 3, 2021

@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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Celo (CELO) Staking Interest Calculator | Staking Rewards
Explore the Best Yield Opportunities to Stake Celo (CELO). Compare validators. Calculate Rewards. Analyze proprietary on-chain momentum data...Explore now!
Read more >
NEAR staking rewards tax tracker [$2000 in NEAR] #41 - GitHub
An open source web-hosted UI where people can track their staking rewards and other relevant tax information.
Read more >
Your Staking Rewards Are Still Taxable - CoinDesk
Let's say that in a year or two the IRS issues guidance that some or all unsold staking rewards are taxable. Such guidance...
Read more >
Solidity Staking Contract with Lockup, Early Withdrawal ...
This contract should be based on the Synthetix StakingRewards contract and ... this bounty is $1k, but a developer can earn up to...
Read more >
How to check your Solana (SOL) staking rewards via Solana ...
The breakdown of your staking rewards for this account appears. You can also download a .csv file of all the reward transactions directly...
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