Skip to content

Commit

Permalink
Merge pull request #29 from liuck8080/master
Browse files Browse the repository at this point in the history
chore: 🤖 bump up to v2.1
  • Loading branch information
TheWaWaR committed Sep 19, 2022
2 parents ae0860f + aaa22d5 commit 6bbaf18
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# 2.1.0
* Support omni-lock supply mode
* Use anyhow::Error to replace Box<dyn std::error::Error>
* **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)`


# 2.0.0
* Add omni-lock support
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ckb-sdk"
version = "2.0.0"
version = "2.1.0"
authors = ["Linfeng Qian <[email protected]>", "Nervos Core Dev <[email protected]>"]
edition = "2018"
license = "MIT"
Expand Down

0 comments on commit 6bbaf18

Please sign in to comment.