Add attestation data export pipeline#6672
Closed
keon0711 wants to merge 1 commit into
Closed
Conversation
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tools/attestation_export/rustchain_export.pyfor exporting miners, epochs, rewards, attestations, and balances to CSV/JSON/JSONL/Parquet.Refs Scottcjn/rustchain-bounties#49.
Validation
python3 -m unittest tools/attestation_export/test_rustchain_export.pypython3 -m py_compile tools/attestation_export/rustchain_export.py tools/attestation_export/test_rustchain_export.pypython3 tools/bcos_spdx_check.py --base-ref origin/maingit diff --checkpython3 tools/attestation_export/rustchain_export.py --node-url https://50.28.86.131 --format json --output /tmp/rustchain-export-49 --epoch 179python3 tools/attestation_export/rustchain_export.py --node-url https://50.28.86.131 --format csv --output /tmp/rustchain-export-49-csv --epoch 179 --no-wallet-historyBounty
Target bounty: Scottcjn/rustchain-bounties#49, 25 RTC.
Payout identity if accepted:
github:darlina-bounty-codex/ RTC walletRTC1410e82d545ce0b3ffd21ca83e2465a8f2c3a64e.BCOS tier: L1 requested.