Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fortuna-v2): implement a keeper service for entropy v2 (#1366)
* extract code to run api * save * some changes * add exit checks * retry for sub threads and fetch events * handle events * remove unused * compiling * add logs to keeper * add simulation and some fixed * refactoring keeper * backlog refactoring works * extract handle event * extract watch blocks in a method * handle events extracted * remove res block from backlog method * remove res block from watch_blocks * remove res block from process events * load private key from file * add gas limit to blockchain config * remove unused imports * remove a log * gas param u256 * spell simulate * rename keeper private keeper file * wait for only api to exit * remove exit check from keeper * remove is valid request method as simulate will cover things * remove some parameters * remove exit check from keeper * use saturating sub * correct condition * update logging statement * combine logs * use nonce manager to send transaction * poll instead of stream and add nonce middleware * remove unused * fix tests * add ws support to streaming * Refactor and improve error handling * replace simulation with gas estimation * add polling support for when no wss url * version update * test check * update comment * update key comment * rename chain_config to chain_state * update version * pad gas estimate * add comments --------- Co-authored-by: Amin Moghaddam <[email protected]>
- Loading branch information