Skip to content

Commit

Permalink
Merge branch 'base' into bat/generic-io
Browse files Browse the repository at this point in the history
  • Loading branch information
batconjurer committed Sep 13, 2023
2 parents 078cea0 + 9b67281 commit 79888c8
Show file tree
Hide file tree
Showing 245 changed files with 17,648 additions and 5,822 deletions.
1 change: 1 addition & 0 deletions .changelog/v0.22.0/bug-fixes/1744-fix-ibc-amount.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix IBC amount handling ([\#1744](https://github.com/anoma/namada/issues/1744))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/bug-fixes/1778-fix-wasm-vm-aarch64-mac.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix wasm pointer misalignment issues on Apple silicon devices.
([\#1778](https://github.com/anoma/namada/pull/1778))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/bug-fixes/1852-fix-eth-event-decoding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix the decoding of events observed by the Ethereum oracle
([\#1852](https://github.com/anoma/namada/pull/1852))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/bug-fixes/1854-hotfix-trigger-nut-vp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Trigger the NUT VP when NUTs are moved between accounts during wasm
transaction execution ([\#1854](https://github.com/anoma/namada/pull/1854))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/bug-fixes/1855-fix-ethbridge-vp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix the Ethereum Bridge VP
([\#1855](https://github.com/anoma/namada/pull/1855))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/bug-fixes/1856-eth-contract-nonce-fixes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Miscellaneous Ethereum smart contract nonce fixes
([\#1856](https://github.com/anoma/namada/pull/1856))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/bug-fixes/1860-duped-eth-tally-votes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Log proper duped validator votes on Ethereum tallies
([\#1860](https://github.com/anoma/namada/pull/1860))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/features/1290-token-whitelist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Implement Ethereum token whitelist.
([\#1290](https://github.com/anoma/namada/issues/1290))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/features/1327-variable-fees.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Implemented the runtime gas and fee system.
([\#1327](https://github.com/anoma/namada/pull/1327))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/features/1781-cap-wnam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Control the flow of NAM over the Ethereum bridge
([\#1781](https://github.com/anoma/namada/pull/1781))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/features/1789-update-ethbridge-rs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Update ethbridge-rs to v0.22.0
([\#1789](https://github.com/anoma/namada/pull/1789))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/features/1795-bridge-pool-fees.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Allow Bridge pool transfer fees to be paid in arbitrary token types (except
NUTs) ([\#1795](https://github.com/anoma/namada/pull/1795))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/improvements/1468-custom-height-db-dump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Adds the possibility to dump the state of the db at a custom height.
([\#1468](https://github.com/anoma/namada/pull/1468))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added various fee types to the output of the Bridge pool recommendations RPC
([\#1811](https://github.com/anoma/namada/pull/1811))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Ensure that Namada (shared) crate can be built for WASM target.
([\#1828](https://github.com/anoma/namada/pull/1828))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Upgraded the MASP crate commit used by Namada to the latest version.
([\#1842](https://github.com/anoma/namada/pull/1842))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add the Bridge pool as a default wallet address
([\#1848](https://github.com/anoma/namada/pull/1848))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/improvements/1849-call-msg-parse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Call `Message::parse` directly
([\#1849](https://github.com/anoma/namada/pull/1849))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/improvements/1850-cli-parse-eth-addrs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Parse Eth addresses from the CLI
([\#1850](https://github.com/anoma/namada/pull/1850))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/improvements/1851-bridge-pool-hashlist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Split Bridge pool transfer hashes on all whitespace toks
([\#1851](https://github.com/anoma/namada/pull/1851))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/improvements/1853-nut-denom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Denominate non-whitelisted NUT amounts
([\#1853](https://github.com/anoma/namada/pull/1853))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Removed replay protection storage keys from the merkle tree.
([\#1863](https://github.com/anoma/namada/pull/1863))
2 changes: 2 additions & 0 deletions .changelog/v0.22.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Namada 0.22.0 is a minor release introducing a redefined PGF mechanism, a proper gas module, and major
improvements to the sdk and ethereum bridge.
44 changes: 41 additions & 3 deletions .github/workflows/automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
CHAIN_BUCKET: anoma-iac-files-master

jobs:
tasks:
with_py: # tasks that are using python scripts from anoma-ci-iac
if: ${{ github.event.issue.pull_request }}
runs-on: ${{ matrix.os }}
timeout-minutes: ${{ matrix.make.timeout }}
Expand Down Expand Up @@ -75,6 +75,44 @@ jobs:
BINARIES_COMMIT_SHA: ${{ steps.comment-branch.outputs.head_sha }}
- name: Comment not found
if: steps.check.outputs.triggered != 'true'
run: echo "Comment $COMMENT not found"
run: echo "Comment \"$COMMENT\" not matched"
env:
COMMENT: ${{ matrix.make.comment }}
COMMENT: ${{ matrix.make.comment }}

tasks: # tasks with commands with no external deps
if: ${{ github.event.issue.pull_request }}
runs-on: ${{ matrix.os }}
timeout-minutes: ${{ matrix.make.timeout }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
make:
- name: Run PoS state-machine tests
comment: pls run pos tests
command: PROPTEST_CASES=300 make test-pos-sm # PoS state machine tests
timeout: 600 # 10 hours

steps:
- uses: khan/[email protected]
id: check
with:
trigger: ${{ matrix.make.comment }}
reaction: eyes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: xt0rted/pull-request-comment-branch@v1
if: steps.check.outputs.triggered == 'true'
id: comment-branch
- uses: actions/checkout@v3
if: steps.check.outputs.triggered == 'true'
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
- name: Install Protoc
uses: arduino/setup-protoc@v1
if: steps.check.outputs.triggered == 'true'
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run task ${{ matrix.make.name }}
if: steps.check.outputs.triggered == 'true'
run: ${{ matrix.make.command }}
3 changes: 2 additions & 1 deletion .github/workflows/scripts/e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
"e2e::ledger_tests::implicit_account_reveal_pk": 30,
"e2e::ledger_tests::pos_init_validator": 40,
"e2e::ledger_tests::proposal_offline": 21,
"e2e::ledger_tests::pgf_governance_proposal": 100,
"e2e::ledger_tests::pgf_governance_proposal": 320,
"e2e::ledger_tests::proposal_submission": 200,
"e2e::ledger_tests::run_ledger": 5,
"e2e::ledger_tests::run_ledger_load_state_and_reset": 23,
"e2e::ledger_tests::test_namada_shuts_down_if_tendermint_dies": 2,
"e2e::ledger_tests::test_genesis_validators": 14,
"e2e::ledger_tests::test_node_connectivity_and_consensus": 28,
"e2e::ledger_tests::test_epoch_sleep": 12,
"e2e::ledger_tests::wrapper_disposable_signer": 28,
"e2e::wallet_tests::wallet_address_cmds": 1,
"e2e::wallet_tests::wallet_encrypted_key_cmds": 1,
"e2e::wallet_tests::wallet_encrypted_key_cmds_env_var": 1,
Expand Down
57 changes: 57 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,62 @@
# CHANGELOG

## v0.22.0

Namada 0.22.0 is a minor release introducing a redefined PGF mechanism, a proper gas module, and major
improvements to the sdk and ethereum bridge.

### BUG FIXES

- Fix IBC amount handling ([\#1744](https://github.com/anoma/namada/issues/1744))
- Fix wasm pointer misalignment issues on Apple silicon devices.
([\#1778](https://github.com/anoma/namada/pull/1778))
- Fix the decoding of events observed by the Ethereum oracle
([\#1852](https://github.com/anoma/namada/pull/1852))
- Trigger the NUT VP when NUTs are moved between accounts during wasm
transaction execution ([\#1854](https://github.com/anoma/namada/pull/1854))
- Fix the Ethereum Bridge VP
([\#1855](https://github.com/anoma/namada/pull/1855))
- Miscellaneous Ethereum smart contract nonce fixes
([\#1856](https://github.com/anoma/namada/pull/1856))
- Log proper duped validator votes on Ethereum tallies
([\#1860](https://github.com/anoma/namada/pull/1860))

### FEATURES

- Implement Ethereum token whitelist.
([\#1290](https://github.com/anoma/namada/issues/1290))
- Implemented the runtime gas and fee system.
([\#1327](https://github.com/anoma/namada/pull/1327))
- Control the flow of NAM over the Ethereum bridge
([\#1781](https://github.com/anoma/namada/pull/1781))
- Update ethbridge-rs to v0.22.0
([\#1789](https://github.com/anoma/namada/pull/1789))
- Allow Bridge pool transfer fees to be paid in arbitrary token types (except
NUTs) ([\#1795](https://github.com/anoma/namada/pull/1795))

### IMPROVEMENTS

- Adds the possibility to dump the state of the db at a custom height.
([\#1468](https://github.com/anoma/namada/pull/1468))
- Added various fee types to the output of the Bridge pool recommendations RPC
([\#1811](https://github.com/anoma/namada/pull/1811))
- Ensure that Namada (shared) crate can be built for WASM target.
([\#1828](https://github.com/anoma/namada/pull/1828))
- Upgraded the MASP crate commit used by Namada to the latest version.
([\#1842](https://github.com/anoma/namada/pull/1842))
- Add the Bridge pool as a default wallet address
([\#1848](https://github.com/anoma/namada/pull/1848))
- Call `Message::parse` directly
([\#1849](https://github.com/anoma/namada/pull/1849))
- Parse Eth addresses from the CLI
([\#1850](https://github.com/anoma/namada/pull/1850))
- Split Bridge pool transfer hashes on all whitespace toks
([\#1851](https://github.com/anoma/namada/pull/1851))
- Denominate non-whitelisted NUT amounts
([\#1853](https://github.com/anoma/namada/pull/1853))
- Removed replay protection storage keys from the merkle tree.
([\#1863](https://github.com/anoma/namada/pull/1863))

## v0.21.1

Namada 0.21.0 is a patch release addressing some minor changes to the PGF and IBC components.
Expand Down
Loading

0 comments on commit 79888c8

Please sign in to comment.