firefly
firefly copied to clipboard
Bug at startup where FireFly gives up creating listeners if cannot reach transaction manager
As part of the startup flow of FireFly, it will reconcile the intent from its database and call the relevant plugins. For example, it will make sure to activate the toke pools (listen to token pool events) or make sure the contract listeners are created in the transaction manager layer. The latter is the source of this bug and the the listener will never be created against the transaction manager. The worst part is that is fails silently, only when you retrieve the listener then in the status you will see that it cannot find the listener in the blockchain connector as such:
"status": {
"error": "FF10111: Error from ethereum connector: {\"error\":\"FF21046: Event listener '0190119e-0627-9252-799e-0c02208b939c' not found\"}"
}
This will cause FireFly to never listen to those events and not let the user know that an issue has occurred. It's a bug in the way the Contract Manager handles errors from the transaction manager