Skip to content

Remove leading zero bytes from bit array

Codecov / codecov/patch succeeded Feb 11, 2025 in 0s

69.04% of diff hit (target 60.00%)

View this Pull Request on Codecov

69.04% of diff hit (target 60.00%)

Annotations

Check warning on line 51 in core/trie2/collector.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/collector.go#L50-L51

Added lines #L50 - L51 were not covered by tests

Check warning on line 46 in core/trie2/hasher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/hasher.go#L45-L46

Added lines #L45 - L46 were not covered by tests

Check warning on line 74 in core/trie2/hasher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/hasher.go#L73-L74

Added lines #L73 - L74 were not covered by tests

Check warning on line 83 in core/trie2/hasher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/hasher.go#L82-L83

Added lines #L82 - L83 were not covered by tests

Check warning on line 115 in core/trie2/hasher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/hasher.go#L114-L115

Added lines #L114 - L115 were not covered by tests

Check warning on line 33 in core/trie2/id.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/id.go#L27-L33

Added lines #L27 - L33 were not covered by tests

Check warning on line 37 in core/trie2/id.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/id.go#L36-L37

Added lines #L36 - L37 were not covered by tests

Check warning on line 48 in core/trie2/id.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/id.go#L42-L48

Added lines #L42 - L48 were not covered by tests

Check warning on line 58 in core/trie2/id.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/id.go#L52-L58

Added lines #L52 - L58 were not covered by tests

Check warning on line 80 in core/trie2/node.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node.go#L70-L80

Added lines #L70 - L80 were not covered by tests

Check warning on line 90 in core/trie2/node.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node.go#L83-L90

Added lines #L83 - L90 were not covered by tests

Check warning on line 94 in core/trie2/node.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node.go#L93-L94

Added lines #L93 - L94 were not covered by tests

Check warning on line 98 in core/trie2/node.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node.go#L97-L98

Added lines #L97 - L98 were not covered by tests

Check warning on line 122 in core/trie2/node.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node.go#L117-L122

Added lines #L117 - L122 were not covered by tests

Check warning on line 38 in core/trie2/node_enc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node_enc.go#L37-L38

Added lines #L37 - L38 were not covered by tests

Check warning on line 42 in core/trie2/node_enc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node_enc.go#L41-L42

Added lines #L41 - L42 were not covered by tests

Check warning on line 46 in core/trie2/node_enc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node_enc.go#L45-L46

Added lines #L45 - L46 were not covered by tests

Check warning on line 55 in core/trie2/node_enc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node_enc.go#L54-L55

Added lines #L54 - L55 were not covered by tests

Check warning on line 59 in core/trie2/node_enc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node_enc.go#L58-L59

Added lines #L58 - L59 were not covered by tests

Check warning on line 63 in core/trie2/node_enc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node_enc.go#L62-L63

Added lines #L62 - L63 were not covered by tests

Check warning on line 72 in core/trie2/node_enc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node_enc.go#L71-L72

Added lines #L71 - L72 were not covered by tests

Check warning on line 81 in core/trie2/node_enc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node_enc.go#L80-L81

Added lines #L80 - L81 were not covered by tests

Check warning on line 96 in core/trie2/node_enc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node_enc.go#L96

Added line #L96 was not covered by tests

Check warning on line 142 in core/trie2/node_enc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node_enc.go#L141-L142

Added lines #L141 - L142 were not covered by tests

Check warning on line 146 in core/trie2/node_enc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node_enc.go#L145-L146

Added lines #L145 - L146 were not covered by tests