Skip to content

Commit

Permalink
Merge tag 'v0.16.0' into mariari/inflation-rewards
Browse files Browse the repository at this point in the history
Namada 0.16.0
  • Loading branch information
mariari committed Jun 5, 2023
2 parents 38bb6bb + be403f7 commit 9bb003e
Show file tree
Hide file tree
Showing 332 changed files with 36,027 additions and 21,701 deletions.
2 changes: 2 additions & 0 deletions .changelog/v0.14.1/bug-fixes/1146-fix-inactive-set-update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix Tendermint validator set update to properly skip validator with no voting
power. ([#1146](https://github.com/anoma/namada/pull/1146))
2 changes: 2 additions & 0 deletions .changelog/v0.14.1/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.14.1 is a bugfix release addressing issues with inactive
validator set updates in proof of stake.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Fixed the init-chain handler to stop committing state to the DB
as it may be re-applied when the node is shut-down before the
first block is committed, leading to an invalid genesis state.
([#1182](https://github.com/anoma/namada/pull/1182))
4 changes: 4 additions & 0 deletions .changelog/v0.14.2/bug-fixes/1191-pos-sm-test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Fixed an issue in which a validator's stake and validator sets
data gets into an invalid state (duplicate records with incorrect
values) due to a logic error in clearing of historical epoch data.
([#1191](https://github.com/anoma/namada/pull/1191))
2 changes: 2 additions & 0 deletions .changelog/v0.14.2/features/1196-lazy-set.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added a lazy set collection.
([#1196](https://github.com/anoma/namada/pull/1196))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Ensure that PoS validator consensus keys are unique.
([#1197](https://github.com/anoma/namada/pull/1197))
2 changes: 2 additions & 0 deletions .changelog/v0.14.2/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.14.2 is a maintenance release addressing issues with
proof-of-stake validator logic.
2 changes: 2 additions & 0 deletions .changelog/v0.14.3/bug-fixes/1140-check-pre-genesis-pk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Check if validators are valid in pre-genesis setup.
([#1140](https://github.com/anoma/namada/pull/1140))
2 changes: 2 additions & 0 deletions .changelog/v0.14.3/bug-fixes/1244-conversion-loading-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Now load conversions from storage even for epoch 1.
([\#1244](https://github.com/anoma/namada/pull/1244))
2 changes: 2 additions & 0 deletions .changelog/v0.14.3/improvements/1113-write-tree-stores.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Write Merkle tree stores only when a new epoch
([#1113](https://github.com/anoma/namada/issues/1113))
2 changes: 2 additions & 0 deletions .changelog/v0.14.3/improvements/1237-prune_tree_stores.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Prune old Merkle tree stores.
([#1237](https://github.com/anoma/namada/pull/1237))
2 changes: 2 additions & 0 deletions .changelog/v0.14.3/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.14.3 is a bugfix release addressing mainly disk usage
inefficiencies.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fixed run_ledger_load_state_and_reset test in debug build.
([#1131](https://github.com/anoma/namada/pull/1131))
2 changes: 2 additions & 0 deletions .changelog/v0.15.0/bug-fixes/1116-fix-batch-delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix to read the prev value for batch delete
([#1116](https://github.com/anoma/namada/issues/1116))
2 changes: 2 additions & 0 deletions .changelog/v0.15.0/bug-fixes/1154-fix-proof-query.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Returns an error when getting proof of a non-committed block
([#1154](https://github.com/anoma/namada/issues/1154))
3 changes: 3 additions & 0 deletions .changelog/v0.15.0/bug-fixes/1184-rocksdb-dump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Fixed dump-db node utility which was not iterating on db keys correctly
leading to duplicates in the dump. Added an historic flag to also dump the
diff keys. ([#1184](https://github.com/anoma/namada/pull/1184))
3 changes: 3 additions & 0 deletions .changelog/v0.15.0/bug-fixes/1212-lazy-collection-sub-key.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Fixed an issue with lazy collections sub-key validation with the `Address`
type. This issue was also affecting the iterator of nested `LazyMap`.
([#1212](https://github.com/anoma/namada/pull/1212))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fixed various features of the CLI output for querying bonds and performing an
unbond action. ([#1239](https://github.com/anoma/namada/pull/1239))
3 changes: 3 additions & 0 deletions .changelog/v0.15.0/bug-fixes/1246-fix-pos-slashing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- PoS: Fixed an issue with slashable evidence processed
and applied at a new epoch causing a ledger to crash.
([#1246](https://github.com/anoma/namada/pull/1246))
3 changes: 3 additions & 0 deletions .changelog/v0.15.0/bug-fixes/1256-fix-addr-storage-key-ord.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Addresses are now being ordered by their string format (bech32m)
to ensure that their order is preserved inside raw storage keys.
([#1256](https://github.com/anoma/namada/pull/1256))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Prevent clients from delegating from a validator account to another validator
account. ([#1263](https://github.com/anoma/namada/pull/1263))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Implements governance custom proposals
([#1056](https://github.com/anoma/namada/pull/1056))
2 changes: 2 additions & 0 deletions .changelog/v0.15.0/features/1123-tx-lifetime.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Adds expiration field to transactions
([#1123](https://github.com/anoma/namada/pull/1123))
2 changes: 2 additions & 0 deletions .changelog/v0.15.0/features/1187-rollback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added a rollback command to revert the Namada state to that of the previous
block. ([#1187](https://github.com/anoma/namada/pull/1187))
5 changes: 5 additions & 0 deletions .changelog/v0.15.0/features/1189-stop-at-height.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Introduced a new ledger sub-command: `run-until`. Then, at the provided block
height, the node will either halt or suspend. If the chain is suspended, only
the consensus connection is suspended. This means that the node can still be
queried. This is useful for debugging purposes.
([#1189](https://github.com/anoma/namada/pull/1189))
6 changes: 6 additions & 0 deletions .changelog/v0.15.0/features/714-pos-inflation-rewards.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- Infrastructure for PoS inflation and rewards. Includes inflation
using the PD controller mechanism and rewards based on validator block voting
behavior. Rewards are tracked and effectively distributed using the F1 fee
mechanism. In this PR, rewards are calculated and stored, but they are not
yet applied to voting powers or considered when unbonding and withdrawing.
([#714](https://github.com/anoma/namada/pull/714))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Adds hash-based replay protection
([#1017](https://github.com/anoma/namada/pull/1017))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Renamed "ledger-address" CLI argument to "node".
([#1031](https://github.com/anoma/namada/pull/1031))
3 changes: 3 additions & 0 deletions .changelog/v0.15.0/improvements/1051-temp-wl-storage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Added a TempWlStorage for storage_api::StorageRead/Write
in ABCI++ prepare/process proposal handler.
([#1051](https://github.com/anoma/namada/pull/1051))
3 changes: 3 additions & 0 deletions .changelog/v0.15.0/improvements/1081-wallet-tokens.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Added a wallet section for token addresses to replace hard-
coded values with addresses loaded from genesis configuration.
([#1081](https://github.com/anoma/namada/pull/1081))
2 changes: 2 additions & 0 deletions .changelog/v0.15.0/improvements/1087-time-docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improved the CLI description of the start time node argument.
([#1087](https://github.com/anoma/namada/pull/1087))
2 changes: 2 additions & 0 deletions .changelog/v0.15.0/improvements/1106-tx-chain-id.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Adds chain id field to transactions
([#1106](https://github.com/anoma/namada/pull/1106))
3 changes: 3 additions & 0 deletions .changelog/v0.15.0/improvements/1109-help-text-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- update help text on namadc utils join-network so that the url
displays cleanly on a single line, instead of being cut half way
([#1109](https://github.com/anoma/namada/pull/1109))
3 changes: 3 additions & 0 deletions .changelog/v0.15.0/improvements/1258-improve-cli-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Check in the client that the ledger node has at least one
block and is synced before submitting transactions and queries.
([#1258](https://github.com/anoma/namada/pull/1258))
2 changes: 2 additions & 0 deletions .changelog/v0.15.0/improvements/856-amount-is-zero.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Return early in PosBase::transfer if an attempt is made to transfer zero
tokens ([#856](https://github.com/anoma/namada/pull/856))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Updated RocksDB to v0.20.1.
([#1163](https://github.com/anoma/namada/pull/1163))
2 changes: 2 additions & 0 deletions .changelog/v0.15.0/miscellaneous/796-ethbridge-e2e-cleanup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Clean up some code relating to the Ethereum bridge
([#796](https://github.com/anoma/namada/pull/796))
2 changes: 2 additions & 0 deletions .changelog/v0.15.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.15.0 is a regular minor release featuring various
implementation improvements.
2 changes: 2 additions & 0 deletions .changelog/v0.15.0/testing/893-namada-test-utils-wasms.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add utility code for working with test wasms
([#893](https://github.com/anoma/namada/pull/893))
2 changes: 2 additions & 0 deletions .changelog/v0.15.1/improvements/1278-opt_tx_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Disable Tendermint tx_index as default
([#1278](https://github.com/anoma/namada/issues/1278))
1 change: 1 addition & 0 deletions .changelog/v0.15.1/improvements/1297-tx-wasm-hash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Remove wasm code from tx ([#1297](https://github.com/anoma/namada/issues/1297))
2 changes: 2 additions & 0 deletions .changelog/v0.15.1/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.15.1 is a patch release addressing issues with high storage
usage due to duplicative storage of wasm code.
3 changes: 3 additions & 0 deletions .changelog/v0.15.2/bug-fixes/1218-nested-lazy-vec-iter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Fixed an issue with the iterator of LazyMap with a nested LazyVec collection
that would match non-data keys and fail to decode those with the data decoder.
([#1218](https://github.com/anoma/namada/pull/1218))
2 changes: 2 additions & 0 deletions .changelog/v0.15.2/bug-fixes/1325-fix-update-data-epoched.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- PoS: fixed a function for clearing of historical epoched data
([\#1325](https://github.com/anoma/namada/pull/1325))
2 changes: 2 additions & 0 deletions .changelog/v0.15.2/features/1152-pk-to-tm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added a utility command to the CLI to compute a tendermint address from a
namada public key. ([#1152](https://github.com/anoma/namada/pull/1152))
2 changes: 2 additions & 0 deletions .changelog/v0.15.2/improvements/1138-base-directory.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Changed the default base directory. On linux, the default path will be `$XDG_DATA_HOME/namada`, on OSX it will be `$HOME/Library/Application Support/com.heliax.namada`.
([#1138](https://github.com/anoma/namada/pull/1138))
2 changes: 2 additions & 0 deletions .changelog/v0.15.2/improvements/1333-rocksdb_optimization.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- RocksDB optimization to reduce the storage usage
([#1333](https://github.com/anoma/namada/issues/1333))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Enabled integer overflow checks in release build.
([#1295](https://github.com/anoma/namada/pull/1295))
2 changes: 2 additions & 0 deletions .changelog/v0.15.2/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.15.2 is a bugfix release containing various fixes, including
a major improvement to storage usage.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Place the default data directory in the local rather than the roaming profile
on Windows. ([#1368](https://github.com/anoma/namada/pull/1368))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Use blank qualifier and organization, and upcased Namada, to
construct default base directories on Mac and Windows platforms.
([#1369](https://github.com/anoma/namada/pull/1369))
2 changes: 2 additions & 0 deletions .changelog/v0.15.3/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.15.3 is a maintenance release addressing the creation of
incorrect data directories on Mac and Windows platforms.
2 changes: 2 additions & 0 deletions .changelog/v0.16.0/docs/1275-dev-docs-pagetoc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added page table-of-contents via mdbook-pagetoc plugin for the developer
documentation. ([#1275](https://github.com/anoma/namada/pull/1275))
2 changes: 2 additions & 0 deletions .changelog/v0.16.0/improvements/1366-bump-rocksdb.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Bump RocksDB crate to 0.21.0 to address compilation errors on certain C++
toolchains. ([#1366](https://github.com/anoma/namada/pull/1366))
2 changes: 2 additions & 0 deletions .changelog/v0.16.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.16.0 is a regular release focused on providing the Namada SDK
to developers.
18 changes: 15 additions & 3 deletions .github/workflows/build-and-test-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
timeout-minutes: 30
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/anoma/namada:wasm-0.11.0
image: ghcr.io/anoma/namada:wasm-main
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
runs-on: ${{ matrix.os }}
needs: [build-wasm]
container:
image: ghcr.io/anoma/namada:wasm-0.8.0
image: ghcr.io/anoma/namada:wasm-main
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -175,6 +175,10 @@ jobs:
with:
role-to-assume: arn:aws:iam::375643557360:role/anoma-github-action-ci-master
aws-region: eu-west-1
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install sccache (ubuntu-20.04)
if: matrix.os == 'ubuntu-20.04'
env:
Expand Down Expand Up @@ -276,6 +280,10 @@ jobs:
with:
role-to-assume: arn:aws:iam::375643557360:role/anoma-github-action-ci-master
aws-region: eu-west-1
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install sccache (ubuntu-20.04)
if: matrix.os == 'ubuntu-20.04'
env:
Expand Down Expand Up @@ -349,7 +357,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04]
nightly_version: [nightly-2022-05-20]
nightly_version: [nightly-2022-11-03]
mold_version: [1.7.0]
make:
- name: e2e
Expand Down Expand Up @@ -389,6 +397,10 @@ jobs:
with:
role-to-assume: arn:aws:iam::375643557360:role/anoma-github-action-ci-master
aws-region: eu-west-1
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install sccache (ubuntu-20.04)
if: matrix.os == 'ubuntu-20.04'
env:
Expand Down
36 changes: 33 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
timeout-minutes: 30
runs-on: ${{ matrix.os }}
container:
image: ghcr.io/anoma/namada:wasm-0.11.0
image: ghcr.io/anoma/namada:wasm-main
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
runs-on: ${{ matrix.os }}
needs: [build-wasm]
container:
image: ghcr.io/anoma/namada:wasm-0.8.0
image: ghcr.io/anoma/namada:wasm-main
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -172,11 +172,21 @@ jobs:
# See comment in build-and-test.yml
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Remove some unused data in github runners
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::375643557360:role/anoma-github-action-ci-master
aws-region: eu-west-1
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install sccache (ubuntu-20.04)
if: matrix.os == 'ubuntu-20.04'
env:
Expand Down Expand Up @@ -273,11 +283,21 @@ jobs:
# See comment in build-and-test.yml
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Remove some unused data in github runners
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::375643557360:role/anoma-github-action-ci-master
aws-region: eu-west-1
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install sccache (ubuntu-20.04)
if: matrix.os == 'ubuntu-20.04'
env:
Expand Down Expand Up @@ -351,7 +371,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04]
nightly_version: [nightly-2022-05-20]
nightly_version: [nightly-2022-11-03]
mold_version: [1.7.0]
make:
- name: e2e
Expand Down Expand Up @@ -386,11 +406,21 @@ jobs:
# See comment in build-and-test.yml
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Remove some unused data in github runners
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::375643557360:role/anoma-github-action-ci-master
aws-region: eu-west-1
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install sccache (ubuntu-20.04)
if: matrix.os == 'ubuntu-20.04'
env:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:
# See comment in build-and-test.yml
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup rust toolchain
uses: oxidecomputer/actions-rs_toolchain@ad3f86084a8a5acf2c09cb691421b31cf8af7a36
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ jobs:
restore-keys: ${{ runner.os }}-${{ matrix.make.cache_subkey }}-${{ matrix.make.cache_version }}-cargo-
- name: Install cargo ${{ matrix.make.command }}
run: curl https://i.jpillora.com/${{ matrix.make.version }}! | bash
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: ${{ matrix.make.name }}
working-directory: ./.github/workflows/scripts
run: |
Expand Down
Loading

0 comments on commit 9bb003e

Please sign in to comment.