hyperledger-firefly / hyperledger-firefly/firefly

bug: duplicate events received when using multiple namespaces

Open
#1,644 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
602
Forks
246
Avg merge
18h 47m
Merged PRs (30d)
6

Description

### What happened?

When using FireFly with multiple namespaces, it seems that events of type "blockchain invoke succeeded" and "contract deploy succeeded" are always received multiple times. If I have 7 namespaces, the namespace that triggered the invoke/deploy receives the success event 7 times. Other namespaces don't receive the event at all (which is expected, as it should only be sent to the namespace that triggered it).

Image

### What did you expect to happen?

I would expect only one copy of the "blockchain invoke succeeded" or "contract deploy succeeded" event to be delivered back to the namespace that triggered the request.

### How can we reproduce it (as minimally and precisely as possible)?

Create multiple namespaces and either deploy a contract or invoke a contract.

### Anything else we need to know?

_No response_

### OS version

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.