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: upgrade to new workspace (workspace — requires tweaks) #7

Merged
merged 5 commits into from
Feb 10, 2025

Conversation

tbraun96
Copy link
Contributor

Based on the first external application of the workspace, the workspace will need the following enhancements:

  • Add feature flag for networking under the gadget-context-derive crate; then enable the networking feature undergadget-networking simultaneously
  • feature-gate p2p macro #[cfg(feature = "networking")]
  • Tangle client will need to update how it returns ECDSA keys to be compatible with the NetworkDeliveryWrapper
  • Add arbitrary hashing macro for convenience
  • Add better blueprint_test_utils for testing

/// Helper function to compute deterministic hashes for the WSTS processes.
/// Note: for signing, the "call_id" should be the call_id of the preceeding
/// keygen job
pub fn compute_deterministic_hashes(
pub fn compute_execution_hashes(
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this fn and just use gadget-crypto-hasing and just hash these values in place

@drewstone drewstone merged commit edb1099 into main Feb 10, 2025
2 of 3 checks passed
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