Skip to content

Fix encoding bug

Codecov / codecov/patch succeeded Feb 17, 2025 in 1s

71.86% of diff hit (target 60.00%)

View this Pull Request on Codecov

71.86% 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 31 in core/trie2/id.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/id.go#L25-L31

Added lines #L25 - L31 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/id.go#L34-L35

Added lines #L34 - L35 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/id.go#L40-L44

Added lines #L40 - L44 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/id.go#L48-L52

Added lines #L48 - L52 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 126 in core/trie2/node_enc.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node_enc.go#L125-L126

Added lines #L125 - L126 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/trie2/node_enc.go#L144-L145

Added lines #L144 - L145 were not covered by tests