From bb0c7ff0eb134af622a82878167319245cae2bb4 Mon Sep 17 00:00:00 2001 From: Flouse <1297478+Flouse@users.noreply.github.com> Date: Thu, 7 Dec 2023 06:59:54 +0000 Subject: [PATCH 1/3] chore: bump axon version to 0.3.0-beta --- CHANGELOG.md | 31 +++++++++++++------------------ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 15 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ad4b5023..4c4caa24e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## Unreleased (v0.3.0-dev) +## v0.3.0-beta ### BREAKING CHANGES * refactor!: remove the limitation of set ckb related info ([\#1517](https://github.com/axonweb3/axon/pull/1517)) @@ -11,10 +11,8 @@ ### FEATURES -- Migrate axon-tools to axon repo in - ([\#1519](https://github.com/axonweb3/axon/pull/1519)) and ([\#1545](https://github.com/axonweb3/axon/pull/1545)) -- Add no-std feature of axon-tools, using use ckb-blst for riscv64 - ([\#1532](https://github.com/axonweb3/axon/pull/1532)) and ([\#1563](https://github.com/axonweb3/axon/pull/1563)) +* Migrate axon-tools to axon repo ([\#1519](https://github.com/axonweb3/axon/pull/1519), [\#1545](https://github.com/axonweb3/axon/pull/1545)) +* Add no-std feature of axon-tools, using use ckb-blst for riscv64 (([\#1532](https://github.com/axonweb3/axon/pull/1532)), [\#1563](https://github.com/axonweb3/axon/pull/1563)) * feat: add `eth_getProof` JSON RPC API ([\#1540](https://github.com/axonweb3/axon/pull/1540), [\#1549](https://github.com/axonweb3/axon/pull/1549), [\#1564](https://github.com/axonweb3/axon/pull/1564), [\#1571](https://github.com/axonweb3/axon/pull/1571)) * feat: add `ckb_blake2b` precompile contract ([\#1555](https://github.com/axonweb3/axon/pull/1555)) * feat: add ckb mbt proof verify precompile contract ([\#1578](https://github.com/axonweb3/axon/pull/1578)) @@ -23,39 +21,36 @@ ### BUG FIXES -- Fix value of gas in JSON RPC Transaction should be gas limit - ([\#1530](https://github.com/axonweb3/axon/pull/1530)) +* Fix value of gas in JSON RPC Transaction should be gas limit ([\#1530](https://github.com/axonweb3/axon/pull/1530)) * fix: check mempool when call `eth_getTransactionByHash` ([\#1526](https://github.com/axonweb3/axon/pull/1526)) * fix: use a same default value for `max_payload_size` ([\#1548](https://github.com/axonweb3/axon/pull/1548)) * fix: rlp decode of `SignedTransction` with interoperation signature ([\#1533](https://github.com/axonweb3/axon/pull/1533)) * fix: get genesis block proposal may panic ([\#1554](https://github.com/axonweb3/axon/pull/1554)) * fix: field `chainId` should be acceptable for `eth_estimateGas` ([\#1601](https://github.com/axonweb3/axon/pull/1601)) -* fix: enable estimation mode for query apis ([\#1603](https://github.com/axonweb3/axon/pull/1603)) * fix: get pending tx count by number ([\#1605](https://github.com/axonweb3/axon/pull/1605)) * fix: duplicated calculation in `eth_estimateGas` ([\#1599](https://github.com/axonweb3/axon/pull/1599), [\#1609](https://github.com/axonweb3/axon/pull/1609)) - +* fix: gas limit too low error ([\#1625](https://github.com/axonweb3/axon/pull/1625)) ### CODE REFACTORS -- Add more details for JSON RPC errors ([\#1495](https://github.com/axonweb3/axon/pull/1495)) -- Remove the limitation of set CKB related info in system contract ([\#1517](https://github.com/axonweb3/axon/pull/1517)) +* Add more details for JSON RPC errors ([\#1495](https://github.com/axonweb3/axon/pull/1495)) +* Remove the limitation of set CKB related info in system contract ([\#1517](https://github.com/axonweb3/axon/pull/1517)) * Remove empty crates ([\#1521](https://github.com/axonweb3/axon/pull/1521)) -- Enhance readability of output logs and errors ([\#1528](https://github.com/axonweb3/axon/pull/1528)) -- Change default db cache size ([\#1531](https://github.com/axonweb3/axon/pull/1531)) +* Enhance readability of output logs and errors ([\#1528](https://github.com/axonweb3/axon/pull/1528)) +* Change default db cache size ([\#1531](https://github.com/axonweb3/axon/pull/1531)) * config(blockscan): update the env variables of Axon's explorer ([\#1550](https://github.com/axonweb3/axon/pull/1550)) * Refactor fn is_hardfork_enabled ([\#1538](https://github.com/axonweb3/axon/pull/1538)) * Remove duplicated code to protect ([\#1556](https://github.com/axonweb3/axon/pull/1556)) * Update CkbType.sol and ImageCell.sol for consistent ABI output with json file in ([\#1558](https://github.com/axonweb3/axon/pull/1558), [\#1567](https://github.com/axonweb3/axon/pull/1567)) -* ci: refactor OpenZeppelin tests and entry_workflow.yml ([\#1610](https://github.com/axonweb3/axon/pull/1610)) - +* refactor: rename Proof.block_hash serde to proposal_hash ([\#1618](https://github.com/axonweb3/axon/pull/1618)) +* refactor: forbid call eth_getStorageAt to system contract accounts ([\#1619](https://github.com/axonweb3/axon/pull/1619)) +* refactor: change estimate gas calculation logic ([\#1603](https://github.com/axonweb3/axon/pull/1603), [\#1626](https://github.com/axonweb3/axon/pull/1626)) ### CHORE * ci: adjust CI after migrating the test projects ([\#1513](https://github.com/axonweb3/axon/pull/1513)) * chore: make blst portable ([\#1520](https://github.com/axonweb3/axon/pull/1520)) * ci: run unit tests in separate processes ([\#1559](https://github.com/axonweb3/axon/pull/1559)) - - -**Full Changelog**: https://github.com/axonweb3/axon/compare/v0.2.0-beta.2...v0.3.0-dev +* ci: refactor OpenZeppelin tests and entry_workflow.yml ([\#1610](https://github.com/axonweb3/axon/pull/1610)) ## v0.2.0-beta.2 diff --git a/Cargo.lock b/Cargo.lock index d1cb39ad1..7a375eab7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -272,7 +272,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "axon" -version = "0.3.0-alpha" +version = "0.3.0-beta" dependencies = [ "axon-protocol", "clap 4.4.6", diff --git a/Cargo.toml b/Cargo.toml index 5ed3c0b5c..d9fc2b537 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "axon" -version = "0.3.0-alpha" +version = "0.3.0-beta" authors = ["Nervos Dev "] edition = "2021" repository = "https://github.com/axonweb3/axon" From dd35f500fce0ec3adf28b59fea8c431a4a4087c8 Mon Sep 17 00:00:00 2001 From: Flouse <1297478+Flouse@users.noreply.github.com> Date: Mon, 4 Dec 2023 07:48:33 +0000 Subject: [PATCH 2/3] chore(docker): build ghcr image for alpha branch --- .github/workflows/build_image_ghcr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_image_ghcr.yml b/.github/workflows/build_image_ghcr.yml index f29fdafaf..49032aef4 100644 --- a/.github/workflows/build_image_ghcr.yml +++ b/.github/workflows/build_image_ghcr.yml @@ -2,7 +2,7 @@ name: Build ghcr.io image on: push: - branches: [ 'main', '*docker*', '*dev*' ] + branches: [ 'main', '*dev*', '*alpha*', '*beta*', '*rc*' ] tags: workflow_dispatch: inputs: From 588c276f6763b9e96233724f9e7dac3ccd3e37af Mon Sep 17 00:00:00 2001 From: Flouse <1297478+Flouse@users.noreply.github.com> Date: Wed, 13 Dec 2023 15:04:12 +0000 Subject: [PATCH 3/3] docs: add #1621 and #1634 into CHANGELOG --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c4caa24e..fa01f3aa6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * fix!: fix the implementation of Axon Tries ([\#1580](https://github.com/axonweb3/axon/pull/1580)) * refactor!: call reserved system contract address is forbidden ([\#1597](https://github.com/axonweb3/axon/pull/1597)) * refactor!: change many U256 type to U64 ([\#1591](https://github.com/axonweb3/axon/pull/1591)) +* fix(mempool)!: check gas limit range ([\#1634](https://github.com/axonweb3/axon/pull/1634)) ### FEATURES @@ -18,7 +19,6 @@ * feat: add ckb mbt proof verify precompile contract ([\#1578](https://github.com/axonweb3/axon/pull/1578)) * feat: support stop at specific height ([\#1581](https://github.com/axonweb3/axon/pull/1581)) - ### BUG FIXES * Fix value of gas in JSON RPC Transaction should be gas limit ([\#1530](https://github.com/axonweb3/axon/pull/1530)) @@ -45,6 +45,7 @@ * refactor: rename Proof.block_hash serde to proposal_hash ([\#1618](https://github.com/axonweb3/axon/pull/1618)) * refactor: forbid call eth_getStorageAt to system contract accounts ([\#1619](https://github.com/axonweb3/axon/pull/1619)) * refactor: change estimate gas calculation logic ([\#1603](https://github.com/axonweb3/axon/pull/1603), [\#1626](https://github.com/axonweb3/axon/pull/1626)) +* refactor(cli): update keypair generate command ([\#1621](https://github.com/axonweb3/axon/pull/1621)) ### CHORE * ci: adjust CI after migrating the test projects ([\#1513](https://github.com/axonweb3/axon/pull/1513))