Skip to content

v2.1.0 Support omni-lock supply mode

Compare
Choose a tag to compare
@TheWaWaR TheWaWaR released this 19 Sep 02:28
· 224 commits to master since this release
6bbaf18

Changes

  • Support omni-lock supply mode
  • Use anyhow::Error to replace Box
  • breaking change: Use hash instead pubkey directly when create Identity and OmniLockConfig:
    • From Identity::new_pubkey_hash(pubkey: &Pubkey) to Identity::new_pubkey_hash(pubkey_hash: H160)
    • From Identity::new_ethereum(pubkey: &Pubkey) to Identity::new_ethereum(pubkey_hash: H160)
    • From OmniLockConfig::new_pubkey_hash(pubkey: &Pubkey) to OmniLockConfig::new_pubkey_hash(lock_arg: H160)
    • Remove OmniLockConfig::new_pubkey_hash_with_lockarg(lock_arg: H160)
    • From OmniLockConfig::new_ethereum(pubkey: &Pubkey) to new_ethereum(pubkey_hash: H160)