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] Script to generate test data, with a bit refactoring #45

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

maciejka
Copy link
Collaborator

@maciejka maciejka commented Aug 9, 2024

Script to generate test data, e.g. to create data for genesis block:

scarb run get_block 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f

Refactorings:

  • added some data to TxIn as it is necessary for calculating txid.
  • removed prev_block_hash from the header as it is already in ChainState.
  • type fixes

@maciejka maciejka requested a review from m-kus as a code owner August 9, 2024 09:33
Copy link

vercel bot commented Aug 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
raito ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 9, 2024 2:07pm

@maciejka maciejka changed the title Script to generate test data, with a bit refactoring [feat] Script to generate test data, with a bit refactoring Aug 9, 2024
@maciejka maciejka merged commit 522a324 into main Aug 9, 2024
5 checks passed
@maciejka maciejka deleted the mk/test_data branch August 9, 2024 14:07
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.

1 participant