hyperledger / firefly

Hyperledger FireFly is the first open source Supernode: a complete stack for enterprises to build and scale secure Web3 applications. The FireFly API for digital assets, data flows, and blockchain transactions makes it radically faster to build production-ready apps on popular chains and protocols.
https://hyperledger.github.io/firefly
Apache License 2.0
508 stars 209 forks source link

FireFly does not attempt to re-connect to token connectors on Namespace startup retry #1483

Closed nguyer closed 8 months ago

nguyer commented 8 months ago

FireFly is designed to keep retrying to start a namespace if one of its plugins fails to fully initialize correctly. I discovered that (likely due to a recent change in my eventstreams refactoring PR) it only attempts to connect to the token connector websocket the first time it tries to start a namespace. Due to the Start() function on AssetManager being called from the wrong spot in the code, it is skipped on any subsequent retry.