• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

trufflesuite / ganache-core / 1527 / 3
83%
develop: 83%

Build:
DEFAULT BRANCH: develop
Ran 20 Feb 2019 03:57PM UTC
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Feb 2019 03:54PM UTC coverage: 80.72% (+0.06%) from 80.665%
1527.3

push

travis-ci

davidmurdoch
Incorrect tx receipt trie root (#231)

Neither the `transactionsTrie` nor the `receiptsTrie` were being calculated and the resulting `transactionsRoot` and `receiptsRoot` were always identical (EMPTY_TRIE_ROOT) when there were 1 or more transactions in a block.

This PR suggests a fix by:
Creating 2 empty Tries and populating them with tx index (within the block) as the keys and transactions/receipts for their respective values.  The resulting Trie's roots are then copied to `block.header.transactionsTrie` and `block.header.receiptTrie` respectively.

806 of 1134 branches covered (71.08%)

Branch coverage included in aggregate %.

2309 of 2725 relevant lines covered (84.73%)

656.06 hits per line

Source Files on job 1527.3
  • Tree
  • List 0
  • Changed 25
  • Source Changed 1
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 316
  • Travis Job 1527.3
  • 4304ef73 on github
  • Prev Job for on develop (#1526.1)
  • Next Job for on develop (#1528.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc