Marcin Czenko
9906f2f990
stops debug output in CI
2024-10-22 06:06:14 +02:00
Marcin Czenko
1aece9efcc
re-enables all integration tests and matrix
2024-10-22 04:31:31 +02:00
Marcin Czenko
65f3fa9212
adds <<return>> after forcing integration test to fail preliminarily
2024-10-22 04:26:55 +02:00
Marcin Czenko
165d514d20
deletes tmp file
2024-10-18 05:12:33 +02:00
Marcin Czenko
31a5a1c6be
refactors integration tests
2024-10-18 05:12:33 +02:00
Marcin Czenko
00c5ae2711
brings tracking of marketplace event back to validator integration test
2024-10-18 05:12:33 +02:00
Marcin Czenko
485ae6f9f0
Makes validator integration test more robust - adds extra tracking
2024-10-18 05:12:33 +02:00
Marcin Czenko
012e134fdf
fine-tune the tests
2024-10-18 05:12:33 +02:00
Marcin Czenko
a8234821b7
use http RPC provider for clients in validation integration tests
2024-10-18 05:12:33 +02:00
Marcin Czenko
c020faa8f2
Brings back the default settings for RPC provider in integration tests
2024-10-18 05:12:33 +02:00
Marcin Czenko
7e458b31dc
adds config option allowing selectively to set different provider url
2024-10-18 05:12:32 +02:00
Marcin Czenko
0e2f6bb686
simplifies the validation integration tests by waiting for failed request instead of tracking slots
2024-10-18 05:12:32 +02:00
Marcin Czenko
dfa845abf8
uses http as default RPC provider for nodes running in integration tests as a workaround for dropped subscriptions
2024-10-18 05:12:32 +02:00
Marcin Czenko
5eb7ab7489
improves timing and clarifies the test conditions
2024-10-18 05:12:32 +02:00
Marcin Czenko
4e83f099e8
better use of logScopes to reduce duplication
2024-10-18 05:12:32 +02:00
Marcin Czenko
ba844eed7b
Makes validation unit test a bit easier to follow
2024-10-18 05:12:32 +02:00
Marcin Czenko
a76bd71c15
Fixes a typo in the name of the validation suite in integration tests
2024-10-18 05:12:31 +02:00
Marcin Czenko
e5f6ee712e
Fixes mistyped name of the mock provider module in testMarket
2024-10-18 05:12:31 +02:00
Marcin Czenko
dbdf3397b5
adds validation to the set of integration tests
2024-10-18 05:12:31 +02:00
Marcin Czenko
60142ea061
review and refactor validator integration tests
2024-10-18 05:12:31 +02:00
Marcin Czenko
2404b75f0d
adds logging of the slotState when removing slots during validation
2024-10-18 05:12:31 +02:00
Marcin Czenko
07c9367bc4
integration test: validator only looks 30 days back for historical state
2024-10-18 05:12:31 +02:00
Marcin Czenko
048a36dc54
adds more logging to validator
2024-10-18 05:12:31 +02:00
Marcin Czenko
347446f37c
validation: adds integration test for historical state
2024-10-18 05:12:30 +02:00
Marcin Czenko
61e0ffadc1
testIntegration: makes list is running nodes injected and available in the body of the test
2024-10-18 05:12:30 +02:00
Marcin Czenko
77d67134fe
adds comment on how to enable logging in integration test executable itself
2024-10-18 05:12:30 +02:00
Marcin Czenko
cc33355361
adds integration test with two validators
2024-10-18 05:12:30 +02:00
Marcin Czenko
1c9228350a
adds validation groups and group index in logs of validator
2024-10-18 05:12:30 +02:00
Marcin Czenko
82886b2b5b
adds slot reservation to the new tests after rebasing
2024-10-18 05:12:30 +02:00
Marcin Czenko
7a28634d88
adds mockprovider to simplify and improve testing of the edge conditions
2024-10-18 05:12:30 +02:00
Marcin Czenko
3ddad7bbbd
adds validation tests for historical state restoration
2024-10-18 05:12:29 +02:00
Marcin Czenko
57e2a97d20
Adds more logging and makes testing earliest block boundary more reliable
2024-10-18 05:12:29 +02:00
Marcin Czenko
ea0f967596
Takes into account that <<earliest>> block available is not necessarily the genesis block
2024-10-18 05:12:29 +02:00
Marcin Czenko
a6ffc65ea3
adds market tests for querying past SlotFilled events and binary search
2024-10-18 05:12:29 +02:00
Marcin Czenko
6a7da7b086
Refactors binary search
2024-10-18 05:12:29 +02:00
Marcin Czenko
d07a5869ae
replaces deprecated generic methods from Market with methods for specific event types
2024-10-18 05:12:29 +02:00
Marcin Czenko
14d703a1a6
refactors a bit to get the tests back to work
2024-10-18 05:12:28 +02:00
Marcin Czenko
8b100e4bd5
adds state restoration to validator
2024-10-18 05:12:28 +02:00
Marcin Czenko
f288ba7021
adds a new overload of queryPastEvents allowing to query past events based on timestamp in the past
2024-10-18 05:12:28 +02:00
Ben Bierens
562e4329e2
Download API upgrade ( #955 )
...
* Adds API for fetching manifest only and downloading dataset without stream
* Updates openapi.yaml
* Adds tests for downloading manifest-only and without stream.
* review comments by Giuliano
* updates test clients
2024-10-17 16:54:28 +00:00
Adam Uhlíř
436baef20a
docs: openapi node fix ( #950 )
2024-10-14 17:26:58 +00:00
Adam Uhlíř
7c33473c88
ci: linux ci runs on ubuntu-20.04 ( #953 )
...
* ci: linux ci runs uses ubuntu-20.04
* ci: use ubuntu-20.04 for nim-matrix
Signed-off-by: Slava <20563034+veaceslavdoina@users.noreply.github.com>
---------
Signed-off-by: Slava <20563034+veaceslavdoina@users.noreply.github.com>
Co-authored-by: Slava <20563034+veaceslavdoina@users.noreply.github.com>
2024-10-14 11:24:53 +00:00
Ben Bierens
93960033f4
Adds log for cirdl download URL ( #948 )
2024-10-10 12:05:03 +00:00
Adam Uhlíř
ffa203b04f
feat: partial rewards and withdraws ( #880 )
...
* feat: partial rewards and withdraws
* test: missing reserve slot
* test: fix contracts
2024-10-10 11:53:33 +00:00
Ben Bierens
3699601393
Handles LPStreamError in chunker ( #947 )
...
* Handles LPStreamError in chunker
* Adds test for lpstream exception
* Adds tests for other stream exceptions. Cleanup.
2024-10-10 11:22:36 +00:00
Arnaud
1fe3abfd03
fix(restapi): Add cors headers when the request is returning errors ( #942 )
...
* Add cors headers when the request is returning errors
* Prevent nim presto to send multiple cors headers
2024-10-10 08:25:07 +00:00
Eric
7e0ec3c233
Support enforcement of slot reservations before filling slot ( #934 )
2024-10-09 04:44:07 +00:00
Slava
44f21b8a68
Update Codex Testnet marketplace contract address ( #944 )
...
Signed-off-by: Slava <20563034+veaceslavdoina@users.noreply.github.com>
2024-10-08 12:10:42 +03:00
Arnaud
f02de34f77
docs(openapi): provider better documentation for space endpoint parameters ( #921 )
...
* Trying to improve documentation
* Update openapi.yaml
Co-authored-by: Adam Uhlíř <adam@uhlir.dev>
Signed-off-by: Arnaud <arno.deville@gmail.com>
* Update openapi.yaml
Co-authored-by: Adam Uhlíř <adam@uhlir.dev>
Signed-off-by: Arnaud <arno.deville@gmail.com>
* Update openapi.yaml
Co-authored-by: Adam Uhlíř <adam@uhlir.dev>
Signed-off-by: Arnaud <arno.deville@gmail.com>
---------
Signed-off-by: Arnaud <arno.deville@gmail.com>
Co-authored-by: Adam Uhlíř <adam@uhlir.dev>
2024-10-08 06:37:10 +00:00
Ben Bierens
17f0988fc7
Fix: null-ref in networkPeer ( #937 )
...
* Fixes nullref in networkPeer
* Removes inflight semaphore
* Revert "Removes inflight semaphore"
This reverts commit 26ec15c6f7
.
2024-10-07 08:50:54 +00:00