Skip to content

Commit

Permalink
Merge branch 'draft' into ray/masp-testnet-n002
Browse files Browse the repository at this point in the history
* 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
juped committed Sep 29, 2022
2 parents 717979f + da80f3d commit 3befef8
Show file tree
Hide file tree
Showing 296 changed files with 21,849 additions and 16,931 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))
1 change: 1 addition & 0 deletions .changelog/unreleased/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/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))
File renamed without changes.
2 changes: 2 additions & 0 deletions .changelog/v0.7.1/docs/1070-pos-spec-updates.md
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))
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))
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))
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))
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))
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.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))
Loading

0 comments on commit 3befef8

Please sign in to comment.