flow-cli
flow-cli copied to clipboard
Fetching events with a batch set to one returns duplicate
When running the command to fetch the events with the batch flag set to one it returns duplicate results.
Command run: flow events get A.f8d6e0586b0a20c7.Bar.Test --batch 1
Result:
Events Block #9:
Index 0
Type A.f8d6e0586b0a20c7.Bar.Test
Tx ID f649577a93e187b421636f11cf15b82556e433174b5214b1816f3f1164b01068
Values
- x (String): "Hello World init"
Events Block #9:
Index 0
Type A.f8d6e0586b0a20c7.Bar.Test
Tx ID f649577a93e187b421636f11cf15b82556e433174b5214b1816f3f1164b01068
Values
- x (String): "Hello World init"
As seen the event is repeated. This only happens when the batch flag is set to 1.