Skip to content

Commit

Permalink
Update fvm/environment/event_emitter.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanschalm authored May 9, 2024
1 parent cbc55e4 commit bef5cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fvm/environment/event_emitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func (collection *EventCollection) TotalEventCounter() uint32 {

// IsServiceEvent determines whether an emitted Cadence event is considered a service event for the given chain.
// An event is a service event if it is defined in the `systemcontracts` package allow-list.
// Note that we have *removed* the prior constraint that service events can only be
// Note that we have *removed* the prior constraint that service events can only be
// emitted in the system chunk. Now a system smart contract can emit service events
// as part of any transaction.
func IsServiceEvent(eventType flow.EventType, chain flow.ChainID) (bool, error) {
Expand Down

0 comments on commit bef5cfa

Please sign in to comment.