content icon indicating copy to clipboard operation
content copied to clipboard

Rearrange Using promises guide

Open Josh-Cena opened this issue 2 years ago • 1 comments

Description

Fix #22095

Motivation

Additional details

Related issues and pull requests

Josh-Cena avatar Nov 08 '22 16:11 Josh-Cena

It is now possible to switch between BLS and Ed25519 programatically by following these steps:

  1. Update the default crypto types in Sui (in sui-types/src/crypto.rs),
  2. In the same file, make sure all schemes implements ToObligationSignature,
  3. Update the default crypto types in Narwhal (narwhal/crypto/src/lib),
  4. Update the signature verification function used by validators in Move to the correct scheme (in sui-framework/sources/governance/validator.move).

jonas-lj avatar Nov 08 '22 09:11 jonas-lj