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(iota-genesis-builder): snapshot test data setup #761

Merged
merged 10 commits into from
Jun 20, 2024

Conversation

thibault-martinez
Copy link
Member

@thibault-martinez thibault-martinez commented Jun 19, 2024

Fixes #760

The dummy module is just here to quickly verify that everything works, it will be removed in the next PR.
Each subsequent PR for #611 should add a new module providing a fn outputs() -> Vec<(OutputHeader, Output)>.

@thibault-martinez thibault-martinez marked this pull request as ready for review June 19, 2024 13:25
Copy link
Contributor

@kodemartin kodemartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@Thoralf-M Thoralf-M left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Milestone diffs aren't updated and outputs/their headers aren't verified in any way, which is fine for our test case here, but could potentially lead to errors (total supply could overflow) when trying to analyze it with other tools. Just mentioning it here so you're aware

@thibault-martinez
Copy link
Member Author

thibault-martinez commented Jun 20, 2024

Milestone diffs aren't updated and outputs/their headers aren't verified in any way, which is fine for our test case here, but could potentially lead to errors when trying to analyze it with other tools. Just mentioning it here so you're aware

Yeah I've purposely ignored the milestone diffs for now as it didn't contribute to the test and the snapshot parser interface doesn't even allow it for now. I'll create a new issue.

@thibault-martinez thibault-martinez merged commit c9c92a8 into develop Jun 20, 2024
22 of 36 checks passed
@thibault-martinez thibault-martinez deleted the dev-tools-snapshot-test-data-setup branch June 20, 2024 08:51
alexsporn pushed a commit that referenced this pull request Sep 6, 2024
* initial add_snapshot_test_data setup

* increment snapshot header output count

* add new outputs to snapshot

* change the header total supply

* add some comments

* rename and add comment

* rename example
alexsporn pushed a commit that referenced this pull request Sep 6, 2024
* initial add_snapshot_test_data setup

* increment snapshot header output count

* add new outputs to snapshot

* change the header total supply

* add some comments

* rename and add comment

* rename example
alexsporn pushed a commit that referenced this pull request Sep 6, 2024
* initial add_snapshot_test_data setup

* increment snapshot header output count

* add new outputs to snapshot

* change the header total supply

* add some comments

* rename and add comment

* rename example
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.

[Task (dev-tools)]: Test data - setup
3 participants