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

txscript: group numeric encoding tests with their opcodes. #1382

Merged
merged 1 commit into from
Sep 10, 2018

Conversation

dnldd
Copy link
Member

@dnldd dnldd commented Aug 5, 2018

This also moves some dangling tests to their respective opcode groupings.

Work towards #1331.

@@ -785,6 +788,7 @@
["22 21 20", "0 PICK 20 EQUALVERIFY 2DROP DROP 1", "CLEANSTACK", "OK"],
["22 21 20", "1 PICK 21 EQUALVERIFY 2DROP DROP 1", "CLEANSTACK", "OK"],
["22 21 20", "2 PICK 22 EQUALVERIFY 2DROP DROP 1", "CLEANSTACK", "OK"],
["1 0x02 0x0000", "PICK DROP", "NONE", "ERR_MINIMAL_DATA"],
Copy link
Member

Choose a reason for hiding this comment

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

Since these were split up from the section comment that described what they're doing, please add individual comments accordingly.

This also moves some dangling tests to their respective opcode groupings as well as some updates to  test comments.
@davecgh davecgh added this to the 1.4.0 milestone Aug 8, 2018
@davecgh davecgh merged commit 566bb66 into decred:master Sep 10, 2018
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.

2 participants