v0.33.0
版本发布时间: 2024-04-12 21:34:39
anoma/namada最新发布版本:v0.44.0(2024-09-26 18:58:56)
Namada 0.33.0 is a minor release that contains various new features, improvements and bug-fixes.
BUG FIXES
- Fix the setting of the last update field in an Epoched data structure. (#2667)
- Use
indexmap
maps and sets in favor ofstd
collections, to avoid iteration order related bugs in the state machine code of Namada. (#2685) - Fixed the
StorageRead
implementation and vp host functions to ignore temporary writes. (#2735) - Fix the balance query not to show ibc tokens as default (#2809)
- Adjusts the tx allowlist check to not prevent fee payment. (#2819)
- Reduce the gas cost of prefix iterator in IBC transactions to match the cost of prefix iterator elsewhere. (#2848)
- Fix client bug that now ensures that a validator with delegations but no self-bonds can vote in governance. (#2877)
- Only use addresses from first storage key segments to determine which VPs should be triggered by storage changes. (#2928)
- Replaced DB key-val diffs pruning of non-persisted keys that searched for the last diffs and was degrading throughput with a separate DB column family that is pruned on every block. (#2964)
FEATURES
- Support NFT transfer over IBC (#2316)
- IBC rate limit for deposits into and withdrawals out of Namada (#2552)
- Add ibc-token command to get a list of IBC tokens (#2729)
- Removes offline governance as a proposal option. (#2803)
- Add a parameter to enable/disable native token transfers (#2842)
- Added a utility to generate Borsh schemas for external collaborators. (#2931)
- Prohibit jailed or inactive validators from voting in governance. (#3004)
IMPROVEMENTS
- IBC shielded transfer with Hermes support (#2449)
- Remove last staked ratio and pos inflation amount from Parameters and initialize them in pos genesis initialization. (#2559)
- Only process 1 slash per validator per block height. (#2574)
- Refactor inflation with a standalone PD controller module. Then the PoS and shielded inflation modules are wrappers around this controller. (#2575)
- Instead of having every user tx be executed across two blocks, the first executing a wrapper and the second executing the main payload, this change makes it so that the entire tx is executed in a single block (or rejected). (#2627)
- Only load governance proposals on a new epoch right before execution. Decoupled the logic from the Shell and implemented in the gov crate. (#2630)
- Adds a transaction's code and data section hashes as additional sources of entropy, to compute an established account's address. (#2781)
- Refactor the events code in Namada. Now, we emit events with type safe wrappers around the events' attributes. (#2787)
- Split up WASM transaction and validity-predicates into individual crates to improve build time. (#2795)
- Avoid reconstructing wasm result buffer with unsafe code. (#2813)
- Improved the gas metering system to track gas at runtime in wasm. (#2838)
- Limit the character length of the validator metadata strings. (#2845)
- Use clippy to disallow usage of fns to get current date/time unless explicitly allowed. (#2849)
- Replace
eyre!()
errors withnamada_storage
errors. (#2852) - Commit gas costs of applied transactions to new commit-only merkle tree store. (#2926)
- Remove unnecessary decimal digits in Ledger test vectors. (#2932) This PR moves many e2e tests over to integration test. In the future, it may be possible to move more tests over. Moving some of these tests over revealed issues and these have also been resolved, including #2927. (#2933)
- Some transactions now use temporary storage (only kept for the duration of the tx execution and VPs validation) to indicate what actions were applied to validity predicates that use the information to decide who has to authorize the transaction. (#2934)
- Change the return type of a VP's predicate function to a Result of unit or some error. In case Namada users perform invalid state changes, they should be met with more descriptive error messages explaining the cause of their tx's rejection. (#2940)
- Return error messages from tx execution, instead of aborting execution with no context. (#2958)
- Simplified gas metering for code compilation and validation. (#2982)
- For inflation computations and the relevant RPC, don't include the PGF balance in the total native supply (#3002)
MISCELLANEOUS
- Disable Ethereum Bridge functionality at compile time. (#2602)
SDK
- move query_ibc_tokens and lookup_ibc_token_alias to sdk (#2729)
- Add a new method to the sdk to change a validator consensus key. (#3037)
- Improve the function to update an enstablished address via the sdk. (#3039)
TESTING
- Improved unit tests for fee payment. (#2914)
1、 namada-v0.33.0-Darwin-x86_64.tar.gz 32.64MB
2、 namada-v0.33.0-Linux-x86_64.tar.gz 34.1MB