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

Extract keccak-hasher crate #3408

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

kevinheavey
Copy link

Problem

solana_program::keccak imposes a solana_program dep on some SPL crates

Summary of Changes

  • Move solana_program::keccak to a new crate solana-keccak-hasher, modelled on solana-sha256-hasher (see sdk: Extract hash and hasher crates #2015)
  • This new crate should replace its Hash struct with solana_hash::Hash but it won't be able to do so without a breaking change. In the meantime I've just made it rely on solana_hash as much as possible while avoiding breakage

This branches off #3405 so that needs to be merged first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant