services/scribe/db/datastore/sql/base/lastconfirmedblock.go
Method Store.StoreLastConfirmedBlock
has 5 return statements (exceeds 4 allowed). Open
Open
func (s Store) StoreLastConfirmedBlock(ctx context.Context, chainID uint32, blockNumber uint64) error {
entry := LastConfirmedBlockInfo{}
dbTx := s.DB().WithContext(ctx).
Model(&LastConfirmedBlockInfo{}).
Where(&LastConfirmedBlockInfo{