tezos-checker / checker

An in-development "robocoin" system for the Tezos blockchain
24 stars 16 forks source link

Initial stress test for liquidation auction #159

Closed utdemir closed 3 years ago

utdemir commented 3 years ago

This PR adds a new e2e test called LiquidationsStressTest which creates a thousand liquidation slices.

It mainly tests the push_back function, and it seems to be well below the gas limit since we're triggering 40 liquidations as a bulk operation. We should add similar tests for other AVL functions too (split and del comes to mind).

While doing that, I had to implement a few other minor changes:

CHECKER_DIR=$(nix-build -A michelson --arg e2eTestsHack true) python e2e/main.py LiquidationsStressTest

When we end up in a state where our E2E tests run reliably, we should add this to the CI.