Fix and refactor trie proof logics #2252
66.85% of diff hit (target 60.00%)
View this Pull Request on Codecov
66.85% of diff hit (target 60.00%)
Annotations
Check warning on line 138 in core/trie/key.go
codecov / codecov/patch
core/trie/key.go#L137-L138
Added lines #L137 - L138 were not covered by tests
Check warning on line 151 in core/trie/key.go
codecov / codecov/patch
core/trie/key.go#L148-L151
Added lines #L148 - L151 were not covered by tests
Check warning on line 159 in core/trie/key.go
codecov / codecov/patch
core/trie/key.go#L159
Added line #L159 was not covered by tests
Check warning on line 144 in core/trie/node.go
codecov / codecov/patch
core/trie/node.go#L143-L144
Added lines #L143 - L144 were not covered by tests
Check warning on line 157 in core/trie/node.go
codecov / codecov/patch
core/trie/node.go#L156-L157
Added lines #L156 - L157 were not covered by tests
Check warning on line 161 in core/trie/node.go
codecov / codecov/patch
core/trie/node.go#L160-L161
Added lines #L160 - L161 were not covered by tests
Check warning on line 165 in core/trie/node.go
codecov / codecov/patch
core/trie/node.go#L164-L165
Added lines #L164 - L165 were not covered by tests
Check warning on line 169 in core/trie/node.go
codecov / codecov/patch
core/trie/node.go#L168-L169
Added lines #L168 - L169 were not covered by tests
Check warning on line 173 in core/trie/node.go
codecov / codecov/patch
core/trie/node.go#L172-L173
Added lines #L172 - L173 were not covered by tests
Check warning on line 38 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L37-L38
Added lines #L37 - L38 were not covered by tests
Check warning on line 59 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L58-L59
Added lines #L58 - L59 were not covered by tests
Check warning on line 71 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L71
Added line #L71 was not covered by tests
Check warning on line 80 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L79-L80
Added lines #L79 - L80 were not covered by tests
Check warning on line 103 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L103
Added line #L103 was not covered by tests
Check warning on line 113 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L113
Added line #L113 was not covered by tests
Check warning on line 150 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L149-L150
Added lines #L149 - L150 were not covered by tests
Check warning on line 155 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L154-L155
Added lines #L154 - L155 were not covered by tests
Check warning on line 161 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L160-L161
Added lines #L160 - L161 were not covered by tests
Check warning on line 204 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L204
Added line #L204 was not covered by tests
Check warning on line 222 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L222
Added line #L222 was not covered by tests
Check warning on line 228 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L227-L228
Added lines #L227 - L228 were not covered by tests
Check warning on line 232 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L231-L232
Added lines #L231 - L232 were not covered by tests
Check warning on line 247 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L246-L247
Added lines #L246 - L247 were not covered by tests
Check warning on line 263 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L263
Added line #L263 was not covered by tests
Check warning on line 268 in core/trie/proof.go
codecov / codecov/patch
core/trie/proof.go#L268
Added line #L268 was not covered by tests