Ethan Buchman
c68d406195
fix tests
7 years ago
Jae Kwon
e4492afbad
Merge
7 years ago
Jae Kwon
89cdde7f1e
Fix state tests
7 years ago
Thomas Corbière
2644a529f0
Fix lint errors ( #1390 )
* use increment and decrement operators.
* remove unnecessary else branches.
* fix package comment with leading space.
* fix receiver names.
* fix error strings.
* remove omittable code.
* remove redundant return statement.
* Revert changes (code is generated.)
* use cfg as receiver name for all config-related types.
* use lsi as the receiver name for the LastSignedInfo type.
7 years ago
Anton Kaliaev
2b63f57b4c
fix tx_indexer's matchRange
before we're using IteratePrefix, which is wrong because we want full
range, not just "account.number=1".
7 years ago
Anton Kaliaev
4085c72496
sort /tx_search results by height by default
Refs #1366
7 years ago
Anton Kaliaev
116a4ec705
temporary fix
I assume there is a deeper issue with how UnmarshalBinary works in
go-amino (i.e., when loading array of some objects, the empty array
becomes []object{nil}). Note when Marshaling, the object is nil.
7 years ago
Ethan Buchman
656854186c
state: fix txResult issue with UnmarshalBinary into ptr
7 years ago
Ethan Buchman
eaafd9d61c
state: builds
7 years ago
Anton Kaliaev
bb2bdbc0e1
add missing element (tag.Value) to keyForTag
encoded as %s. not sure this will work with raw bytes
7 years ago
Ethan Buchman
cd0fd06b0d
update for sdk2 libs. need to fix kv test
NOTE we only updating for tmlibs and abci
7 years ago
Zach
12c5a57415
determinisitic linter ( #902 )
* linter: address gosimple lints
* linter: make deterministic & a rebase fix
* lint/rpc: fix a gosimple lint
* run linter in CI
* fix rebase mistake
* fix makefile
* ugh
* revert Makefile
* add metalinter to CI
* try this
* linter: last little fix
* need glide
* better
* okayy circle, have it your way
* lints: gosimple
* pr comments
7 years ago
Ethan Buchman
9af8da7aad
update for new abci int types
7 years ago
Anton Kaliaev
6423306980
TestIndexAllTags (unit)
7 years ago
Anton Kaliaev
c5b62ce1ee
correct abci version
7 years ago
Anton Kaliaev
e538e0e077
config variable to index all tags
7 years ago
Anton Kaliaev
66ad366a4f
test searching for tx with multiple same tags
7 years ago
Anton Kaliaev
864ad8546e
more test cases
7 years ago
Anton Kaliaev
a762253e24
do not use AddBatch, prefer copying for now
7 years ago
Anton Kaliaev
10d893ee9b
update deps
7 years ago
Anton Kaliaev
acbc0717d4
add client methods
7 years ago
Anton Kaliaev
1e19860585
fixes from my own review
7 years ago
Anton Kaliaev
09941b9aa9
fix metalinter warnings
7 years ago
Anton Kaliaev
686e0eea9f
extract indexing goroutine to a separate indexer service
7 years ago
Anton Kaliaev
91f2184003
fixes after bucky's review
7 years ago
Anton Kaliaev
3e577ccf4f
add `tx_search` RPC endpoint
7 years ago
Anton Kaliaev
ea0b205455
searching transaction results
7 years ago
Anton Kaliaev
29cd1a1b8f
rewrite indexer to be a listener of eventBus
7 years ago
Anton Kaliaev
a52cdbfe43
extract tags from DeliverTx/Result
and send them along with predefined
7 years ago
Zach Ramsay
6f3c05545d
fix new linting errors
7 years ago
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
57ea4987f7
linting: apply errcheck part1
7 years ago
Zach Ramsay
46ccbcbff6
linting: apply 'gofmt -s -w' throughout
7 years ago
Ethan Buchman
c2803b80e8
update changelog; fixes from rebase
7 years ago
Adrian Brink
036d3b59a3
Address reviews
7 years ago
Adrian Brink
782a836db0
Cleanup of code and code docs
This cleans up some of the code in the state package
7 years ago
Ethan Buchman
bfecb5a135
some fixes from review
7 years ago
zramsay
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
8 years ago
Ethan Buchman
d1926bcad1
use tmlibs
8 years ago
Ethan Buchman
9d2de2b756
tx_indexer -> tx_index
8 years ago
Ethan Buchman
45876d0828
NewBatch takes size, batch.Add doesn't use append
8 years ago
Ethan Buchman
b6a04a3456
more fixes from review
8 years ago
Ethan Buchman
f4d0076344
TxResult includes Tx. /tx only works if indexer active
8 years ago
Ethan Buchman
d572bb0c5d
state/txindex and pkg per indexer impl
8 years ago