Home / Input Output / vit-servicing-station
19 commits this week Sep 24, 2022 - Oct 01, 2022
[NPG-3427, NPG-3367] Snapshot endpoints: "/api/v0/snapshot/voter/{tag}/{voting_key}:", " /api/v0/snapshot/delegator/{tag}/{stake_public_key}:" (#280)
* update snapshot endpoints

* update

* add new get_delegator_info endpoint

* add voting_power_saturation field to the VoterInfo

* fix, update test

* update test

* update docs

* fix

* fix clippy

* update fa2faa4a576c59d0155a4956e41ac94f9b930674
Update snapshot storing, replace sled db with the already used diesel sql database (#275)
* add new Snapshot table

* add new VotingRegistration table

* add queries

* add Delegator table

* add delegations queries

* update

* add snapshot table creating, modify get_tags and update_from_raw_snapshot functions

* update db schema and models

* update migrations

* update

* refactor

* fix all tests

* remove unused code

* optimize

* fix lints

* fix clippy

* update snapshot-lib

* update db tables

* fix fmt

* update snapshot-lib, increase timeout for import_big_snapshot test

* fix clippy

* fix comments

* update comments
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/da6a05816e7fa5226c3f61e285ef8d9dfc868f3c' (2022-09-16)
  → 'github:NixOS/nixpkgs/ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90' (2022-09-22)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/e4c6adaa5f9293911de5ad50eaf32dbe36819de3' (2022-09-17)
  → 'github:oxalica/rust-overlay/6eb90123f46664ffbb550c527f656ba848718af5' (2022-09-24)