Skip to content
This repository was archived by the owner on Jun 17, 2024. It is now read-only.

Conversation

@Matt-Ryley
Copy link

  1. Added the SHA3-256 OPCode and functionality
  2. Added the SHA3-256 to the unit tests
  3. Amended the documentation so that SHA3-256 is included

-- The unit tests have been run on my local machine and all pass.

Added SHA3-256 hashing function as an OP code
Made required changes to pass the unit tests.
-- Changed testAccepts version from 1 to 6
-- Added sha3_256 to the Opgroups
@Matt-Ryley Matt-Ryley requested a review from tgrbrooks January 28, 2022 11:53
Copy link

@tgrbrooks tgrbrooks left a comment

Choose a reason for hiding this comment

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

Looks great, thank you!
Just a couple of things to double check/change but almost good to go

From code review suggestion renamed opSHA3256 to opSHA3_256 in the eval.go and opcodes.go file
Copy link

@tgrbrooks tgrbrooks left a comment

Choose a reason for hiding this comment

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

Great, thank you!

@Matt-Ryley Matt-Ryley merged commit 328a9f0 into master Feb 1, 2022
Matt-Ryley pushed a commit that referenced this pull request Mar 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants