Skip to content

[EVM] Avoid returning nil transactions on ForEach (#197)

Codecov / codecov/patch succeeded Jan 30, 2024 in 1s

72.02% of diff hit (target 57.94%)

View this Pull Request on Codecov

72.02% of diff hit (target 57.94%)

Annotations

Check warning on line 209 in abci/example/kvstore/kvstore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

abci/example/kvstore/kvstore.go#L208-L209

Added lines #L208 - L209 were not covered by tests

Check warning on line 55 in abci/types/application.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

abci/types/application.go#L54-L55

Added lines #L54 - L55 were not covered by tests

Check warning on line 158 in abci/types/messages.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

abci/types/messages.go#L158

Added line #L158 was not covered by tests

Check warning on line 160 in abci/types/messages.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

abci/types/messages.go#L160

Added line #L160 was not covered by tests

Check warning on line 308 in internal/mempool/mempool.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/mempool.go#L307-L308

Added lines #L307 - L308 were not covered by tests

Check warning on line 324 in internal/mempool/mempool.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/mempool.go#L319-L324

Added lines #L319 - L324 were not covered by tests

Check warning on line 453 in internal/mempool/mempool.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/mempool.go#L452-L453

Added lines #L452 - L453 were not covered by tests

Check warning on line 712 in internal/mempool/mempool.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/mempool.go#L712

Added line #L712 was not covered by tests

Check warning on line 868 in internal/mempool/mempool.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/mempool.go#L868

Added line #L868 was not covered by tests

Check warning on line 937 in internal/mempool/mempool.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/mempool.go#L936-L937

Added lines #L936 - L937 were not covered by tests

Check warning on line 982 in internal/mempool/mempool.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/mempool.go#L980-L982

Added lines #L980 - L982 were not covered by tests

Check warning on line 987 in internal/mempool/mempool.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/mempool.go#L986-L987

Added lines #L986 - L987 were not covered by tests

Check warning on line 28 in internal/mempool/metrics.gen.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/metrics.gen.go#L23-L28

Added lines #L23 - L28 were not covered by tests

Check warning on line 60 in internal/mempool/metrics.gen.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/metrics.gen.go#L55-L60

Added lines #L55 - L60 were not covered by tests

Check warning on line 152 in internal/mempool/priority_queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/priority_queue.go#L151-L152

Added lines #L151 - L152 were not covered by tests

Check warning on line 287 in internal/mempool/priority_queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/priority_queue.go#L286-L287

Added lines #L286 - L287 were not covered by tests

Check warning on line 293 in internal/mempool/priority_queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/priority_queue.go#L292-L293

Added lines #L292 - L293 were not covered by tests

Check warning on line 372 in internal/mempool/priority_queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/priority_queue.go#L372

Added line #L372 was not covered by tests

Check warning on line 341 in internal/mempool/tx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/tx.go#L335-L341

Added lines #L335 - L341 were not covered by tests

Check warning on line 376 in internal/mempool/tx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/tx.go#L369-L376

Added lines #L369 - L376 were not covered by tests

Check warning on line 386 in internal/mempool/tx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/tx.go#L386

Added line #L386 was not covered by tests

Check warning on line 413 in internal/mempool/tx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/tx.go#L404-L413

Added lines #L404 - L413 were not covered by tests

Check warning on line 415 in internal/mempool/tx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/tx.go#L415

Added line #L415 was not covered by tests

Check warning on line 420 in internal/mempool/tx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/tx.go#L418-L420

Added lines #L418 - L420 were not covered by tests

Check warning on line 431 in internal/mempool/tx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/mempool/tx.go#L422-L431

Added lines #L422 - L431 were not covered by tests