Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into tomas/pos-spec-add-re…
Browse files Browse the repository at this point in the history
…wards

* origin/main: (632 commits)
  ci: use commit hash instead of pr number
  ci: fix binaries sha
  changelog: add #720
  fix: rename correctly in debug wasm build
  Namada 0.9.0
  release.sh: list prerequisites in a comment
  changelog: add #569
  queries: fix unused import in wasm build
  Fixes pgf council vote format
  Rwnames `type`, adds examples
  Custom proposal and vote memos in governance spec
  RPC: fix storage_value to return data as read w/o re-encoding in Option
  [ci] wasm checksums update
  router: add `with_options` for handlers that use request/response
  move the current RPC patterns under "shell" sub-router
  make fmt
  Log at INFO by default for namadan
  Add changelog
  ledger/queries: comment out `println`s for router path matching dbg
  ledger/queries: fix require_no_proof doc-string
  ci: fix workflow name
  ci: fix mold usage
  Update README.md
  some doc comment edits
  fix: namadan should log at info by default
  ci: use mold linker
  changelog: add #632
  feat: change native token to nam
  [ci] wasm checksums update
  changelog: add #671
  add back consensus timeout commit config for abciplus
  switch to tendermint-rs with consensus timeout
  wasm: update checksums
  changelog: add #553
  apps: replace RPC module and its handlers with new queries mod
  shared: add new queries router macro to replicate handwritten RPC paths
  add deps for router macro and update `Cargo.lock`s
  protocol: update imports and add missing rustdoc
  move ledger's protocol module into shared crate
  ci: invalide cf cache
  fix broken link
  split back out the core VPs
  Modify specs
  test/e2e/helpers: add a helper to query and parse block height
  changelog: add #658
  client: add a block query to print hash, height and time of a block
  Namada 0.8.1
  changelog: add #510
  [feat]: Make process proposal stateless
  test/e2e: fix node_connectivity test
  test/e2e: update expected string for non-validator node
  [fix]: Removed unnecessary patches in wasm
  [feat]: Patched tendermint-rs and ibc-rs to compatible versions
  app: set "namada" set default bin for `cargo run`
  wasm: update checksums.json
  [fix]: Fixed the borsh schema for libsecp256k signatures
  [feat]: Added the recovery id to secp256k signatures
  [ci] wasm checksums update
  feat: remove nft
  fix: rename anoma to namada, remove author print
  CI: add workaround for release build missing git tag
  Namada 0.8.0
  changelog: add #547
  wasm: update checksums
  [chore]: Lints and formatting
  [fix]: Fixed proof specs for non-existence proofs
  [fix]: Update the main tree when deleting a key
  [fix]: Fixed last ibc unit test
  [fix]: Fixed some tests.
  [feat]: Refactored the merkle tree into a more maintainable multi-store
  build: pin abciplus library revisions
  wasm: update checksums.json
  ci: standardize on one tendermint hash
  formatting changes
  change `L_{NAM}` -> `L_{PoS}` for clarity and consistency
  change inflation `I` to have units of tokens per epoch
  fix term ordering in error calculation
  Remove other `:=` in favor of `=`
  distinguish new and old inflation rates with a prime
  fix md rendering
  correct the shielded pool error calculation
  change storing of error to storing of token ratios (same procedure)
  fix: `I` is percent per annum
  distinguish between `K` in storage and `K` as intermediate value in inflation calculation
  Use `I` for inflation rates, as `R` reserved for locked ratios
  specify some default values, other small edits
  release: add scripts/release.sh
  release: add release.toml to wasm workspace and wasm_for_tests
  release: don't tag from cargo release
  release: update release.toml for cargo-release 0.21.4
  wasm: remove tx_from_intent build
  wasm: repair wasm checksums
  Add changelog
  Add changelog
  Fix TransactionGasExceededed typo
  changelog: add #594
  shared/storage: fix the height recorded for a new epoch
  Apply suggestions from code review
  changelog: add #590
  wasm/tx_bond: fix delegation detection to compare source and validator
  ...
  • Loading branch information
tzemanovic committed Nov 2, 2022
2 parents 29e4f7e + 04cd202 commit 6238e91
Show file tree
Hide file tree
Showing 392 changed files with 23,132 additions and 26,942 deletions.
2 changes: 2 additions & 0 deletions .changelog/unreleased/bug-fixes/720-fix-wasm-make-targets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix `make debug-wasm-scripts`, which attempted an incorrect rename.
([#720](https://github.com/anoma/namada/pull/720))
File renamed without changes.
2 changes: 2 additions & 0 deletions .changelog/v0.7.1/docs/1143-update-libraries-docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fixes libraries doc typos and correct comment on the clap crate
([#1143](https://github.com/anoma/anoma/pull/1143))
1 change: 1 addition & 0 deletions .changelog/v0.7.1/docs/322-openapi-spec.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Added OpenAPI spec ([#322](https://github.com/anoma/namada/pull/322))
1 change: 1 addition & 0 deletions .changelog/v0.7.1/features/278-secp256k1-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Added secp256k1 support ([#278](https://github.com/anoma/anoma/pull/278))
2 changes: 2 additions & 0 deletions .changelog/v0.7.1/improvements/277-zeroize-secret-keys.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Zeroize secret keys from memory
([#277](https://github.com/anoma/namada/pull/277))
2 changes: 2 additions & 0 deletions .changelog/v0.7.1/miscellaneous/1158-gitignore-anoma.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Make some .gitignore patterns relative to repo root
([#1158](https://github.com/anoma/anoma/pull/1158))
4 changes: 4 additions & 0 deletions .changelog/v0.7.1/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Namada 0.7.1 is a patch release of the Namada software, continuing the
version numbering sequence previously used in the Anoma repository.
There are few important user-facing changes, but this is the first
tagged release in the Namada repository.
2 changes: 2 additions & 0 deletions .changelog/v0.8.0/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/v0.8.0/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/v0.8.0/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/v0.8.0/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))
2 changes: 2 additions & 0 deletions .changelog/v0.8.0/bug-fixes/384-fix-new-epoch-start-height.md
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))
1 change: 1 addition & 0 deletions .changelog/v0.8.0/bug-fixes/419-fix-rustdoc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix the rustdoc build. ([#419](https://github.com/anoma/namada/issues/419))
2 changes: 2 additions & 0 deletions .changelog/v0.8.0/bug-fixes/594-fix-pred-epoch-height.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix the value recorded for epoch start block height.
([#594](https://github.com/anoma/namada/pull/594))
2 changes: 2 additions & 0 deletions .changelog/v0.8.0/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/v0.8.0/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))
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.8.0/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.8.0/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.8.0/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.8.0/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.8.0/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.8.0/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.8.0/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.8.0/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.8.0/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.8.0/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.8.0/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))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Enable mdbook-admonish for the specs
([#518](https://github.com/anoma/namada/issues/518))
2 changes: 2 additions & 0 deletions .changelog/v0.8.0/improvements/547-multistore-refactor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Extend Merkle tree storage to support multiple Merkle trees with a uniform
interface. ([#547](https://github.com/anoma/namada/pull/547))
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix a typo in an error ([#605](https://github.com/anoma/namada/issues/605))
2 changes: 2 additions & 0 deletions .changelog/v0.8.0/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/v0.8.0/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/v0.8.0/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))
2 changes: 2 additions & 0 deletions .changelog/v0.8.0/miscellaneous/493-remove-intent-gossiper.md
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))
1 change: 1 addition & 0 deletions .changelog/v0.8.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Namada 0.8.0 is a regular minor release.
2 changes: 2 additions & 0 deletions .changelog/v0.8.0/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.8.0/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: 2 additions & 0 deletions .changelog/v0.8.0/testing/590-fix-tx-bond-test-condition.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix a condition in tx_bond test that causes a false negative result
([#590](https://github.com/anoma/namada/pull/590))
2 changes: 2 additions & 0 deletions .changelog/v0.8.1/improvements/510-shims-merge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Shim ABCI++ methods for tendermint
([#510](https://github.com/anoma/namada/pull/510))
2 changes: 2 additions & 0 deletions .changelog/v0.8.1/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.8.1 is a point release focused on standardizing Tendermint
compatibility.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add back consensus commit timeout configuration set in tendermint
([#671](https://github.com/anoma/namada/pull/671))
2 changes: 2 additions & 0 deletions .changelog/v0.9.0/bug-fixes/702-fix-default-node-logging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix info logs to show by default for namadan
([#702](https://github.com/anoma/namada/pull/702))
2 changes: 2 additions & 0 deletions .changelog/v0.9.0/features/658-add-client-block-query.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Client: Add a command to query the last committed block's hash, height and
timestamp. ([#658](https://github.com/anoma/namada/issues/658))
4 changes: 4 additions & 0 deletions .changelog/v0.9.0/improvements/553-rpc-queries-router.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Replace the handcrafted RPC paths with a new `router!` macro RPC queries
definition that handles dynamic path matching, type-safe handler function
dispatch and also generates type-safe client methods for the queries.
([#553](https://github.com/anoma/namada/pull/553))
2 changes: 2 additions & 0 deletions .changelog/v0.9.0/improvements/569-rpc-sub-shell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Move all shell RPC endpoints under the /shell path. This is a breaking change
to RPC consumers. ([#569](https://github.com/anoma/namada/pull/569))
2 changes: 2 additions & 0 deletions .changelog/v0.9.0/miscellaneous/632-xan-to-nam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Renamed native token from XAN to NAM
([#632](https://github.com/anoma/namada/pull/632))
1 change: 1 addition & 0 deletions .changelog/v0.9.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Namada 0.9.0 is a scheduled minor release.
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
target
.changelog
.github
.vscode
audit
test
wasm_for_tests
genesis
docker
Loading

0 comments on commit 6238e91

Please sign in to comment.