-
Notifications
You must be signed in to change notification settings - Fork 955
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'draft' into ray/masp-testnet-n002
* draft: (394 commits) Revert "Update getting-started.md" Update getting-started.md changelog: add #442 rustdoc: fix outdated links make build-doc: only build rustdoc in this command [ci] remove drone ci: double the build-and-test timeout [ci] download masp paramters [ci] improve automation tool, add pls spawn devnet command [ci] added dev documentation build, added rust doc build I removed the limitation. I removed the limitation. encoding_spec: rm ":" from fragment links in e.g. `ed25519::PublicKey` docs/dev: update encoding spec generation update wasm checksums changelog: add #380 changelog: add #384 shared/storage: fix the height recorded for a new epoch shared: Add pre/post to VpEnv and use them to provide default impls changelog: add #1249 test/ledger: update last_epoch assertion ledger: fix last_epoch to only change when committing block changelog: add #337 Specify --target-dir when building wasms changelog: add #335 wasm checksums update test/vm_host_env: refactor prefix iter tests with new `iter_prefix` fn storage_api: build a nicer `iter_prefix` function on top of StorageRead changelog: add #334 wasm checksums update storage_api: add default borsh encoded read/write impl and handle errors update wasm checksums pos: update validator raw hash validation changelog: add #326 changelog: add #331 changelog: add #324 changelog: add #318 update wasm checksums fix missing StorageWrite for Storage merkle tree update storage: remove unnecessary clone add more comments for StorageRead lifetime with an example usage add <'iter> lifetime to StorageRead trait to get around lack of GATs ledger: impl StorageWrite for Storage ledger: factor out TxEnv write methods into a new StorageWrite trait [fix] use fetch-depth: 0 on tag pipeline Namada 0.7.1 fix spelling of 'features' in Cargo.toml realign cargo/wasm integrity changelog: add #278 test: allow to sign and verify secp256k1 client: add check on validator consensus key shared: optional secp256k1 signing and verification to avoid wasm bloat pick scheme for generating validator keys must use ed25519 for validator consensus key and node ID update rustdoc on PKH make fmt deps: enable secp256k1 in tendermint-rs handle secp256k1 in key_to_tendermint() fmt && clippy use heliaxdev/libsecp256k1 crate fork as dependency for now release: update release.toml for namada repo new test for zeroizing secp256k1 keys wrap libsecp256k1::SecretKey in a Box within SecretKey struct add a test to zeroize secp256k1 fix bug in supplying args to test_genesis_validators() make validator_key_to_json() compatible with ed25519 and secp256k1 keys fix bug to prevent generating keys with common SchemeType fix bug where we were generating a key with common scheme make fmt fix unit test test_toml_roundtrip to supply good validator keys e2e test_genesis_validators(): make each validator have different key scheme fix some comments fix bug in supplying keypair to Tendermint clean and simplify code in id_from_pk() allow CL specification of a specific key scheme for the TxInitValidator improve write_tendermint_node_key() to produce the proper json given the underlying key scheme convert from common to underlying key type in id_from_pk() when constructing the TendermintNodeId change variable names in fns try_to_sk() and try_to_sig() to reduce confusion clean up code implementing Serialize/Deserialize, comment on certain implementations update wasm checksums remove Result layering for id_from_pk drop 'Consensus' from SchemeType enum variants incorporate options into key generation functions command line options for specifying key scheme initial commit for supporting secp256k1 keys clean and simplify code in id_from_pk() allow CL specification of a specific key scheme for the TxInitValidator improve write_tendermint_node_key() to produce the proper json given the underlying key scheme convert from common to underlying key type in id_from_pk() when constructing the TendermintNodeId ledger/pos: implement PosReadOnly using StorageRead trait ledger/tx: inherit StorageRead in TxEnv ledger/storage: impl StorageRead for Storage ledger/vp: impl StorageRead for WASM VPs pre and post state ledger/native_vp: implement StorageRead for pre and post state ledger: add StorageRead trait with extensible error type change variable names in fns try_to_sk() and try_to_sig() to reduce confusion pos: fix bond zero amount error msg pos/validation: refactor accumulation of changes clean up code implementing Serialize/Deserialize, comment on certain implementations remove Result layering for id_from_pk ...
- Loading branch information
Showing
298 changed files
with
21,937 additions
and
16,970 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 @@ | ||
- Fix the rustdoc build. ([#419](https://github.com/anoma/namada/issues/419)) |
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)) |
File renamed without changes.
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 @@ | ||
- Applied various fixes and updates to the PoS system spec and integration spec | ||
([#1070](https://github.com/anoma/anoma/pull/1070)) |
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 @@ | ||
- Fixes libraries doc typos and correct comment on the clap crate | ||
([#1143](https://github.com/anoma/anoma/pull/1143)) |
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 @@ | ||
- Added OpenAPI spec ([#322](https://github.com/anoma/namada/pull/322)) |
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 @@ | ||
- Added secp256k1 support ([#278](https://github.com/anoma/anoma/pull/278)) |
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)) |
File renamed without changes.
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)) |
File renamed without changes.
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,2 @@ | ||
- Zeroize secret keys from memory | ||
([#277](https://github.com/anoma/namada/pull/277)) |
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,2 @@ | ||
- Make some .gitignore patterns relative to repo root | ||
([#1158](https://github.com/anoma/anoma/pull/1158)) |
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 @@ | ||
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. |
File renamed without changes.
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)) |
File renamed without changes.
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)) |
Oops, something went wrong.