Skip to content

Releases: anoma/namada

Namada 0.27.0

21 Nov 08:37
v0.27.0
47c887c
Compare
Choose a tag to compare

Namada 0.27.0 is a minor release that incorporates the remaining essential proof-of-stake features, updates the MASP and transaction functionality, and provides some additions to the SDK.

BUG FIXES

  • Fix a feature flag to compile namada_sdk
    (#2164)
  • Fix to get the proof even if no height is specified
    (#2166)
  • Fix ABCI queries at the last committed height
    (#2184)

FEATURES

  • Tx that allows a validator to change its consensus key
    (#2137)

IMPROVEMENTS

  • Moved the masp vp to native.
    (#2051)
  • Tighten security around potential P2P issues
    (#2131)
  • Print more context from eyre error types.
    (#2132)
  • Require to verify ownership of all validator keys when initialized on-chain.
    (#2163)
  • Improve the validator VP to ensure that only the validator themself
    can execute transactions that manipulate its own validator data
    (#2169)
  • Various improvements to the PoS code, including adding a panic on a slashing
    failure, some more checked arithmetics, aesthetic code cleanup, and fixing a
    bug in is_delegator. (#2178)
  • Added type tags to transactions to enable hardware wallets
    to fully decode transactions even after minor Namada updates.
    (#2182)
  • Save MASP conversion state to the state storage instead of the diffs
    (#2189)

MISCELLANEOUS

  • Removed catching of panics from PoS VP.
    (#2145)

SDK

  • Masp as internal address. Updated aux_signing_data
    to return no key and 0 threshold if owner is masp.
    (#2051)
  • A high level function new_redelegate is added to the sdk to allow developers
    to make and submit redelegation functions from the minimum number of arguments
    required (#2140)

Namada 0.26.0

11 Nov 21:01
v0.26.0
444da00
Compare
Choose a tag to compare

Namada 0.26.0 is a minor release on the way to mainnet with updates to PoS and governance as well as its upstream dependencies.

BUG FIXES

  • Fix Windows build by disabling RocksDB jemalloc feature.
    (#2100)
  • Fix balance query not to return duplicate results
    (#2125)
  • Fixed bugs in the governance VP and in the PGF inflation mechanism.
    (#2133)
  • Added handling of ABCI Info requests load-shedding and removed load-shedding
    from Mempool requests. (#2152)

FEATURES

  • Implements a claim-based rewards system for PoS inflation.
    (#1992)
  • Store validator metadata on-chain
    (#2045)
  • Add transactions to deactivate and reactivate a validator
    (#2082)
  • Added Ledger support to the CLI client.
    (#2118)
  • Added the option to abstain from voting a governance proposal.
    (#2128)

IMPROVEMENTS

  • Improved replay protection for invalid transactions.
    (#1905)
  • store only essential merkle tree snapshots
    (#2043)
  • Replace strings with a specialized IBC token hash type in addresses
    (#2046)
  • Switch to a more compact representation in Namada's transparent
    addresses, and change all bech32m HRPs to their mainnet equivalent
    (#2060)
  • refactoring IBC and remove IBC token denomination
    (#2062)
  • Upgraded to upstream ibc-rs and tendermint-rs crates.
    (#2084)
  • Updated the gas costs. Introduced a local validator configuration
    parameter to set the accepted tokens and amounts for fees.
    (#2091)
  • Moved the inner transaction replay check at execution time.
    (#2104)
  • Removed "abcipp" and "abciplus" features and "abcipp"-only code.
    (#2112)
  • Removed the DKG implementation with its ferveo dependency.
    (#2115)
  • Upgraded to upstream tower-abci version.
    (#2141)

Namada 0.25.0

05 Nov 17:55
v0.25.0
Compare
Choose a tag to compare

This release includes only the new genesis flow.

FEATURES

  • Added bech32m string encoding for common::PublicKey and DkgPublicKey.
    (#2088)
  • Added --pre-genesis argument to the wallet commands to allow to generate
    keys, implicit addresses and shielded keys without having a chain setup. If
    no chain is setup yet (i.e. there's no base-dir or it's empty), the wallet
    defaults to use the pre-genesis wallet even without the --pre-genesis
    flag. The pre-genesis wallet is located inside base-dir in
    pre-genesis/wallet.toml.
    (#2088)
  • Reworked the genesis templates, setup and related utils commands.
    (#2088)

Namada 0.23.2

01 Nov 16:27
v0.23.2
Compare
Choose a tag to compare

Namada 0.23.2 is patch release addressing ledger startup problems with wasm artifacts and several other minor fixes.

Namada 0.24.1

01 Nov 21:46
v0.24.1
Compare
Choose a tag to compare

Namada 0.24.1 is patch release addressing ledger startup problems with wasm artifacts and several other minor fixes.

BUG FIXES

  • Fix Windows build by disabling RocksDB jemalloc feature.
    (#2047)

IMPROVEMENTS

  • Define the wasm download endpoint via environment variable.
    (#2064)

Namada 0.24.0

24 Oct 12:11
v0.24.0
2138c96
Compare
Choose a tag to compare

Namada 0.24.0 is a minor release that introduces an SDK crate, PoS redelegation, various updates and fixes for IBC, PoS, governance, ETH bridge and the ledger.

BUG FIXES

  • Reintroduced a dummy field in order to achieve compatibility with hardware
    wallet. (#1949)
  • Fix broadcasting logic for protocol txs when a node operating the network is a
    validator (#1964)
  • Avoid redundant storage deletions in lazy collections that would incur
    extra gas cause and appear in transaction result as changed keys even if not
    changed occurred. This may have caused PoS transactions to run out of gas.
    (#1984)
  • Update ibc-rs with the fix for ibc-rs/#911
    (#1989)
  • Fixed the pgf stewards reward to be constant regardless of the number of
    stewards. (#1999)

IMPROVEMENTS

  • Reworked the signature of inner transactions to improve safety and fix replay
    protection. (#1867)
  • Updated the generation of hardware wallet test vectors to cover current
    codebase (#1888)
  • IBC transfer to a payment address
    (#1917)
  • Migrate to upstream borsh (#1930)
  • Improve the Epoched data structure's bookkeeping of past
    epochs, now parameterizable by PoS and governance params.
    (#1943)
  • New implementation and parameters for purging old epochs for Epoched validator
    data in storage. (#1944)
  • Query also IBC token balances
    (#1946)
  • Increased resoultion of gas accounting for signature verification.
    (#1954)
  • Refactor benchmarks to avoid enabling "testing" and `"dev"`` features by
    default in the workspace.
    (#1955)
  • Add missing checks for the commission rate change tx and code clean-up
    (#1973)
  • Reduced the storage consumption of replay protection.
    (#1977)
  • Persist the results of governance proposals in storage to allow recovering old
    results. (#1979)
  • MASP rewards are now distributed in the manner dictated by the PD-controller
    (#1985)
  • Wait for a node to sync before broadcasting protocol txs
    (#2001)
  • Sign transactions originating from the Namada relayer that are sent to
    Ethereum (#2012)

MISCELLANEOUS

  • Switched from using libsecp256k1 to k256 crate.
    (#1958)
  • Tag ed25519 keys with ZeroizeOnDrop
    (#1958)

SDK

  • Phase out Halt abstractions
    (#1953)
  • Validate Bridge pool transfers before submitting them to the network
    (#1957)
  • Improved the usability of the SDK and moved it to separate crate.
    (#1963)
  • Now re-exporting crates that will commonly be used with the SDK.
    (#2033)

TESTING

  • Mock ledger services in integration tests
    (#1976)

Namada 0.23.1

18 Oct 10:04
Compare
Choose a tag to compare

Namada 0.23.1 is a patch release fixing a potential ledger crash on the pgf module.

BUG FIXES

  • Fixed a bug that would cause the ledger to crash on a failed PGF payment.
    (#1991)

Namada 0.23.0

25 Sep 18:38
v0.23.0
Compare
Choose a tag to compare

Namada 0.23.0 is a minor release that improves the ethereum bridge, the IBC mechanism, and fixes some general protocol bugs.

BUG FIXES

  • Fixed a bug in the parallel gas accounting of validity predicates.
    (#1835)
  • Removed gas and fees related panics from the sdk.
    (#1878)
  • Fix lower bound in client proposal vote check
    (#1887)
  • Respect force option for proposal vote transaction
    (#1889)
  • Never overwrite recent Bridge pool proofs in storage
    (#1893)
  • Keep a record of the first block heights of every epoch in the chain's history
    instead of trimming to only keep this data for a certain number of epochs in
    the past. (#1898)
  • Added wasm validation in init_chain and in client utils.
    (#1902)
  • Implement IBC tx execution via a native host function to workaround Mac M1/2
    WASM compilation issues. (#1904)

FEATURES

  • Replaced standard IO in SDK and client code with a trait that allows custom
    handling. (#1746)

IMPROVEMENTS

  • Rework voting on Ethereum tallies across epoch boundaries
    (#1865)
  • Move all functions considered to be apart of the SDK to the SDK
    folder. (#1868)
  • Remove pay-fee-with-pow feature and faucet vp.
    (#1873)
  • Removed redundant WasmPayload enum in favor of Commitment.
    (#1874)
  • Added a section in CONTRIBUTING.md to outline how to document SDK
    changes (#1876)
  • Refactored retrieval of Transaction object for fee unshielding.
    (#1877)
  • Renamed gas_cost to minimum_gas_price in the genesis file.
    (#1882)
  • Enable hardware wallets to participate in nondegenerate multisignature
    transactions. (#1884)
  • Added support for validators' hostnames in configuration.
    (#1886)
  • Allow Bridge pool transfers to pay zero gas fees
    (#1892)
  • Forced the async_traits' futures in the SDK to be Send.
    (#1894)
  • Retransmit timed out Ethereum events in case they have accumulated >1/3 voting
    power (#1899)
  • Move the IBC native VP to a different module
    (#1927)

MISCELLANEOUS

  • Migrate to the new Ethereum contracts
    (#1885)

SDK

  • The shared-utils topic (#1868) moves the following:
    • Modules

      From To
      namada::ledger::tx namada::sdk::tx
      namada::ledger::rpc namada::sdk::rpc
      namada::ledger::signing namada::sdk::signing
      namada::ledger::masp namada::sdk::masp
      namada::ledger::args namada::sdk::args
      namada::ledger::wallet::alias namada::sdk::wallet::alias
      namada::ledger::wallet::derivation_path namada::sdk::wallet::derivation_path
      namada::ledger::wallet::keys namada::sdk::wallet::keys
      namada::ledger::wallet::pre_genesis namada::sdk::wallet::pre_genesis
      namada::ledger::wallet::store namada::sdk::wallet::store
      namada::types::error namada::sdk::error
    • Types

      From To
      namada::ledger::queires::Client namada::sdk::queires::Client
  • Added two new variants to the TxError enum, BalanceToLowForFees and
    FeeUnshieldingError, representing possible failures in transactions' fees.
    (#1878)
  • Added the Send bound to the Client and ShieldedUtils async_traits'.
    This allows the SDK to be used in environments which are both asynchronous and
    multithread. (#1894)

TESTING

  • Updated benchmarks and added tests to ensure they're working.
    (#1907)

Namada 0.22.0

06 Sep 22:57
Compare
Choose a tag to compare

Namada 0.22.0 is a minor release introducing a redefined PGF mechanism, a proper gas module, and major
improvements to the sdk and ethereum bridge.

BUG FIXES

  • Fix IBC amount handling (#1744)
  • Fix wasm pointer misalignment issues on Apple silicon devices.
    (#1778)
  • Fix the decoding of events observed by the Ethereum oracle
    (#1852)
  • Trigger the NUT VP when NUTs are moved between accounts during wasm
    transaction execution (#1854)
  • Fix the Ethereum Bridge VP
    (#1855)
  • Miscellaneous Ethereum smart contract nonce fixes
    (#1856)
  • Log proper duped validator votes on Ethereum tallies
    (#1860)

FEATURES

  • Implement Ethereum token whitelist.
    (#1290)
  • Implemented the runtime gas and fee system.
    (#1327)
  • Control the flow of NAM over the Ethereum bridge
    (#1781)
  • Update ethbridge-rs to v0.22.0
    (#1789)
  • Allow Bridge pool transfer fees to be paid in arbitrary token types (except
    NUTs) (#1795)

IMPROVEMENTS

  • Adds the possibility to dump the state of the db at a custom height.
    (#1468)
  • Added various fee types to the output of the Bridge pool recommendations RPC
    (#1811)
  • Ensure that Namada (shared) crate can be built for WASM target.
    (#1828)
  • Upgraded the MASP crate commit used by Namada to the latest version.
    (#1842)
  • Add the Bridge pool as a default wallet address
    (#1848)
  • Call Message::parse directly
    (#1849)
  • Parse Eth addresses from the CLI
    (#1850)
  • Split Bridge pool transfer hashes on all whitespace toks
    (#1851)
  • Denominate non-whitelisted NUT amounts
    (#1853)
  • Removed replay protection storage keys from the merkle tree.
    (#1863)

Namada 0.21.1

15 Aug 10:21
Compare
Choose a tag to compare

Namada 0.21.0 is a patch release addressing some minor changes to the PGF and IBC components.

BUG FIXES

  • Introduce a new genesis section to control PGF storage at chain start.
    (#1816)

FEATURES

  • Support the memo field of IBC transfer
    (#1635)