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

Indexer for Extracting Source Code from Testnet Blocks to GitHub #39

Open
moul opened this issue Sep 20, 2023 · 2 comments
Open

Indexer for Extracting Source Code from Testnet Blocks to GitHub #39

moul opened this issue Sep 20, 2023 · 2 comments
Assignees

Comments

@moul
Copy link
Member

moul commented Sep 20, 2023

Objective:

I propose the development of an indexer designed to subscribe to new blocks on our testnets. The primary function of this indexer would be to extract the source code of the uploaded packages from these blocks and then commit them to a dedicated GitHub repository.

Rationale:

Having the source code on GitHub offers multiple advantages:

  • Allows for easier exploration and understanding of the code without directly querying the testnet.
  • Facilitates static analysis to ensure the code's quality and safety.
  • Enables the testing of our tools on a larger, more diverse codebase, thereby increasing their reliability.

Inspiration:

A point of reference for this endeavor could be tx-exports that I formerly maintained. It primarily focused on archiving blocks. While it had its limitations regarding speed and efficiency, the idea behind it remains solid. Leveraging better infrastructure and a more sophisticated transaction indexing system could greatly enhance its performance and usefulness. (@Milos and @Albert for insights on potential improvements)

I believe that this tool would be a significant asset to our development and analysis workflows. Eager to hear thoughts and potential approaches!

@moul
Copy link
Member Author

moul commented Sep 20, 2023

Can be done in this repo: gnolang/tx-exports#2

@leohhhn
Copy link
Contributor

leohhhn commented Oct 6, 2023

A WIP extractor is currently waiting for reviews and @zivkovicmilos & @ajnavarro's gnotxsync and indexer efforts. Related PR #5 on the tx-exports repo.

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

No branches or pull requests

2 participants