gitcoinco / gitcoinco/web

earnings summary CSV exports only first 2 decimal digits for token_value. Results in 0.00 ETH donations.

Open
#9,213 9 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
776
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

The CSV export from https://gitcoin.co/settings/account#financials exports only the 2 decimals digits at token value. All digits should be exported.

Example entry

```
880635,2021-06-27T13:00:00,albertinim211,,lefterisjp,"Berlin, Germany",grant,0.95,0x00298f72ad40167051e111e6dc2924de08cce7cf0ad00d04ad5a9e58426536a1,ETH,0.00,/grants/149/rotki-the-portfolio-tracker-and-accounting-tool-t
```

ETH amount should be `0.0005168` as per https://etherscan.io/tx/0x00298f72ad40167051e111e6dc2924de08cce7cf0ad00d04ad5a9e58426536a1

**To Reproduce**

Export the CSV income report of any grant.

**Expected behavior**

Amount should contain all decimals.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.