Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into tiago+jacob/masp-ss-c…
Browse files Browse the repository at this point in the history
…lient-phase-3
  • Loading branch information
sug0 committed Aug 16, 2024
2 parents b689533 + c7520ac commit 9626233
Show file tree
Hide file tree
Showing 173 changed files with 3,948 additions and 1,746 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Fix genesis bonds from implicit accounts. Now, only addresses
of the form `tnam1...` are supported in `balances.toml`.
([\#3645](https://github.com/anoma/namada/pull/3645))
4 changes: 4 additions & 0 deletions .changelog/unreleased/features/3653-masp-key-birthdays.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Partially addresses Issue [\#2900](https://github.com/anoma/namada/issues/2900). Viewing and spending keys can now
be given birthdays in the form of block heights which are loaded into
shielded sync. Shielded sync will not try to decrypt a block before a
keys birthday with said key. ([\#3653](https://github.com/anoma/namada/pull/3653))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/3615-no-parallel-gas.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Removed parallel gas accounting.
([\#3615](https://github.com/anoma/namada/pull/3615))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improve governance client side validation.
([\#3629](https://github.com/anoma/namada/pull/3629))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/3632-check-masp-action.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Masp vp and protocol now ensure that a transaction can push at most one MASP
action. ([\#3632](https://github.com/anoma/namada/pull/3632))
5 changes: 5 additions & 0 deletions .changelog/unreleased/improvements/3655-speed-up-ctx-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Speeds up client commands on networks with massive balances.toml
files. Previously, to retrieve the native token of some network,
we had to parse these giant files. Now, we only parse the
necessary genesis toml files required to retrieve the native token.
([\#3655](https://github.com/anoma/namada/pull/3655))
2 changes: 2 additions & 0 deletions .changelog/unreleased/testing/3535-ibc-client-upgrade-test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add IBC client upgrade test
([\#3535](https://github.com/anoma/namada/issues/3535))
2 changes: 2 additions & 0 deletions .changelog/v0.42.0/bug-fixes/3576-remove-load-shed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Do not load shed tower-abci info service.
([\#3576](https://github.com/anoma/namada/pull/3576))
3 changes: 3 additions & 0 deletions .changelog/v0.42.0/bug-fixes/3594-client-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- No-op instead of error in wasm for withdraw txs if no tokens are available
to withdraw. Automatically submit reveal pk tx for source for shielding
transfers. ([\#3594](https://github.com/anoma/namada/pull/3594))
2 changes: 2 additions & 0 deletions .changelog/v0.42.0/bug-fixes/3611-fix-masp-vp-mint-case.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix the behavior of the MASP VP when processing an IBC Receive message
involves unescrowing. ([\#3611](https://github.com/anoma/namada/pull/3611))
2 changes: 2 additions & 0 deletions .changelog/v0.42.0/features/3593-ledger-tcp-transport.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added support for Ledger wallet TCP transport.
([\#3593](https://github.com/anoma/namada/pull/3593))
2 changes: 2 additions & 0 deletions .changelog/v0.42.0/improvements/3507-decode-asset-types.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Decode asset types to addresses when generating test vectors if possible.
([\#3507](https://github.com/anoma/namada/pull/3507))
2 changes: 2 additions & 0 deletions .changelog/v0.42.0/improvements/3554-rc-gas-update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Updated the gas costs based on benchmarks ran on v41.
([\#3554](https://github.com/anoma/namada/pull/3554))
2 changes: 2 additions & 0 deletions .changelog/v0.42.0/improvements/3589-misc-improvements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fxing comments and strings.
([\#3589](https://github.com/anoma/namada/pull/3589))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improved the `max_block_time` estimate.
([\#3591](https://github.com/anoma/namada/pull/3591))
2 changes: 2 additions & 0 deletions .changelog/v0.42.0/improvements/3592-improve-signers-sdk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Refactor signature fetching data.
([\#3592](https://github.com/anoma/namada/pull/3592))
2 changes: 2 additions & 0 deletions .changelog/v0.42.0/improvements/3598-remove-wasm-loader.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Do not try to download wasms artifacts from an untrusted source.
([\#3598](https://github.com/anoma/namada/pull/3598))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Support additional address kinds in `balances.toml` genesis file.
Previously, only established addresses and public keys were supported.
([\#3614](https://github.com/anoma/namada/pull/3614))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Display the hash of the proposal wasm code when querying proposals with
associated wasm payload. ([\#3617](https://github.com/anoma/namada/pull/3617))
2 changes: 2 additions & 0 deletions .changelog/v0.42.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.42.0 is a minor release that includes refactor of crates dependency graph using dependency injection, improvements in client check and node's stability.

2 changes: 2 additions & 0 deletions .changelog/v0.42.0/testing/3570-hw-e2e.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Enable E2E tests to be run using hardware wallet.
([\#3570](https://github.com/anoma/namada/pull/3570))
8 changes: 3 additions & 5 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
## Describe your changes

## Indicate on which release or other PRs this topic is based on

## Checklist before merging to `draft`
- [ ] I have added a changelog
- [ ] Git history is in acceptable state
## Checklist before merging
- [ ] If this PR has some consensus breaking changes, I added the corresponding `breaking::` labels
- This will require 2 reviewers to approve the changes
3 changes: 2 additions & 1 deletion .github/workflows/scripts/e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"e2e::ibc_tests::proposal_ibc_token_inflation": 1100,
"e2e::ibc_tests::ibc_rate_limit": 430,
"e2e::ibc_tests::ibc_namada_gaia": 180,
"e2e::ibc_tests::ibc_upgrade_client": 550,
"e2e::eth_bridge_tests::test_add_to_bridge_pool": 10,
"e2e::ledger_tests::double_signing_gets_slashed": 12,
"e2e::ledger_tests::ledger_many_txs_in_a_block": 55,
Expand All @@ -30,4 +31,4 @@
"e2e::wallet_tests::wallet_encrypted_key_cmds_env_var": 1,
"e2e::wallet_tests::wallet_unencrypted_key_cmds": 1,
"e2e::ledger_tests::masp_txs_and_queries": 82
}
}
2 changes: 1 addition & 1 deletion .github/workflows/scripts/hermes.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.0-namada-beta14-rc
1.10.0-namada-beta15-rc2
72 changes: 72 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,74 @@
# CHANGELOG

## v0.42.0

Namada 0.42.0 is a minor release that includes refactor of crates dependency graph using dependency injection, improvements in client check and node's stability.

### BUG FIXES

- Workaround Windows problems to be able to build on it.
([\#3553](https://github.com/anoma/namada/pull/3553))
- Improve client side checks for update-account transaction.
([\#3566](https://github.com/anoma/namada/pull/3566))
- Do not load shed tower-abci info service.
([\#3576](https://github.com/anoma/namada/pull/3576))
- No-op instead of error in wasm for withdraw txs if no tokens are available
to withdraw. Automatically submit reveal pk tx for source for shielding
transfers. ([\#3594](https://github.com/anoma/namada/pull/3594))
- Fix the behavior of the MASP VP when processing an IBC Receive message
involves unescrowing. ([\#3611](https://github.com/anoma/namada/pull/3611))

### FEATURES

- Added support for Ledger wallet TCP transport.
([\#3593](https://github.com/anoma/namada/pull/3593))

### IMPROVEMENTS

- Added two new crates, namada_vm and namada_vp and removed namada crate that
contained various loosely related code. Moved the native VP implementations
to the relevant crates and replaced their cross-dependencies with dependency-
injection. ([\#3402](https://github.com/anoma/namada/pull/3402))
- Replaced cross-system dependencies in namada_shielded_token crate with
dependency-injection. ([\#3466](https://github.com/anoma/namada/pull/3466))
- Added a new namada_systems crate to contain abstract systems interfaces,
previously added to core crate. Also switched to use the concrete
storage error and result type instead of the generic associated
type which reduces the amount of typing needed one the caller side.
([\#3472](https://github.com/anoma/namada/pull/3472))
- Replaced cross-system dependencies in namada_governance crate with dependency-
injection. ([\#3482](https://github.com/anoma/namada/pull/3482))
- Replaced cross-system dependencies in namada_proof_of_stake crate with
dependency-injection. ([\#3497](https://github.com/anoma/namada/pull/3497))
- Decode asset types to addresses when generating test vectors if possible.
([\#3507](https://github.com/anoma/namada/pull/3507))
- Replaced cross-system dependencies in namada_ibc crate with dependency-
injection. ([\#3509](https://github.com/anoma/namada/pull/3509))
- Improved tracing messages regarding MASP fee payment.
([\#3547](https://github.com/anoma/namada/pull/3547))
- Updated the gas costs based on benchmarks ran on v41.
([\#3554](https://github.com/anoma/namada/pull/3554))
- Removed unnecessary trait bound from declarations.
([\#3577](https://github.com/anoma/namada/pull/3577))
- Fxing comments and strings.
([\#3589](https://github.com/anoma/namada/pull/3589))
- Improved the `max_block_time` estimate.
([\#3591](https://github.com/anoma/namada/pull/3591))
- Refactor signature fetching data.
([\#3592](https://github.com/anoma/namada/pull/3592))
- Do not try to download wasms artifacts from an untrusted source.
([\#3598](https://github.com/anoma/namada/pull/3598))
- Support additional address kinds in `balances.toml` genesis file.
Previously, only established addresses and public keys were supported.
([\#3614](https://github.com/anoma/namada/pull/3614))
- Display the hash of the proposal wasm code when querying proposals with
associated wasm payload. ([\#3617](https://github.com/anoma/namada/pull/3617))

### TESTING

- Enable E2E tests to be run using hardware wallet.
([\#3570](https://github.com/anoma/namada/pull/3570))

## v0.41.0

Namada 0.41.0 is a minor release that primarily improves gas, fixes bugs related to signature verification and a memory leak from a dependency, and includes shielded sync upgrades.
Expand Down Expand Up @@ -582,6 +651,9 @@ Namada 0.33.0 is a minor release that contains various new features, improvement

- move query_ibc_tokens and lookup_ibc_token_alias to sdk
([\#2729](https://github.com/anoma/namada/issues/2729))

### SDK

- Add a new method to the sdk to change a validator consensus key.
([\#3037](https://github.com/anoma/namada/pull/3037))
- Improve the function to update an enstablished address via the sdk.
Expand Down
Loading

0 comments on commit 9626233

Please sign in to comment.