You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What if events with invalid format are stored on chain. I know this shouldn't happen, since all updates should be done via Trubudget's api. What if an organization publish an event directly even not intentional via multichain client.
Then apis connected to the chain cannot read this event anymore, currently an api would break because the event sourcing exits with codee 500.
Wouldn't it be better to ignore these events and the api builds the state from events it knows only?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What if events with invalid format are stored on chain. I know this shouldn't happen, since all updates should be done via Trubudget's api. What if an organization publish an event directly even not intentional via multichain client.
Then apis connected to the chain cannot read this event anymore, currently an api would break because the event sourcing exits with codee 500.
Wouldn't it be better to ignore these events and the api builds the state from events it knows only?
Beta Was this translation helpful? Give feedback.
All reactions