Skip to content

Releases: anoma/namada

Namada 0.31.3

09 Feb 17:24
v0.31.3
c52a4fa
Compare
Choose a tag to compare

Namada 0.31.3 is a patch release that fixes various issues.

BUG FIXES

  • Fix PoS bonds and unbonds query to return delegations when only a validator
    address is specified. (#2522)
  • PoS: fixed the order of iteration when slashing validators for liveness.
    (#2577)
  • Reject validator set updates signing over a superset of the next validator
    set. (#2578)
  • Governance tallying for delegators now works.
    (#2579)

IMPROVEMENTS

  • Adds some useful internal addresses, such as PoS, to the wallet upon join-
    network. (#2543)
  • Fixes query-protocol-parameters to include some missing PoS data and a better-
    formatted output. (#2558)

Namada 0.31.2

07 Feb 16:26
v0.31.2
4209a74
Compare
Choose a tag to compare

Namada 0.31.2 is a patch release that fixes an issue with request ordering introduced in 0.31.1.

BUG FIXES

  • ABCI calls must be executed synchronously.
    (#2547)

Namada 0.31.1

05 Feb 12:09
v0.31.1
c31951d
Compare
Choose a tag to compare

⚠️ Warning: This release contains a critical issue with Tendermint request ordering which has been fixed in 0.31.2.

Namada 0.31.1 is a patch release that fixes the memo processing for some transactions and improves logs related to ledger startup and the wallet.

BUG FIXES

  • Wallet: respect the optional bip39-flag for key derivation.
    (#2489)

IMPROVEMENTS

  • Wallet: print the generated payment address.
    (#2490)
  • Reworks the way the ledger waits for genesis start. It now fully initializes the node and
    outputs logs before sleeping until genesis start time. Previously it would not start any
    processes until genesis times, giving no feedback to users until genesis time was reached.
    (#2502)

Namada 0.31.0

31 Jan 16:00
Compare
Choose a tag to compare

v0.31.0

Namada 0.31.0 is a minor release that fixes wasm host function execution and upgrades some CLI functions and the Masp VP.

BUG FIXES

  • Use the configured native token for genesis validation.
    (#2471)
  • Wallet: handle the case when empty decryption password is provided.
    (#2473)
  • Avoid panic in host env functions
    (#2478)

IMPROVEMENTS

  • Removed possible over/under-flow of I128Sum operations in the masp vp.
    (#2476)

Namada 0.30.3

30 Jan 02:39
Compare
Choose a tag to compare

v0.30.3

Namada 0.30.3 is a patch release that refactors some MASP functionality and fixes some governance and CLI issues.

BUG FIXES

  • Fixing several bugs in how governance and pgf transactions are handled and
    validated. (#2459)

IMPROVEMENTS

  • Modified the MASP VP to validate the changed storage keys instead of the
    Transfer object. (#2452)
  • MASP inflation for a given token now is adjusted based on a target amount
    of total locked (shielded) tokens rather than a ratio relative to some total
    supply. (#2460)
  • Add an address CLI arg that defaults to the native token.
    (#2467)

SDK

  • Modified scan_tx to require the set of changed keys instead of Transfer.
    fetch_shielded_transfer now returns the set of changed keys instead of
    Transfer. (#2452)

Namada 0.30.2

26 Jan 12:06
v0.30.2
aa1f5e5
Compare
Choose a tag to compare

Namada 0.30.2 is a patch release that contains various bug fixes and improvements.

BUG FIXES

  • Fixed possible panics in transaction host environment functions.
    (#2401)
  • Fix the token burn function.
    (#2408)
  • Improving code around governance tally computations.
    (#2415)
  • Fix the MASP VP to enable changes to the shielded set max reward rate for a
    token. (#2424)
  • Validates changes to the balance key in masp vp.
    (#2428)
  • Restrict the reward distribution of a steward to a maximum of 100.
    (#2440)
  • Avoid diff overflow in Multitoken VP
    (#2443)
  • Restricted RPC router paths to ASCII characters to prevent crashes.
    (#2447)

FEATURES

  • Implemented ZIP32 functionality for shielded pool keys.
    (#2417)

IMPROVEMENTS

  • Added tx WASM code allowlist at protocol level and VP WASM code allowlist in
    the host environment functions.
    (#2419)
  • The test vector generator now supports generating MASP transactions.
    (#2427)
  • Disabled RocksDB jemalloc feature by default for non-release builds.
    (#2404)
  • Skip writing some MASP and IBC storage keys to merkle tree and DB diffs.
    (#2438)
  • BIP39 passphrase made optional.
    (#2442)

SDK

  • Both the reading and writing modules of the light SDK can now be used from
    within an async runtime. (#2399)

TESTING

  • Added an integration test to verify that unconverted asset types can be spent
    in the MASP. (#2406)

Namada 0.30.1

17 Jan 17:46
v0.30.1
f7532c2
Compare
Choose a tag to compare

Namada 0.30.1 is a patch release that contains various bug fixes for MASP, IBC, the shell and crates refactor (the core has been subdivided into many smaller crates).

IMPROVEMENTS

  • Refactored the core crate into many smaller crates.
    (#2312)
  • Strengthened the checks in the MASP VP. Allow viewing and spending of
    unconvertible MASP notes (#2371)
  • Refactored the fee validation process.
    (#2382)
  • Updated block validation to require a valid timestamp.
    (#2383)
  • Moved Rust crates into a crates sub-dir.
    (#2386)
  • Ibc transactions can be rewrapped in case of a gas error.
    (#2395)

SDK

  • Added some more RPC methods for computing governance proposal
    results, query pgf parameters and total supply of a token.
    (#2400)

TESTING

  • Fix E2E test for PGF over IBC by waiting before checking the balance
    (#2398)

Namada 0.30.0

13 Jan 20:50
ec58c89
Compare
Choose a tag to compare

v0.30.0

Namada 0.30.0 is a minor release that primarily upgrades the MASP and WASM VM memory functionality in addition to smaller upgrades to other Namada modules.

BUG FIXES

  • Suppress querying errors when a user has no token balance
    (#1910)
  • Fix alignment errors on wasmer that cause the ledger to crash.
    (#2384)
  • Sanitize wasm memory accesses which are outside of the 32-bit address
    range, to avoid crashing the ledger while executing malicious wasm payloads.
    (#2385)

FEATURES

IMPROVEMENTS

  • Adds a new query_proposal_votes query, improves the formatting of
    ProposalResult and returns early in client if governance voter has no stake.
    Misc refactors. (#2330)
  • Removes panics from masp vp. Refactors masp storage keys generation.
    (#2345)
  • Introduce a memo field, to allow including arbitrary data inside of
    transactions. (#2358)
  • Include validator avatar url in their medatada
    (#2359)
  • Removed masp data from storage. Updated the client to query the cometBFT rpc
    endpoints. (#2363)
  • When constructing a governance proposal the id is now a required field.
    (#2365)
  • Added validator's consensus key look-up to client find-validator
    command, which now also accepts a native validator address.
    (#2368)
  • Fix the function to more accurately account for slashes.
    (#2374)
  • The MASP VP now validates the tx expiration.
    (#2375)
  • Removed the hardcoded sentinel key of MASP.
    (#2376)
  • Improved governance variable names and code reuse.
    (#2377)

SDK

  • Added QueryProposalVotes struct. Removes VoteTypefrom
    the Display implementation of LedgerProposalVote. Updates
    build_vote_proposal to return an error if voter has no delegations.
    (#2330)
  • Refactors MASP keys construction.
    (#2345)
  • Add optional memo field to transaction args.
    (#2358)
  • Modified ShieldedContext to use IndexedTx to track the last indexed
    masp tx. Updated fetch_shielded_transfer and compute_pinned_balance
    to query the cometBFT rpc endpoints to retrieve masp data.
    Updated block_search to accept a fallible cast to Height.
    (#2363)
  • Cleaned up the unused ibc dependency of the light sdk crate.
    (#2372)
  • tx_signers returns no signing key when the source of a transaction is MASP.
    (#2376)

TESTING

  • Add IBC E2E test with Hermes
    (#773)

Namada 0.29.0

29 Dec 20:55
Compare
Choose a tag to compare

Namada 0.29.0 is a minor release that introduces the light SDK, upgrades the MASP and CLI, and includes other fixes and refactors of the PoS, IBC, and Ethereum Birdge modules.

BUG FIXES

  • Prevents double-spending in masp by adding a nullifier set.
    (#2240)
  • Updates masp tx to store the notes and the native vp to validate them and the
    anchors. (#2244)
  • Updates the masp vp to validate the convert description's anchor.
    (#2248)
  • Client: Check that transaction is successful before taking further actions.
    (#2279)
  • Non-Namada token can be given to ibc-gen-shielded
    (#2308)
  • Make the ledger wait for genesis before starting up any processes (#2310)

FEATURES

  • A new client command has been added that takes a set of pre-genesis template files, validates them,
    and runs them through init_chain. All errors are collected into a report. (#2255)
  • The wallet CLI structure has been significantly reworked and simplified.
    Alias argument is now obligatory for key generation / derivation
    commands. Feature of raw (non-HD) key generation has been restored,
    which was removed in the previous release. Key export / import
    functionality for both transparent and shielded key kinds has been
    implemented. Additionally, several other improvements have been made.
    (#2260)
  • IBC transfer from a spending key
    (#2321)

IMPROVEMENTS

  • Emit Bridge pool transfer status update events from FinalizeBlock
    (#1995)
  • Refactored module dealing with Tendermint configuration.
    (#2127)
  • The default implicit and established user account VPs now
    require valid signature(s) for unknown storage changes.
    (#2213)
  • Allowed the unshielding of previous epochs assets from the masp.
    (#2222)
  • Fee amounts in transaction wrappers are now denominated to facilitate hardware
    wallet support. (#2245)
  • Refactor the PoS crate by breaking up the lib and tests code into smaller
    files. (#2253)
  • Made test vector generation easier and reduced the difficulty of maintaining
    the generation code. (#2259)
  • Client: Improved output of transaction results.
    (#2276)
  • Enhances the speed of two PoS tests that run particularly longer than others
    in CI. (#2277)
  • Removed useless epoch for fee unshielding and refactored tests.
    (#2282)
  • Refactor internal structure of the Ethereum bridge crate
    (#2288)
  • Move the pos inflation gain parameters to the PosParams.
    (#2294)
  • Move the inflation code for PoS and PGF into their own native modules.
    (#2295)
  • Improved validation on transaction's expiration. Added an expiration for MASP
    transfers. (#2315)

IMPROVMENTS

  • Previously, a hardcoded set of tokens were expected to be used in Masp conversions.
    If these tokens did not have configs in genesis, this would lead to a panic after the first
    epoch change. This PR fixes this to use the tokens found in genesis belonging to the MASP
    rewards whitelist instead of hardcoding the tokens.
    (#2285)

SDK

  • Introduce a method to query the status (pending, relayed or expired) of Bridge
    pool transfers (#1995)
  • Added light sdk (#2220)
  • Improved the TxResponse type.
    (#2276)
  • Removed useless epoch for fee unshielding.
    (#2282)
  • ibc-gen-shielded can set non-Namada token
    (#2308)
  • Updated gen_shielded_transfer to attach a sensible expiration to a MASP
    Transaction. (#2315)
  • ibc-transfer can set a spending key to the source
    (#2321)

TESTING

  • Added e2e test for change-consensus-key command.
    (#2218)

Namada 0.28.2

23 Dec 01:30
Compare
Choose a tag to compare

v0.28.2

Namada 0.28.2 is a patch release that fixes a stack overflow issue for nodes.

BUG FIXES

  • Fixed DB prefix iterators to avoid iterators with key that don't match the
    given prefix, which was triggering recursive call that was growing stack with
    every new applied tx and on reading state from disk on start-up. Replaced
    recursion from RocksDB that was growing stack size with a loop.
    (#2325)