diff --git a/CHANGELOG.md b/CHANGELOG.md index fa01f3aa6..66ce3b03d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,25 @@ # CHANGELOG + + +## [Unreleased] +* refactor!: change some precompile input and output to tuple by @KaoImin in https://github.com/axonweb3/axon/pull/1642 +* refactor: omit `address` field in chain spec parsing by @KaoImin in https://github.com/axonweb3/axon/pull/1641 +* feat: rlp encode for VerifyProofPayload by @wenyuanhust in https://github.com/axonweb3/axon/pull/1637 +* feat: enable get header precompile by @blckngm in https://github.com/axonweb3/axon/pull/1649 +* feat: cli for metadata cell data by @blckngm in https://github.com/axonweb3/axon/pull/1640 +* feat: metadata cli parse data by @blckngm in https://github.com/axonweb3/axon/pull/1644 +* chore(CI): add axon sync workflow by @Simon-Tl in https://github.com/axonweb3/axon/pull/1636 + + +## v0.3.1-beta + +### BUG FIXES +* fix(cli): Fix peer id generation by @samtvlabs in https://github.com/axonweb3/axon/pull/1656 + ## v0.3.0-beta diff --git a/Cargo.lock b/Cargo.lock index 362acc072..4691fbf60 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -263,7 +263,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "axon" -version = "0.3.0-beta" +version = "0.3.1-beta" dependencies = [ "axon-protocol", "clap 4.4.6", @@ -1784,7 +1784,7 @@ dependencies = [ [[package]] name = "core-cli" -version = "0.1.0" +version = "0.1.1" dependencies = [ "anyhow", "axon-protocol", diff --git a/Cargo.toml b/Cargo.toml index d91998186..7fcc30204 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "axon" -version = "0.3.0-beta" +version = "0.3.1-beta" authors = ["Nervos Dev "] edition = "2021" repository = "https://github.com/axonweb3/axon" diff --git a/core/cli/Cargo.toml b/core/cli/Cargo.toml index 1fa8b9d18..33efc431f 100644 --- a/core/cli/Cargo.toml +++ b/core/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "core-cli" -version = "0.1.0" +version = "0.1.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/core/cli/src/args/generate_keypair.rs b/core/cli/src/args/generate_keypair.rs index b2384a73b..09cd71ec2 100644 --- a/core/cli/src/args/generate_keypair.rs +++ b/core/cli/src/args/generate_keypair.rs @@ -46,7 +46,7 @@ impl GenerateKeypairArgs { key_pair.bls_private_key.as_bytes(), i, )?; - keypairs.push(Keypair::generate(i)?); + keypairs.push(key_pair); } println!( @@ -64,7 +64,7 @@ pub struct Keypair { pub net_private_key: Hex, pub public_key: Hex, pub address: Address, - pub peer_id: Hex, + pub peer_id: String, pub bls_private_key: Hex, pub bls_public_key: Hex, } @@ -94,7 +94,7 @@ impl Keypair { net_private_key: Hex::encode(&net_seckey), public_key: Hex::encode(&pubkey), address: Address::from_pubkey_bytes(pubkey).map_err(Error::Running)?, - peer_id: Hex::encode(secio_keypair.public_key().peer_id().to_base58()), + peer_id: secio_keypair.public_key().peer_id().to_base58(), bls_private_key: Hex::encode(&bls_seckey), bls_public_key: Hex::encode(bls_pub_key.to_bytes()), })