M. J. Fromberger
8f06e0c9e7
cleanup: remove redundant error plumbing ( #6778 )
This is a mostly-automated fixup using Comby (https://comby.dev ) to remove
lexically-obvious redundant error checks. No functional changes are intended.
To reproduce the core change:
# Collapse redundant error check conditionals
% comby -in-place 'if err != nil {
return err
}
return nil' 'return err' .go
# Fold out unnecessary error temporaries
% comby -in-place ':[spc~^\s*]err :[~:?]= :[any]
return err' ':[spc]return :[any]' .go
Fixes #6479 and related cases.
3 years ago
William Banfield
3ccfb26137
psql: close opened rows in tests ( #6669 )
3 years ago
JayT106
e850863296
state/indexer: close row after query ( #6664 )
Closes : #6661
Note: see another error during the events indexing, guess the raw tx size exceeds the limitation?
```
3:17PM ERR failed to index block txs err="pq: index row size 2768 exceeds btree version 4 maximum 2704 for index \"tx_results_tx_result_key\"" height=5205112 module=txindex
3 years ago
Aleksandr Bezobchuk
4f8bcb1cce
docs: update events ( #6658 )
* docs: update events
* lint++
* lint++
3 years ago
JayT106
d2b78ec09b
indexer: use INSERT ... ON CONFLICT in the psql eventsink insert functions ( #6556 )
3 years ago
JayT106
711a718162
config/indexer: custom event indexing ( #6411 )
4 years ago