Skip to content

Commit

Permalink
sync out-of-sync draft
Browse files Browse the repository at this point in the history
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
juped committed Oct 13, 2022
2 parents 396ce89 + 54abd96 commit 546a043
Show file tree
Hide file tree
Showing 250 changed files with 15,554 additions and 21,406 deletions.
2 changes: 2 additions & 0 deletions .changelog/unreleased/bug-fixes/1099-wasm-reading.md
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))
2 changes: 2 additions & 0 deletions .changelog/unreleased/bug-fixes/1249-fix-shell-last-epoch.md
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))
3 changes: 3 additions & 0 deletions .changelog/unreleased/bug-fixes/279-new-merkle-tree.md
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 .changelog/unreleased/bug-fixes/326-fix-validator-raw-hash.md
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))
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))
2 changes: 2 additions & 0 deletions .changelog/unreleased/features/132-multitoken-transfer.md
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))
2 changes: 2 additions & 0 deletions .changelog/unreleased/features/503-lazy-vec-and-map.md
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))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/467-governance-fixes.md
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))
2 changes: 2 additions & 0 deletions .changelog/unreleased/miscellaneous/1096-wasm-workspace.md
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))
2 changes: 2 additions & 0 deletions .changelog/unreleased/miscellaneous/1243-debug-wasm-build.md
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))
2 changes: 2 additions & 0 deletions .changelog/unreleased/miscellaneous/452-update-rocksdb.md
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))
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))
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))
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))
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))
2 changes: 2 additions & 0 deletions .changelog/v0.7.1/improvements/1159-anomac-download-wasms.md
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))
2 changes: 2 additions & 0 deletions .changelog/v0.7.1/improvements/1161-anomaw-address-find.md
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))
2 changes: 2 additions & 0 deletions .changelog/v0.7.1/improvements/1168-pbkdf-iterations.md
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))
2 changes: 2 additions & 0 deletions .changelog/v0.7.1/improvements/1176-genesis-config-error.md
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))
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 .changelog/v0.7.1/improvements/1248-remove-evidence-params.md
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 .changelog/v0.7.1/improvements/240-host-env-vp-write-check.md
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))
1 change: 1 addition & 0 deletions .changelog/v0.7.1/improvements/318-refactor-pos-vp.md
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))
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))
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))
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))
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))
2 changes: 2 additions & 0 deletions .changelog/v0.7.1/improvements/337-wasm-cargo-target-dir.md
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))
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))
3 changes: 3 additions & 0 deletions .changelog/v0.7.1/improvements/409-sorted-prefix-iter.md
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 .changelog/v0.7.1/improvements/465-vp-tx-env-conrete-error.md
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))
2 changes: 2 additions & 0 deletions .changelog/v0.7.1/testing/1221-e2e-keep-temp-fix.md
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))
2 changes: 2 additions & 0 deletions .changelog/v0.7.1/testing/462-pos-tx-tests.md
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))
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ for i in $(ls -d .changelog/*/*/); do basename "$i"; done

## Development priorities

If you’d like to follow the development or contribute with new or unimplemented features, we recommend to check [the pinned issues](https://github.com/anoma/anoma/issues) that are set to tracking issues in current focus of the ledger, intent gossiper and matchmaker team.
If you’d like to follow the development or contribute with new or unimplemented features, we recommend to check [the issues](https://github.com/anoma/namada/issues) that are in current focus of the ledger team.
Loading

0 comments on commit 546a043

Please sign in to comment.