(eventStore scommon.EventStore, txHash common.Uint256, notify *event.ExecuteNotify)
| 129 | } |
| 130 | |
| 131 | func SaveNotify(eventStore scommon.EventStore, txHash common.Uint256, notify *event.ExecuteNotify) error { |
| 132 | if !sysconfig.DefConfig.Common.EnableEventLog { |
| 133 | return nil |
| 134 | } |
| 135 | if err := eventStore.SaveEventNotifyByTx(txHash, notify); err != nil { |
| 136 | return fmt.Errorf("SaveEventNotifyByTx error %s", err) |
| 137 | } |
| 138 | event.PushSmartCodeEvent(txHash, 0, event.EVENT_NOTIFY, notify) |
| 139 | return nil |
| 140 | } |
| 141 | |
| 142 | func refreshGlobalParam(config *smartcontract.Config, cache *storage.CacheDB, store store.LedgerStore) error { |
| 143 | sink := common.NewZeroCopySink(nil) |
no test coverage detected