Skip to content

adds market tests for querying past SlotFilled events and binary search

Codecov / codecov/patch succeeded Oct 9, 2024 in 0s

20.51% of diff hit (target 88.12%)

View this Pull Request on Codecov

20.51% of diff hit (target 88.12%)

Annotations

Check warning on line 421 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L401-L421

Added lines #L401 - L421 were not covered by tests

Check warning on line 435 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L425-L435

Added lines #L425 - L435 were not covered by tests

Check warning on line 439 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L437-L439

Added lines #L437 - L439 were not covered by tests

Check warning on line 445 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L441-L445

Added lines #L441 - L445 were not covered by tests

Check warning on line 448 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L447-L448

Added lines #L447 - L448 were not covered by tests

Check warning on line 462 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L451-L462

Added lines #L451 - L462 were not covered by tests

Check warning on line 475 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L465-L475

Added lines #L465 - L475 were not covered by tests

Check warning on line 480 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L479-L480

Added lines #L479 - L480 were not covered by tests

Check warning on line 483 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L482-L483

Added lines #L482 - L483 were not covered by tests

Check warning on line 497 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L485-L497

Added lines #L485 - L497 were not covered by tests

Check warning on line 499 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L499

Added line #L499 was not covered by tests

Check warning on line 503 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L502-L503

Added lines #L502 - L503 were not covered by tests

Check warning on line 528 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L505-L528

Added lines #L505 - L528 were not covered by tests

Check warning on line 532 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L530-L532

Added lines #L530 - L532 were not covered by tests

Check warning on line 534 in codex/contracts/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/contracts/market.nim#L534

Added line #L534 was not covered by tests

Check warning on line 250 in codex/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/market.nim#L250

Added line #L250 was not covered by tests

Check warning on line 254 in codex/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/market.nim#L252-L254

Added lines #L252 - L254 were not covered by tests

Check warning on line 265 in codex/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/market.nim#L256-L265

Added lines #L256 - L265 were not covered by tests

Check warning on line 268 in codex/market.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/market.nim#L267-L268

Added lines #L267 - L268 were not covered by tests

Check warning on line 137 in codex/validation.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

codex/validation.nim#L137

Added line #L137 was not covered by tests

Check warning on line 473 in tests/codex/helpers/mockmarket.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

tests/codex/helpers/mockmarket.nim#L473

Added line #L473 was not covered by tests

Check warning on line 477 in tests/codex/helpers/mockmarket.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

tests/codex/helpers/mockmarket.nim#L476-L477

Added lines #L476 - L477 were not covered by tests

Check warning on line 484 in tests/codex/helpers/mockmarket.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

tests/codex/helpers/mockmarket.nim#L479-L484

Added lines #L479 - L484 were not covered by tests

Check warning on line 491 in tests/codex/helpers/mockmarket.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

tests/codex/helpers/mockmarket.nim#L489-L491

Added lines #L489 - L491 were not covered by tests

Check warning on line 504 in tests/codex/helpers/mockmarket.nim

See this annotation in the file changed.

@codecov codecov / codecov/patch

tests/codex/helpers/mockmarket.nim#L493-L504

Added lines #L493 - L504 were not covered by tests