Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(BEDS-536): add re-index-blocks cmd to fix internal transfers status #2965

Open
wants to merge 35 commits into
base: master
Choose a base branch
from

Conversation

Tangui-Bitfly
Copy link
Collaborator

  • save when a trace revert an consider that all its child are reverted
  • update transaction view (ref)
image
  • update traces view (ref)
image
  • introduce an unit test, this required few refactoring
    • TieredCacher interface to allow mock
    • RedisClient interface to allow mock
    • SQLReaderDb interface to allow mock
    • InitBigtableWithCache to inject mock dependency
    • type extraction inside types/config.go to simplify test writing

types/eth1.proto Outdated Show resolved Hide resolved
Tangui-Bitfly and others added 8 commits October 9, 2024 17:47
…batch processing from Erigon node (#2967)

* wip: move itx status parsing logic to transformers func

* wip: implementing fix-internal-txs misc cmd

* wip: updated geth client initialisation

* wip: moved blocks by batch logic to erigon.go

* wip: updated block by number batch call

* updated blocks batch processing

* feat: added transformers for bulk mutations

* fix: save current block height in local variable when performing mutation of the block data

* fix: add check for start and end block flags

* fix: updated erigon client

* fix: add check for batchcall size and return if it's empty

* cleanup unused code

* cleanup

* updated cmd name to fix-internal-txs-from-node

* fix: uncles, blobGasUsed & excessBlobGas parsing

* rm timings, update GetBlocksByBatch func

* fix: revised ReindexITxsFromNode func logic

* fix: update the logic for parsing uncles, BlobGasUsed and ExcessBlobGas
* rpc/erigon: use raw bigtable
* rpc/erigon: use cache raw db
* rpc/erigon: correct path for geth traces
* cmd/reindex: improve performance + fix raw store cache
* rpc/erigon: fix sender address
* db2/store: add remote server + client
@Tangui-Bitfly Tangui-Bitfly force-pushed the BEDS-536/fix-internal-transfer-merge branch from 36500aa to 02926ed Compare October 30, 2024 11:39
@Tangui-Bitfly Tangui-Bitfly force-pushed the BEDS-536/fix-internal-transfer-merge branch from f6c5f1f to e4883a5 Compare October 30, 2024 13:44
@Monika-Bitfly Monika-Bitfly changed the title (BEDS-536) Fix internal transfer status feat(BEDS-536): add re-index-blocks cmd to fix internal transfers status Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants