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

ethereumjs / ethereumjs-vm / 1343
38%

Build:
DEFAULT BRANCH: master
Ran 24 Apr 2018 07:09PM UTC
Jobs 1
Files 23
Run time 7s
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

pending completion
1343

Pull #295

travis-ci

web-flow
Align Bloom Filter Hashing with Mainnet Compatible Clients

When clients like Go-ethereum and Parity create bloom filters, they
trim leading zeroes off the topic before applying keccak to hash the
value. As far as I can tell, this is inconsistent with the yellow paper
(see: https://github.com/ethereum/yellowpaper/issues/690), but for
ethereumjs-vm generated bloom filters to be compatible with tools that
consume mainnet bloom filters, it should follow the same pattern.

See https://github.com/ethereum/go-ethereum/blob/master/core/types/bloom9.go#L60
where go-ethereum casts topics as big.Int then back to bytes, effectively
stripping away leading zeroes before hashing.
Pull Request #295: Align Bloom Filter Hashing with Mainnet Compatible Clients

504 of 674 branches covered (74.78%)

6 of 6 new or added lines in 1 file covered. (100.0%)

1462 of 1710 relevant lines covered (85.5%)

510658.76 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/bloom.js
Jobs
ID Job ID Ran Files Coverage
4 1343.4 (CXX=g++-4.8 TEST_SUITE=coveralls) 24 Apr 2018 07:09PM UTC 0
85.5
Travis Job 1343.4
Source Files on build 1343
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1343
  • Pull Request #295
  • PR Base - master (#1332)
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