Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.20.0 rc1 #1745

Closed
wants to merge 153 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
89fe260
apps: add namadac epoch-sleep
juped Jun 27, 2023
e7cc5e3
tests/e2e: change epoch_sleep to use namadac epoch-sleep
juped Jun 27, 2023
5c34343
tests/e2e: replace PoS test epoch waits with epoch-sleeps
juped Jun 27, 2023
eed5435
WIP refactoring masp e2e tests
batconjurer Jul 4, 2023
f3f4f98
fixup! WIP refactoring masp e2e tests
sug0 Jul 4, 2023
71c0ddb
converts faucet_withdrawal_limit to be correct
bengtlofgren Jul 5, 2023
9a6724f
[feat]: Removed unused associated type from ShieldedUtils
batconjurer Jul 5, 2023
0d15b50
[feat]: Implement mock cli and client for integration tests
batconjurer Jul 5, 2023
f6a2ce1
[chore]: Removed unnecessary trait bounds
batconjurer Jul 6, 2023
eed5212
[feat]: First basic integration test passing with plumbing
batconjurer Jul 6, 2023
c19062b
[fix]: Fixed the faucet to use uint instead of amount. This makes it …
batconjurer Jul 6, 2023
53c1cba
[fix]: Merge in main
batconjurer Jul 6, 2023
43598ba
[fix]: Merge in main
batconjurer Jul 6, 2023
755abba
[fix]: Porting over masp incentives e2e test
batconjurer Jul 7, 2023
07a0740
[feat]: Finished rewritign masp incentives test. However, does not cu…
batconjurer Jul 8, 2023
67c9b44
Add MAX value for EthBridgeVotingPower
sug0 Jul 9, 2023
2425cce
Use new const in From impl
sug0 Jul 9, 2023
8df0a04
Replace From<u64> with TryFrom<u64> impl on EthBridgeVotingPower
sug0 Jul 9, 2023
9187d2e
Call try_into() instead of into() on EthBridgeVotingPower
sug0 Jul 9, 2023
cfdf73a
clean denom validation
yito88 May 31, 2023
0e5d22b
change multitoken
yito88 Jun 2, 2023
8f62edd
change to multitokens
yito88 Jun 8, 2023
fc5eab4
add multitoken VP file
yito88 Jun 8, 2023
9995a20
fix balance print
yito88 Jun 13, 2023
db117cf
fix token decoding
yito88 Jun 15, 2023
818cced
rename
yito88 Jun 15, 2023
9759185
remove InternalAddress::Minted
yito88 Jun 19, 2023
aa0cbba
add unit tests
yito88 Jun 29, 2023
eeb09af
change eth_bridge balance keys to multitoken keys
yito88 Jul 2, 2023
ba65482
revert unexpected changes
yito88 Jul 2, 2023
381dc76
modify EthBridge VP and EthBridgePool VP for multitoken
yito88 Jul 4, 2023
c441ad5
for clippy
yito88 Jul 5, 2023
d46513f
fix multitoken vp to check the minter
yito88 Jul 5, 2023
13f66dc
for clippy
yito88 Jul 6, 2023
74eee2d
fix for tx signing
yito88 Jul 10, 2023
713dee1
fix a test
yito88 Jul 10, 2023
6e18520
pos: add a function to get genesis validator consensus set for TM
tzemanovic Jul 7, 2023
feda19a
app/ledger/init_chain: get genesis validator set using the new fn
tzemanovic Jul 7, 2023
5fead6a
app/ledger/finalize_block: refactor validator set update for re-use
tzemanovic Jul 7, 2023
eaebb7b
changelog: add #1686
tzemanovic Jul 7, 2023
1a4eb06
improve error handling for `set_initial_validators`
brentstone Jul 10, 2023
3cb6bde
[feat]: Added masp pinned tx test which passes
batconjurer Jul 10, 2023
8009548
deps: update sysinfo to latest 0.29.4
tzemanovic Jul 10, 2023
c265cc4
changelog: add #1695
tzemanovic Jul 10, 2023
5a0dd99
apps: use fd-lock instead of file-lock for cross-platform support
tzemanovic Jun 21, 2023
8726bbe
changelog: add #1605
tzemanovic Jul 10, 2023
ce0e751
query bonded-stake and order
bengtlofgren Jul 4, 2023
c2cfd34
feat: store total consensus stake; garbage collect validator sets
karbyshev Jul 5, 2023
363aa47
add test case
karbyshev Jul 9, 2023
c7dab48
refactor: introduce name for magic constant
karbyshev Jul 9, 2023
e43d5f7
refactor: simplify code
karbyshev Jul 9, 2023
9dc5fff
add changelog
karbyshev Jul 10, 2023
4abcc9b
refactor: fix formatting
karbyshev Jul 10, 2023
2a908a0
fix according to feedback
yito88 Jul 10, 2023
93b6679
add comments
yito88 Jul 10, 2023
94feb73
[feat]: Added masp_txs_and_queries integration test which passes. Rem…
batconjurer Jul 11, 2023
b06b603
CLI query a validator's state
brentstone Jul 4, 2023
5a6a92a
Expanding and fixing slashes query
brentstone Jul 6, 2023
214735c
pos: return sorted validator sets and code re-use for queries
tzemanovic Jul 11, 2023
ce14a4c
changelog: add #1656
tzemanovic Jul 11, 2023
9615a4d
[feat]: All masp e2e tests refactored into integration tests. Update …
batconjurer Jul 11, 2023
532659d
apps: move epoch-sleep client cmd under utils
tzemanovic Jul 11, 2023
ff692ab
ci/test/e2e: add new test
tzemanovic Jul 11, 2023
45d0813
changelog: add #1621
tzemanovic Jul 11, 2023
e0287ea
add unjail tx at CLI
bengtlofgren Jul 4, 2023
fc528cc
expand and fix e2e test `double_signing_gets_slashed`
brentstone Jul 4, 2023
a5d2237
handle errors for unjail-validator tx in the client
brentstone Jul 6, 2023
079d5c1
fix client_connections encoding
yito88 Jul 11, 2023
85256e8
query bonded-stake and order
bengtlofgren Jul 4, 2023
8ca6ceb
CLI query a validator's state
brentstone Jul 4, 2023
aae3f54
Expanding and fixing slashes query
brentstone Jul 6, 2023
b39d3ef
pos: return sorted validator sets and code re-use for queries
tzemanovic Jul 11, 2023
86638ec
changelog: add #1656
tzemanovic Jul 11, 2023
b34387d
converts faucet_withdrawal_limit to be correct
bengtlofgren Jul 5, 2023
340b4ad
[fix]: Fixed the faucet to use uint instead of amount. This makes it …
batconjurer Jul 6, 2023
52b882a
Update apps/src/lib/config/genesis.rs
batconjurer Jul 10, 2023
42b5335
Update core/src/types/uint.rs
batconjurer Jul 10, 2023
7fd0f6e
[chore]: Incorporating in review comments
batconjurer Jul 10, 2023
5de784e
[fix]: Fixing errors introduced by merging in main
batconjurer Jul 10, 2023
5ca0eab
changelog: add #1667
tzemanovic Jul 12, 2023
a22eacb
changelog: add #1670
tzemanovic Jul 12, 2023
c0cbacb
changelog: add #1692
tzemanovic Jul 12, 2023
9ed7177
shared/ledger/queries: add token balance client-only method
tzemanovic Feb 22, 2023
223753f
client/rpc: use the new token balance method
tzemanovic Feb 22, 2023
d03df95
changelog: add #1173
tzemanovic Jul 12, 2023
e65ffeb
remove vp_token
yito88 Jul 12, 2023
59a7fcc
fix changes in finalize_block
yito88 Jul 12, 2023
f1669e7
add changelog
yito88 Jul 12, 2023
ac75a7d
[fix]: Indentified flakiness in masp_txs_and_queries
batconjurer Jul 13, 2023
d45a22d
Merge branch 'main' into bat/refactor-masp-e2e
batconjurer Jul 13, 2023
ff5c451
[fix]: Resolved conflicts with eth bridge cli changes
batconjurer Jul 13, 2023
493c577
[fix]: Cleanups
batconjurer Jul 13, 2023
49fd38d
refactor: remove duplicated code
karbyshev Jul 13, 2023
c4fcad6
refactor: use immutable reference
karbyshev Jul 13, 2023
32a10a4
refactor: use immutable reference
karbyshev Jul 13, 2023
5e69bc0
[chore]: Removed unnecessary visibility qualifier
batconjurer Jul 13, 2023
897f022
[chore]: Making the docs happy
batconjurer Jul 13, 2023
f5c7b57
Update tests/Cargo.toml
batconjurer Jul 14, 2023
935a9a7
[chore]: Add lazy_static as workspace dep
batconjurer Jul 14, 2023
4a1b6cc
Merge branch 'bat/refactor-masp-e2e' of github.com:anoma/namada into …
batconjurer Jul 14, 2023
749a8ec
remove negative check
yito88 Jul 14, 2023
cd95787
remove test_invalid_sender
yito88 Jul 14, 2023
20a110f
refactor: rename method
karbyshev Jul 14, 2023
5483cdc
refactor: rename function
karbyshev Jul 14, 2023
d87df2a
test/shell/finalize_block: add some txs to DB commit test
tzemanovic Jul 13, 2023
37bbbdc
changelog: add #1717
tzemanovic Jul 14, 2023
962181e
Update tests/src/integration/masp.rs
batconjurer Jul 14, 2023
6b4b07a
Update apps/src/lib/cli/utils.rs
batconjurer Jul 14, 2023
ab841d6
[chore]: Re-add #[cfg(test)] to test router modules
batconjurer Jul 14, 2023
bd7c2f7
[chore]: Replaced dev with testing feature flag on stio redirect func
batconjurer Jul 14, 2023
5af1f94
pos: error out if validator is not in expected state for rewards
tzemanovic Jul 17, 2023
ca02d26
test/e2e/slashing: extend the test to discover rewards issues
tzemanovic Jul 17, 2023
2afb27c
app/ledger/finalize_block: log block rewards before recording slashes
tzemanovic Jul 17, 2023
ed57e33
pos/slash: fix the validator state update to be in sync with set changes
tzemanovic Jul 18, 2023
0c16a19
test/ledger/finalize_block: fix slashing tests
tzemanovic Jul 18, 2023
4e52936
changelog: add #1729
tzemanovic Jul 18, 2023
670f7e4
pos/epoched: keep 2 past epochs of data by default
tzemanovic Jul 18, 2023
641f9e0
changelog: add #1733
tzemanovic Jul 18, 2023
5275401
[chore]: Move mock definitions into apps to re-restrict visibility. B…
batconjurer Jul 18, 2023
316cfed
Merge branch 'bat/remove-unused-assoc-ty' into bat/feature/refactor-cli
batconjurer Jul 19, 2023
ca154cd
[feat]: Moved cli commands common to testing, cli, and sdk out into apps
batconjurer Jul 19, 2023
6d6595e
Merge branch 'bat/feature/refactor-cli' into bat/refactor-masp-e2e
batconjurer Jul 19, 2023
8dd8643
[feat]: Re-used code from the cli using new CliApi type
batconjurer Jul 19, 2023
353ff99
Merge branch 'main' into bat/refactor-masp-e2e
batconjurer Jul 19, 2023
7213235
channgelog: add #1738
tzemanovic Jul 19, 2023
331cde0
changelog: add #1693
tzemanovic Jul 19, 2023
76f98d0
tests: enable feature(internal_output_capture) for tests only
tzemanovic Jul 20, 2023
a2107f2
make: build tests with nightly
tzemanovic Jul 20, 2023
06f3e21
clippy fix
tzemanovic Jul 20, 2023
25f7726
rustdoc: rm links to private symbols
tzemanovic Jul 20, 2023
b055203
changelog: add #1714
tzemanovic Jul 21, 2023
ef2678c
fix tx_transfer
yito88 Jul 21, 2023
2bb4bf8
Merge branch 'tomas/win-build' (#1605)
Fraccaman Jul 21, 2023
9cc004f
Merge branch 'ray/utils-next-epoch' (#1621)
Fraccaman Jul 21, 2023
2b8064c
Merge branch 'bengt/pos-cli-queries' (#1656)
Fraccaman Jul 21, 2023
d8036f1
Merge branch 'aleks/clear-out-validator-sets-for-old-epochs' (#1665)
Fraccaman Jul 21, 2023
7a18295
Merge branch 'bengt/add-unjail-validator' (#1654)
Fraccaman Jul 21, 2023
9381168
Merge branch 'bengt/faucet-0.18-fix' (#1667)
Fraccaman Jul 21, 2023
bd9b857
Merge branch 'bat/remove-unused-assoc-ty' (#1670)
Fraccaman Jul 21, 2023
af8d6c6
Merge branch 'tomas/fix-init-chain-validator-set' (#1686)
Fraccaman Jul 21, 2023
57bd106
Merge branch 'tiago/rm-from-u64-on-ethbridge-stake' (#1692)
Fraccaman Jul 21, 2023
93a54c2
Merge branch 'tomas/update-sysinfo' (#1695)
Fraccaman Jul 21, 2023
a72ca1c
Merge branch 'tomas/token-balance-query' (#1173)
Fraccaman Jul 21, 2023
00d1969
Merge branch 'yuji/fix_changes_before_commit' (#1709)
Fraccaman Jul 21, 2023
f1c396b
Merge branch 'aleks/refactor' (#1717)
Fraccaman Jul 21, 2023
d5af059
Merge branch 'tomas/pos-fix-rewards-boundary' (#1729)
Fraccaman Jul 21, 2023
e956a37
Merge branch 'origin/tomas/pos-data-history' (#1733)
Fraccaman Jul 21, 2023
5299478
Merge branch 'bat/feature/refactor-cli' (#1738)
Fraccaman Jul 21, 2023
a9e05cd
fixup! Merge branch 'bat/feature/refactor-cli' (#1738)
Fraccaman Jul 21, 2023
b14cf12
Merge branch 'yuji/ibc-multitoken' (#1693)
Fraccaman Jul 21, 2023
8027b19
Merge branch 'origin/bat/refactor-masp-e2e' (#1714)
Fraccaman Jul 21, 2023
a85e752
fixup! Merge branch 'origin/bat/refactor-masp-e2e' (#1714)
Fraccaman Jul 21, 2023
3145a87
fixup! Merge branch 'origin/bat/refactor-masp-e2e' (#1714)
Fraccaman Jul 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changelog/unreleased/bug-fixes/1667-faucet-limit-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix genesis `faucet_withdrawal_limit` parser to respect tokens' denomination.
([\#1667](https://github.com/anoma/namada/pull/1667))
3 changes: 3 additions & 0 deletions .changelog/unreleased/bug-fixes/1686-delete-prefix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- PoS: ensure that the size of genesis validator set
is limited by the `max_validator_slots` parameter.
([\#1686](https://github.com/anoma/namada/pull/1686))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix inconsistency state before commit
([\#1709](https://github.com/anoma/namada/issues/1709))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- PoS: Fixed an epoch boundary issue in which a validator who's being slashed
on a start of a new epoch is disregarded during processing of block votes.
([\#1729](https://github.com/anoma/namada/pull/1729))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- PoS: purge validator sets for old epochs from the storage; store total
validator stake ([\#1129](https://github.com/anoma/namada/issues/1129))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added a reusable token balance query method.
([\#1173](https://github.com/anoma/namada/pull/1173))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/1605-win-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Replaced file-lock with fd-lock dependency to support Windows build.
([\#1605](https://github.com/anoma/namada/pull/1605))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/1621-utils-next-epoch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added a command to wait for the next epoch: `client utils epoch-sleep`.
([\#1621](https://github.com/anoma/namada/pull/1621))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/1656-pos-cli-queries.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added a client query for `validator-state` and improved the slashes query to
show more info. ([\#1656](https://github.com/anoma/namada/pull/1656))
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Removed associated type on `masp::ShieldedUtils`. This type was an
attempt to reduce the number of generic parameters needed when interacting
with MASP but resulted in making code re-use extremely difficult.
([\#1670](https://github.com/anoma/namada/pull/1670))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Removed `impl From<u64> for EthBridgeVotingPower` and replaced it with a
`TryFrom`. ([\#1692](https://github.com/anoma/namada/pull/1692))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/1695-update-sysinfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Updated sysinfo dependency.
([\#1695](https://github.com/anoma/namada/pull/1695))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/1717-storage-refactor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Refactored storage code to only use an immutable reference when reading and
writing to a batch. ([\#1717](https://github.com/anoma/namada/pull/1717))
2 changes: 2 additions & 0 deletions .changelog/unreleased/miscellaneous/1693-ibc-multitoken.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Replaced token sub-prefix with a multitoken address and native VP for IBC and
ETH bridge. ([\#1693](https://github.com/anoma/namada/pull/1693))
2 changes: 2 additions & 0 deletions .changelog/unreleased/miscellaneous/1733-pos-data-history.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- PoS: Keep the data for last two epochs by default.
([\#1733](https://github.com/anoma/namada/pull/1733))
2 changes: 2 additions & 0 deletions .changelog/unreleased/miscellaneous/1738-refactor-cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Refactored CLI into libraries for future re-use in integration tests and
to enable generic IO. ([\#1738](https://github.com/anoma/namada/pull/1738))
3 changes: 3 additions & 0 deletions .changelog/unreleased/testing/1714-refactor-e2e-tests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Added integration testing infrastructure for node, client and
the wallet and replaced MASP E2E tests with integration tests.
([\#1714](https://github.com/anoma/namada/pull/1714))
1 change: 1 addition & 0 deletions .github/workflows/scripts/e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"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::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
Loading