Implement BitArray
and replace trie.Key
#2322
75.28% of diff hit (target 60.00%)
View this Pull Request on Codecov
75.28% of diff hit (target 60.00%)
Annotations
Check warning on line 324 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L323-L324
Added lines #L323 - L324 were not covered by tests
Check warning on line 397 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L396-L397
Added lines #L396 - L397 were not covered by tests
Check warning on line 401 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L400-L401
Added lines #L400 - L401 were not covered by tests
Check warning on line 405 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L404-L405
Added lines #L404 - L405 were not covered by tests
Check warning on line 417 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L416-L417
Added lines #L416 - L417 were not covered by tests
Check warning on line 432 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L431-L432
Added lines #L431 - L432 were not covered by tests
Check warning on line 439 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L438-L439
Added lines #L438 - L439 were not covered by tests
Check warning on line 473 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L469-L473
Added lines #L469 - L473 were not covered by tests
Check warning on line 503 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L495-L503
Added lines #L495 - L503 were not covered by tests
Check warning on line 528 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L507-L528
Added lines #L507 - L528 were not covered by tests
Check warning on line 592 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L532-L592
Added lines #L532 - L592 were not covered by tests
Check warning on line 635 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L630-L635
Added lines #L630 - L635 were not covered by tests
Check warning on line 642 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L640-L642
Added lines #L640 - L642 were not covered by tests
Check warning on line 753 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L752-L753
Added lines #L752 - L753 were not covered by tests
Check warning on line 802 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L799-L802
Added lines #L799 - L802 were not covered by tests
Check warning on line 808 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L805-L808
Added lines #L805 - L808 were not covered by tests
Check warning on line 814 in core/trie/bitarray.go
codecov / codecov/patch
core/trie/bitarray.go#L811-L814
Added lines #L811 - L814 were not covered by tests
Check warning on line 38 in core/trie/node.go
codecov / codecov/patch
core/trie/node.go#L38
Added line #L38 was not covered by tests
Check warning on line 160 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L160
Added line #L160 was not covered by tests
Check warning on line 403 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L403
Added line #L403 was not covered by tests
Check warning on line 454 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L454
Added line #L454 was not covered by tests
Check warning on line 161 in core/trie/trie.go
codecov / codecov/patch
core/trie/trie.go#L161
Added line #L161 was not covered by tests
Check warning on line 745 in core/trie/trie.go
codecov / codecov/patch
core/trie/trie.go#L745
Added line #L745 was not covered by tests