Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: custom rpc finalized block subscriptions (#5466)
* feat: custom_rpc finalized block subscriptions * feat: instantiated new chain_head api inside custom-rpc * feat: changed subscription to use new chainHead_v1_follow api * fix: properly handle finalized events + code cleanup * fix: return error msg when pool doesn't exist in cf_subscribe_scheduled_swaps * fix: remove sp_blockchain dependency * fix: move bool into closure * feat: use stream combinators * feat: always return a single leading block; allow new block subscriptions; * fix: include Initialized events only when NotificationBehaviour is Finalized * fix: downgrade Cargo.lock version --------- Co-authored-by: Daniel <daniel@chainflip.io>
- Loading branch information