Skip to content

Commit

Permalink
Merged in base.
Browse files Browse the repository at this point in the history
  • Loading branch information
murisi committed Jul 2, 2023
2 parents 52bb61b + fdeaf23 commit 3968108
Show file tree
Hide file tree
Showing 309 changed files with 4,525 additions and 18,393 deletions.
2 changes: 2 additions & 0 deletions .changelog/v0.17.1/bug-fixes/1474-fix-sdk-tx-with-hash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Include the wasm tx hash instead of the wasm blob when constructing a
transaction ([#1474](https://github.com/anoma/namada/pull/1474))
2 changes: 2 additions & 0 deletions .changelog/v0.17.1/bug-fixes/1534-fix-block-query.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix a client block query to avoid seeing pre-committed blocks.
([\#1534](https://github.com/anoma/namada/pull/1534))
5 changes: 5 additions & 0 deletions .changelog/v0.17.1/features/892-cubic-slashing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- The implementation of the cubic slashing system that touches virtually all
parts of the proof-of-stake system. Slashes tokens are currently kept in the
PoS address rather than being transferred to the Slash Pool address. This PR
also includes significant testing infrastructure, highlighted by the PoS state
machine test with slashing. ([#892](https://github.com/anoma/namada/pull/892))
2 changes: 2 additions & 0 deletions .changelog/v0.17.1/improvements/1432-missing-args-def.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added some missing cli option for cli wallet
([#1432](https://github.com/anoma/namada/pull/1432))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improve logging error when submiting an invalid validator commission change tx
([#1434](https://github.com/anoma/namada/pull/1434))
2 changes: 2 additions & 0 deletions .changelog/v0.17.1/improvements/1435-fix-err-typos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Correct a typo in the error change commission error handling
([#1435](https://github.com/anoma/namada/pull/1435))
2 changes: 2 additions & 0 deletions .changelog/v0.17.1/improvements/1436-rename-tx-reveal-arg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improve the reveal tx naming in cli
([#1436](https://github.com/anoma/namada/pull/1436))
2 changes: 2 additions & 0 deletions .changelog/v0.17.1/improvements/1444-cse-in-inflation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improve computations readability when calculating inflations
([#1444](https://github.com/anoma/namada/pull/1444))
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Remove abci++ dependencies ([#1449](https://github.com/anoma/namada/pull/1449))
2 changes: 2 additions & 0 deletions .changelog/v0.17.1/improvements/1462-restructure-tx-draft.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Reorganize the structure of transactions
([#1462](https://github.com/anoma/namada/pull/1462))
2 changes: 2 additions & 0 deletions .changelog/v0.17.1/improvements/1509-improve-pos-logging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improved log entries related to PoS system.
([\#1509](https://github.com/anoma/namada/pull/1509))
2 changes: 2 additions & 0 deletions .changelog/v0.17.1/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.17.0 is a scheduled minor release featuring several improvements to the slashing mechanism,
wallet address derivation, transaction structure and the ledger stability.
2 changes: 2 additions & 0 deletions .changelog/v0.17.2/bug-fixes/1504-wallet-address-add-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Do not add address if it already exists in the wallet.
([\#1504](https://github.com/anoma/namada/issues/1504))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- When processing slashes, bonds and unbonds that became active after
the infraction epoch must be properly accounted in order to properly
deduct stake that accounts for the precise slash amount. A bug
is fixed in the procedure that properly performs this accounting.
([#1520](https://github.com/anoma/namada/pull/1520))
2 changes: 2 additions & 0 deletions .changelog/v0.17.2/bug-fixes/1522-client-fix-wait-msg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix the message when a client is waiting for a node to sync on queries or
transactions. ([\#1522](https://github.com/anoma/namada/pull/1522))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- This change will enable usage of the Namada SDK to create MASP transactions
from non-CLI clients. ([\#1524](https://github.com/anoma/namada/pull/1524))
2 changes: 2 additions & 0 deletions .changelog/v0.17.2/bug-fixes/1528-balances-fix-issue-758.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fixing how token balances are displayed in case of missing --token option.
([#1528](https://github.com/anoma/namada/pull/1528))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- The slashed token amounts contained inside the bond and unbond information
returned by the PoS library fn bonds_and_unbonds are fixed and properly
computed. ([#1533](https://github.com/anoma/namada/pull/1533))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- PoS: Fixed the client to change configuration to validator
mode after a successful `init-validator` transaction.
([\#1549](https://github.com/anoma/namada/pull/1549))
3 changes: 3 additions & 0 deletions .changelog/v0.17.2/bug-fixes/1553-fix-is-validator-fn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- PoS: fixed a check for whether a given address belongs to a
validator account to work properly with newly created accounts.
([\#1553](https://github.com/anoma/namada/pull/1553))
3 changes: 3 additions & 0 deletions .changelog/v0.17.2/bug-fixes/1558-fix-slash-logging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Fixes the slash rate output in the query_slashes client
command and some redundancy in misbehavior reporting logs.
([#1558](https://github.com/anoma/namada/pull/1558))
4 changes: 4 additions & 0 deletions .changelog/v0.17.2/improvements/1491-utils-base-dir.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Add a command, `namadac utils default-base-dir`, to
print the default base directory the command
line would use were one not provided by the user.
([#1491](https://github.com/anoma/namada/pull/1491))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Improve the established address in-memory representation
and use a full SHA-256 digest for their generation.
([\#1510](https://github.com/anoma/namada/pull/1510))
2 changes: 2 additions & 0 deletions .changelog/v0.17.2/improvements/1512-implicit-addr-bytes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improve the implicit address and PKH in-memory representation.
([\#1512](https://github.com/anoma/namada/pull/1512))
2 changes: 2 additions & 0 deletions .changelog/v0.17.2/improvements/1514-wallet-message-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Improve help message for address add command
([\#1514](https://github.com/anoma/namada/issues/1514))
2 changes: 2 additions & 0 deletions .changelog/v0.17.2/improvements/1518-pos-bonds-query-reuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- PoS: make a re-usable bonds and unbonds details query.
([\#1518](https://github.com/anoma/namada/pull/1518))
2 changes: 2 additions & 0 deletions .changelog/v0.17.2/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.17.2 is a minor release featuring improvements to the client stability.

2 changes: 2 additions & 0 deletions .changelog/v0.17.3/bug-fixes/1345-key-parsing-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Correctly handle parsing storage key if they are empty.
([#1345](https://github.com/anoma/namada/pull/1345))
2 changes: 2 additions & 0 deletions .changelog/v0.17.3/features/1570-tendermint-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Enable users to change any tendermint config options via namada config.
([#1570](https://github.com/anoma/namada/pull/1570))
2 changes: 2 additions & 0 deletions .changelog/v0.17.3/improvements/1404-ibc-event-query.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added query endpoint for IBC events replacing Tendermint index.
([\#1404](https://github.com/anoma/namada/pull/1404))
2 changes: 2 additions & 0 deletions .changelog/v0.17.3/miscellaneous/1476-cometbft.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Switch from unreleased Tendermint fork to an official CometBFT release
v0.37.1. ([\#1476](https://github.com/anoma/namada/pull/1476))
1 change: 1 addition & 0 deletions .changelog/v0.17.3/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Namada 0.17.3 is a minor release switching from tendermint to cometbft.
2 changes: 2 additions & 0 deletions .changelog/v0.17.4/bug-fixes/1588-fix-masp-missing-await.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix missing async awaits in MASP load and save calls.
([\#1588](https://github.com/anoma/namada/pull/1588))
1 change: 1 addition & 0 deletions .changelog/v0.17.4/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Namada 0.17.4 is a minor release improving the codebase by bumping the rust toolchain.
2 changes: 2 additions & 0 deletions .changelog/v0.17.5/improvements/1619-masp-checked.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Check MASP parameters are correct in the ledger node.
([#1619](https://github.com/anoma/namada/pull/1619))
2 changes: 2 additions & 0 deletions .changelog/v0.17.5/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.17.5 is a maintenance release chiefly addressing MASP
parameter validation.
54 changes: 26 additions & 28 deletions .github/workflows/build-and-test-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
matrix:
os: [ubuntu-20.04]
wasm_cache_version: ["v2"]
mold_version: [1.7.0]
mold_version: [1.11.0]

steps:
- name: Checkout repo
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
matrix:
os: [ubuntu-20.04]
wasm_cache_version: ["v2"]
mold_version: [1.7.0]
mold_version: [1.11.0]

steps:
- name: Checkout repo
Expand Down Expand Up @@ -144,14 +144,13 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04]
nightly_version: [nightly-2022-11-03]
mold_version: [1.7.0]
nightly_version: [nightly-2023-06-01]
mold_version: [1.11.0]
make:
- name: ABCI
suffix: ''
cache_key: namada
cache_version: v2
tendermint_artifact: tendermint-unreleased-v0.1.4-abciplus

env:
CARGO_INCREMENTAL: 0
Expand Down Expand Up @@ -251,7 +250,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04]
mold_version: [1.7.0]
mold_version: [1.11.0]
make:
- name: ABCI Release build
suffix: ''
Expand Down Expand Up @@ -324,7 +323,7 @@ jobs:
- name: Build
run: make build-release${{ matrix.make.suffix }}
env:
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=/usr/local/bin/mold"
RUSTFLAGS: "-C linker=clang -C debug_assertions=true -C link-arg=-fuse-ld=/usr/local/bin/mold"
- name: Upload target binaries
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -357,22 +356,20 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04]
nightly_version: [nightly-2022-11-03]
mold_version: [1.7.0]
nightly_version: [nightly-2023-06-01]
mold_version: [1.11.0]
make:
- name: e2e
suffix: ''
index: 0
cache_key: namada
cache_version: v2
tendermint_artifact: tendermint-unreleased-v0.1.4-abciplus
wait_for: namada-release-eth (ubuntu-20.04, 1.7.0, ABCI Release build, namada-e2e-release, v2)
- name: e2e
suffix: ''
index: 1
cache_key: namada
cache_version: v2
tendermint_artifact: tendermint-unreleased-v0.1.4-abciplus
wait_for: namada-release-eth (ubuntu-20.04, 1.7.0, ABCI Release build, namada-e2e-release, v2)

env:
Expand Down Expand Up @@ -443,20 +440,6 @@ jobs:
run: |
wget -q -O- https://github.com/rui314/mold/releases/download/v${{ matrix.mold_version }}/mold-${{ matrix.mold_version }}-x86_64-linux.tar.gz | tar -xz
mv mold-${{ matrix.mold_version }}-x86_64-linux/bin/mold /usr/local/bin
- name: Download tendermint binaries
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build-tendermint.yml
workflow_conclusion: success
name: ${{ matrix.make.tendermint_artifact }}
path: /usr/local/bin
- name: Download masp parameters
run: |
mkdir /home/runner/work/masp
curl -o /home/runner/work/masp/masp-spend.params -sLO https://github.com/anoma/masp/blob/ef0ef75e81696ff4428db775c654fbec1b39c21f/masp-spend.params?raw=true
curl -o /home/runner/work/masp/masp-output.params -sLO https://github.com/anoma/masp/blob/ef0ef75e81696ff4428db775c654fbec1b39c21f/masp-output.params?raw=true
curl -o /home/runner/work/masp/masp-convert.params -sLO https://github.com/anoma/masp/blob/ef0ef75e81696ff4428db775c654fbec1b39c21f/masp-convert.params?raw=true
- name: Build
run: make build
env:
Expand All @@ -483,22 +466,37 @@ jobs:
with:
name: binaries${{ matrix.make.suffix }}-${{ github.event.pull_request.head.sha || github.sha }}
path: ./target/release/
- name: Download tendermint & cometbft
run: |
curl -o cometbft.tar.gz -LO https://github.com/cometbft/cometbft/releases/download/v0.37.2/cometbft_0.37.2_linux_amd64.tar.gz
tar -xvzf cometbft.tar.gz
mv cometbft /usr/local/bin
curl -o tendermint.tar.gz -LO https://github.com/heliaxdev/tendermint/releases/download/v0.1.4-abciplus/tendermint_0.1.4-abciplus_linux_amd64.tar.gz
tar -xvzf tendermint.tar.gz
mv tendermint /usr/local/bin
- name: Change permissions
run: |
chmod +x target/release/namada
chmod +x target/release/namadaw
chmod +x target/release/namadan
chmod +x target/release/namadac
chmod +x /usr/local/bin/tendermint
chmod +x /usr/local/bin/cometbft
- name: Run e2e test
run: python3 .github/workflows/scripts/schedule-e2e.py
run: |
mkdir -p /home/runner/work/masp-params
curl -o /home/runner/work/masp-params/masp-spend.params -LO https://github.com/anoma/masp-mpc/releases/download/namada-trusted-setup/masp-spend.params?raw=true
curl -o /home/runner/work/masp-params/masp-output.params -LO https://github.com/anoma/masp-mpc/releases/download/namada-trusted-setup/masp-output.params?raw=true
curl -o /home/runner/work/masp-params/masp-convert.params -LO https://github.com/anoma/masp-mpc/releases/download/namada-trusted-setup/masp-convert.params?raw=true
ls -l /home/runner/work/masp-params
shasum /home/runner/work/masp-params/*.params
python3 .github/workflows/scripts/schedule-e2e.py
env:
NAMADA_TENDERMINT_WEBSOCKET_TIMEOUT: 20
NAMADA_E2E_USE_PREBUILT_BINARIES: "true"
NAMADA_E2E_KEEP_TEMP: "true"
NAMADA_TM_STDOUT: "false"
NAMADA_LOG_COLOR: "false"
NAMADA_MASP_PARAMS_DIR: "/home/runner/work/masp"
# NAMADA_MASP_PARAMS_DIR: "/home/runner/work/masp-params"
NAMADA_LOG: "info"
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=/usr/local/bin/mold"
INDEX: ${{ matrix.make.index }}
Expand Down
Loading

0 comments on commit 3968108

Please sign in to comment.