Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from dev to main prior to release v0.5.1 #35

Merged
merged 16 commits into from
Sep 26, 2024
Merged

Merge from dev to main prior to release v0.5.1 #35

merged 16 commits into from
Sep 26, 2024

Conversation

xmariachi
Copy link
Contributor

Merge from dev to main prior to release v0.5.1

xmariachi and others added 13 commits September 5, 2024 23:57
* Control of max concurrency subroutines, configurable (new env var
`MAX_CONCURRENT_TX_PROCESSING` )
* Use version-agnostic events
* Add v0.4.0 version tx  (v3)
* Docker updates to v3
* Ability to start at a particular block, with new env var
`BOOTSTRAP_BLOCKHEIGHT`
* Better error handling (or error handling at all)
* Adding context passing in processTx (TODO apply in all others where
applicable)
* SQL working from scratch too
* minor other stuff

* no duplicate key errors locally now, with 5 workers like in the
indexer 🤷
----
* Added unit test

TODO: A lot, but this should fix the current state! 
Tested locally, works fine with 5 workers locally and 32 concurrent
routines.
* Fix older binaries for older blocks

it was not working with v3 because the binaries were not well specified.
(blocks earlier to migration, block `1004550` )
Also it was suboptimal because it had to try first and on failure, run
the correct binaries.

* Batch reputer requets

* Fix forecasts insertion! it was inserting inferences twice.

* Batches inserts in rewards and scores. Prepares the ground for
networklosses too.
type was not parsed , wrong key.
this made rewards were only inserted the first one, with an empty type
- Add new event handlers for research monitoring
- Update tx processor to work against chain v0.5.0
Remove ref to testnet-1.testnet , change to testnet
changelog for 0.5.0
Create sql scripts for upgrade
Merge-back after conflict resolution
We need to create tables for topic `reward` and `forecast task score` to
store all histories
* Add height to uniqueness constraint on `ema_scores`, so that the
history of ema_scores per actor is kept.

---------

Co-authored-by: Kenny <[email protected]>
* Create indexes per topic_id into the tables that have it.

---------

Co-authored-by: Kenny <[email protected]>
Added migration for removal of extra columns on topic
* Insertion of forecasts fixes
* Allow for separate insertion of inferences of forecasts if coming
separately
* Insertion of ema_scores fixed
* updates of last_commit_values fixed
Add PR template
@xmariachi xmariachi merged commit 29f358d into main Sep 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants