-
Notifications
You must be signed in to change notification settings - Fork 976
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Draft drifted somewhat over this release cycle. We can clear this up with a merge-and-delete. * draft: (373 commits) changelog: add #452 feat: rocksdb use jemalloc feat: update rocksdb version [ci] wasm checksums update changelog: add #501 fix e2e tests fix e2e tests Misc refactoring Uses `end_epoch` in `query_proposal_result` Refactors governance e2e tests [ci] wasm checksums update changelog: #503 [ci] wasm checksums update remove unfinished lazy_set, lazy_hashset and lazy_hashmap for now ledger/storage/lazy: update lazy_set for updated trait LazyCollection Fixes specs [ci] wasm checksums update fix display proposal result in cli fix proposal_submission e2e test [misc] rebase ledger/storage/lazy: remove unused error cases WIP: Nested LazyMap validation and testing WIP: validation for lazy_map WIP: StateMachine tests for lazy_vec validation update wasm checksums changelog: add #500 remove intent gossiper, matchmaker and their deps Adds `max_proposal_period` governance parameter Removes `max_proposal_fund_transfer` parameter Use proposal `end_epoch` instead of `start_epoch` for voting power Skip tx whitelist for proposal code Rename `Treasury` to `SlashFund` fmt and fix clippy Speeds up testing Fixes `safe_exit` call only if `force` is not set [misc]: remove logs [fix]: votes accumulation Fixes test artifacts folder persistence Fixes e2e tests [fix]: e2e test [fix]: e2e test [misc]: clippy, fmt [fix]: error println [feat]: vote transaction validation [fix]: governance vp author address, proposal submission validation [fix]: bad validation condition [fix]: clippy, fmt [fix]: clippy, fmt [misc]: clippy, fmt [feat]: added total votes to query [fix]: governance overflow, proposal validation fixup! Merge branch 'yuji/multitoken' (#359) fixup! rustdoc: fix more broken links fixup! Sync with 'main' rustdoc: fix more broken links fixup! Sync with 'main' [ci] wasm checksums update changelog: add #359 change the balance format update a test wasm remove an error message [ci skip] wasm checksums update multitoken transfer and query post-conditions for Transition::Update + some comments quick bug and documentation fix update after rebase on #458, #465 storage/lazy_vec: add state machine test for lazy vec API storage/lazy_vec/validation: disallow unrecognized keys matching prefix impl LazyCollection trait for all the collections + refactor storage_api/collections/lazy: allow nested lazy collections in LazyMap add lazy_vec validation fix clippy storage_api/collections/lazy: add basic tests and missing methods cargo test test_lazy_vec_basics update lazy for explicit lifetime in StorageRead trait storage: add `Key::last` method, impl KeySeg for all ints Switch to use storage::KeySeg and add LazySet add lazy map without hashing refactored lazy collections, replaced hasher, added iter fmt && clippy add fn get_elem_key_by_hash to LazyMap lazy hash map first commit add lazy set (WIP), make LazyVec.get public add lazy vector create lazy data structures for storage access rustdoc: resolve ambiguous link changelog: add #465 fixup! Merge branch 'namada/tomas/sorted-prefix-iter' (#458) [ci skip] wasm checksums update ledger: use storage_api::Error in VpEnv and TxEnv instead of generic [ci skip] wasm checksums update changelog: add #458 tests: extend prefix iter tests for reverse order add support for rev_iter_prefix in storage and VP and tx envs test/vm_host_env: check prefix iter order in tx and VP shared/storage/key: add support for int/uint keys that maintain order deps: replace hex with data-encoding update wasm checksums changelog: add #380 changelog: add #384 ...
- Loading branch information
Showing
250 changed files
with
15,554 additions
and
21,406 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Make read_wasm return an error instead of exiting in InitChain | ||
([#1099](https://github.com/anoma/anoma/pull/1099)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Fix the `last_epoch` field in the shell to only be updated when the block is | ||
committed. ([#1249](https://github.com/anoma/anoma/pull/1249)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Switch to a alternative sparse merkle tree implementation for IBC sub-tree | ||
to be able to support proofs compatible with the current version of ICS23 | ||
([#279](https://github.com/anoma/namada/pull/279)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/bug-fixes/326-fix-validator-raw-hash.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Fixed validator raw hash corresponding to validator address in Tendermint | ||
([#326](https://github.com/anoma/namada/pull/326)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/bug-fixes/384-fix-new-epoch-start-height.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Fix the value recorded for epoch start block height. | ||
([#384](https://github.com/anoma/namada/issues/384)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Added multitoken transfer and query for bridges | ||
([#132](https://github.com/anoma/namada/issues/132)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Added lazy vector and map data structures for ledger storage | ||
([#503](https://github.com/anoma/namada/pull/503)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Fixed governance parameters, tally, tx whitelist and renamed treasury | ||
([#467](https://github.com/anoma/namada/issues/467)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Use a cargo workspace for some of our wasm crates | ||
([#1096](https://github.com/anoma/anoma/pull/1096)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Added a make recipe to build WASM in debug mode with `make debug-wasm-scripts` | ||
([#1243](https://github.com/anoma/anoma/pull/1243)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Updated rockDB dependency to 0.19.0 and enabled its jemalloc feature. | ||
([#452](https://github.com/anoma/namada/pull/452)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/miscellaneous/493-remove-intent-gossiper.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Removed intent gossiper and matchmaker code | ||
([#493](https://github.com/anoma/namada/issues/493)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.7.1/improvements/1093-unify-native-and-wasm-vp.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Added WASM transaction and validity predicate `Ctx` with methods for host | ||
environment functions to unify the interface of native VPs and WASM VPs under | ||
`trait VpEnv` ([#1093](https://github.com/anoma/anoma/pull/1093)) |
4 changes: 4 additions & 0 deletions
4
.changelog/v0.7.1/improvements/1138-change-wallet-bihashmap.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- Allows simple retrival of aliases from addresses in the wallet without | ||
the need for multiple hashmaps. This is the first step to improving the | ||
UI if one wants to show aliases when fetching addresses from anoma wallet | ||
([#1138](https://github.com/anoma/anoma/pull/1138)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.7.1/improvements/1148-allow-absolute-wasm-dir.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Allow specifying an absolute path for the wasm directory | ||
([#1148](https://github.com/anoma/anoma/issues/1148)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Add functionality to anomac to download wasms for a given chain | ||
([#1159](https://github.com/anoma/anoma/pull/1159)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Improved CLI experience for 'anomaw address find' | ||
([#1161](https://github.com/anoma/anoma/pull/1161)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Wallet: Increase the number of iterations used for keys encryption to the | ||
recommended value. ([#1168](https://github.com/anoma/anoma/issues/1168)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Improve the error message that is displayed when anoma binaries are run without | ||
having joined a chain ([#1176](https://github.com/anoma/anoma/pull/1176)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.7.1/improvements/1231-refactor-ledger-run-with-cleanup.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Refactored ledger startup code | ||
([#1231](https://github.com/anoma/anoma/pull/1231)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.7.1/improvements/1248-remove-evidence-params.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Replace Tendermint consensus evidence parameters with | ||
application level evidence filter for outdated evidence. | ||
([#1248](https://github.com/anoma/anoma/pull/1248)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.7.1/improvements/240-host-env-vp-write-check.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Validate WASM code of validity predicates written by transactions. | ||
([#240](https://github.com/anoma/anoma/pull/240)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Refactored PoS VP logic ([#318](https://github.com/anoma/namada/pull/318)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.7.1/improvements/324-common-read-storage-trait.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Added a StorageRead trait for a common interface for VPs prior and posterior | ||
state, transactions and direct storage access for protocol and RPC handlers | ||
([#324](https://github.com/anoma/namada/pull/324)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.7.1/improvements/331-common-write-storage-trait.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Added a StorageWrite trait for a common interface for transactions and direct | ||
storage access for protocol ([#331](https://github.com/anoma/namada/pull/331)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.7.1/improvements/334-refactor-storage-read-write.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Re-use encoding/decoding storage write/read and handle any errors | ||
([#334](https://github.com/anoma/namada/pull/334)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.7.1/improvements/335-refactor-storage-prefix-iter.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Added a simpler prefix iterator API that returns `std::iter::Iterator` with | ||
the storage keys parsed and a variant that also decodes stored values with | ||
Borsh ([#335](https://github.com/anoma/namada/pull/335)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Handles the case where a custom `$CARGO_TARGET_DIR` is set during WASM build | ||
([#337](https://github.com/anoma/anoma/pull/337)) |
3 changes: 3 additions & 0 deletions
3
.changelog/v0.7.1/improvements/380-vp-env-pre-post-via-storage-api.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Added `pre/post` methods into `trait VpEnv` that return objects implementing | ||
`trait StorageRead` for re-use of library code written on top of `StorageRead` | ||
inside validity predicates. ([#380](https://github.com/anoma/namada/pull/380)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- Fix order of prefix iterator to be sorted by storage | ||
keys and add support for a reverse order prefix iterator. | ||
([#409](https://github.com/anoma/namada/issues/409)) |
2 changes: 2 additions & 0 deletions
2
.changelog/v0.7.1/improvements/465-vp-tx-env-conrete-error.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Re-use `storage_api::Error` type that supports wrapping custom error in `VpEnv` and `TxEnv` traits. | ||
([#465](https://github.com/anoma/namada/pull/465)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Fixed ANOMA_E2E_KEEP_TEMP=true to work in e2e::setup::network | ||
([#1221](https://github.com/anoma/anoma/issues/1221)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- Test PoS transaction for bonding, unbonding and withdrawal. Fixed an issue | ||
found on unbonding. ([#462](https://github.com/anoma/anoma/issues/462)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.