laconicd-deprecated/tests/integration_tests
yihuang 77ed4aa754
feat!: Store eth tx index separately (#1121)
* Store eth tx index separately

Closes: #1075
Solution:
- run a optional indexer service
- adapt the json-rpc to the more efficient query

changelog

changelog

fix lint

fix backward compatibility

fix lint

timeout

better strconv

fix linter

fix package name

add cli command to index old tx

fix for loop

indexer cmd don't have access to local rpc

workaround exceed block gas limit situation

add unit tests for indexer

refactor

polish the indexer module

Update server/config/toml.go

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>

improve comments

share code between GetTxByEthHash and GetTxByIndex

fix unit test

Update server/indexer.go

Co-authored-by: Freddy Caceres <facs95@gmail.com>

* Apply suggestions from code review

* test enable-indexer in integration test

* fix go lint

* address review suggestions

* fix linter

* address review suggestions

- test indexer in backend unit test
- add comments

* fix build

* fix test

* service name

Co-authored-by: Freddy Caceres <facs95@gmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-08-11 22:49:05 +02:00
..
configs feat!: Store eth tx index separately (#1121) 2022-08-11 22:49:05 +02:00
contracts imp(tests): prune node integration tests (#1212) 2022-08-08 10:17:10 +02:00
__init__.py imp(tests): integration tests setup (#1196) 2022-07-27 13:27:07 +00:00
.isort.cfg imp(tests): prune node integration tests (#1212) 2022-08-08 10:17:10 +02:00
conftest.py feat!: Store eth tx index separately (#1121) 2022-08-11 22:49:05 +02:00
cosmoscli.py feat!: Apply feemarket to native cosmos tx (#1194) 2022-08-10 18:33:38 -04:00
expected_constants.py [ENG-626] Rpc types integration tests (#1207) 2022-08-08 09:01:42 -04:00
network.py feat!: Apply feemarket to native cosmos tx (#1194) 2022-08-10 18:33:38 -04:00
poetry.lock imp(tests): integration tests setup (#1196) 2022-07-27 13:27:07 +00:00
pyproject.toml imp(tests): integration tests setup (#1196) 2022-07-27 13:27:07 +00:00
shell.nix fix: integration tests are not run in CI (#1221) 2022-08-02 08:21:03 +02:00
test_basic.py fix: integration tests are not run in CI (#1221) 2022-08-02 08:21:03 +02:00
test_priority.py feat!: Apply feemarket to native cosmos tx (#1194) 2022-08-10 18:33:38 -04:00
test_pruned_node.py imp(tests): prune node integration tests (#1212) 2022-08-08 10:17:10 +02:00
test_types.py [ENG-626] Rpc types integration tests (#1207) 2022-08-08 09:01:42 -04:00
utils.py feat!: Apply feemarket to native cosmos tx (#1194) 2022-08-10 18:33:38 -04:00