Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement, improvement for oracle server (#39)
* improvement, improvement for tiber oracle network. 1. update default reflesh interval for AMM7&DEX plugins. 2. add a votebuffer after an outlier penalty to prevent slashing again. * lint, fix lint errors. * test, refine test. * refine, refine the constructoin of plugin of different network. * doc, update comments. * ci, update .gitingore * lint, fix lint error. * refine, refine the typings and variables in oracle-server. * refine, renaming. * refine, refine the outlier alerts. * improvement, shorten the TTL of samples. * improvement, disable plugins with config. * improvement, disable plugin on runtime and startup. * logging, add data source logging for plugins. * refine, renaming. * doc, add todos, and chain id in plugin framework. * improvement, start plugin with chainID matching. * improvement, make the disaster recovery more robust. * test, fix legacy tests. * imports the AGC's metrics framework for oracle server. * finish the importing of metric framework. * fix go dep. * no lint for the imported metric framework from AGC. * remove useless metric registry group. * remove useless enabler flag. * feature, add user-plane metrics for oracle_server and plugins. * doc, add todos for the configuration refine. * refine the metric collector and the configuration of the server. (#42) * merge oracle-server config file with plugin's config file. * feature, start metric colletion on demand. * feature, start process metrics collector, and remove useless codes. * update naming for plugin metrics. * update naming for metics. * config, update the example config file of the server. * test, repair config tests. * makefile, make for config file. * test, repair tests. * doc, update doc for the oracle server. * no lint and doc update with metrics. * fix, repair e2e tests and fix a bug on cli command. * lint, fix lint errors. * e2e_test, check num of slash for outlier as the voter buffer is activated. * e2e-test, fix e2e test case. * refine, minor refine in code. * improvement, plugin management on update, and select the last sample for AMM data. * e2e-test, more e2e tests for plugin management, doc with comments. * e2e-test, more e2e testcases and enable metric collection in e2e test. * doc, update doc. * test, rename test data. * refine, naming improvements. * upgrade dependency, and fix lint error. * ci, upgrade golang version in CI. * ci, set golang with v1.22.x * refine, naming improvement. * improvement, aggregate pre-samples of datapoints from AMM and AFQ. (#44) * improvement, aggregate pre-samples of datapoints from AMM and AFQ. * refine, loggings. * lint, no lint error. * feature, VWAP aggregation for AMM and AFQ market data points. (#45) * feature, VWAP aggregation for AMM and AFQ market data points. * lint, fix lint error. * test, repair test. * improvement, do the VWAP for recent samples. * refine, code refine and add todo for confidence adjustment. * refine, code refine and doc update for VWAP. * test, fix test. * improvement, confidence adjusted for historic round data. * improvement, refine for oracle server. * lint, no lint.
- Loading branch information