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

test: arbitrary namespace payload bytes #1675

Merged
merged 8 commits into from
Jul 9, 2024
Merged

test: arbitrary namespace payload bytes #1675

merged 8 commits into from
Jul 9, 2024

Conversation

ggutoski
Copy link
Contributor

@ggutoski ggutoski commented Jul 3, 2024

Closes #1538

This PR:

This PR does not:

Key places to review:

@ggutoski ggutoski changed the title test:Gg/1538 test: arbitrary namespace payload bytes Jul 3, 2024
@philippecamacho
Copy link
Contributor

Would it be worth writing tests mixing abnormal payload size with negative length transactions?

Copy link
Contributor

@philippecamacho philippecamacho left a comment

Choose a reason for hiding this comment

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

I left a question, yet LGTM.

@ggutoski
Copy link
Contributor Author

ggutoski commented Jul 9, 2024

Would it be worth writing tests mixing abnormal payload size with negative length transactions?

Absolutely. This PR is just a stepping-stone.

@ggutoski ggutoski merged commit 857012f into main Jul 9, 2024
14 checks passed
@ggutoski ggutoski deleted the gg/1538 branch July 9, 2024 15:20
ggutoski added a commit that referenced this pull request Jul 11, 2024
* stub for new tests ns_proof/tests.rs

* ns_proof test: wrong inputs, refactor test

* rename new file after rebase

* add tests for hacked namespace proofs, tidy test

* ns_payload test for negative len txs with abnormal payload byte len as per #1675 (comment)

* add empty namespace, block to test as per #1691 (comment)
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.

Tests arbitrary namespace payload bytes
2 participants