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

Tiago/draft #2249

Closed
wants to merge 194 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
194 commits
Select commit Hold shift + click to select a range
dc9e4fd
[feat]: Allow eth-oracle to be activated / deactivated via config upd…
batconjurer Jul 26, 2023
0c7aff5
[fix]: Fixed block height typo in test
batconjurer Jul 26, 2023
ecb89e2
[chore]: Add changelog
batconjurer Aug 17, 2023
0637233
core/storage: change the default start height of first epoch to 1
tzemanovic Oct 17, 2023
da2358b
core/storage: set the initial height from genesis
tzemanovic Oct 17, 2023
686328c
core/storage: add `BlockHeight::first` and `sentinel`
tzemanovic Oct 17, 2023
8d0d458
core/storage/epochs: Change pred `Epochs` default to be empty
tzemanovic Oct 18, 2023
8ca7666
apps/shell/finalize_block: remove first epoch workaround
tzemanovic Oct 18, 2023
f1de1df
test/app/ledger: fix merkle tree pruning test
tzemanovic Oct 17, 2023
742978e
test/core/storage: fix pred epochs & heights test
tzemanovic Oct 17, 2023
3ea8305
changelog: add #1993
tzemanovic Oct 17, 2023
ed9138d
Relocate eth event nonce validation
sug0 Oct 19, 2023
0dba83b
Discard eth events from oracle with invalid nonces
sug0 Oct 19, 2023
8a4cf40
Disregard state updates from eth events with outdated nonces
sug0 Oct 20, 2023
f44d5ff
Only propose eth events with up to date nonces
sug0 Oct 20, 2023
80781cb
Fix unit tests
sug0 Oct 20, 2023
0c0c801
Test replaying eth events with outdated nonces
sug0 Oct 23, 2023
dd487fa
Test eth events with outdated nonces during CheckTx
sug0 Oct 23, 2023
adac29f
Test eth events with outdated nonces during PrepareProposal
sug0 Oct 23, 2023
df9c8ce
Test eth events with outdated nonces during ProcessProposal
sug0 Oct 23, 2023
4dbc621
Changelog for #2035
sug0 Oct 23, 2023
b3a240d
wasm: add validator support to vp_user
tzemanovic Nov 21, 2023
0cd12bb
remove vp_validator and replace usage with vp_user
tzemanovic Nov 21, 2023
352c9fc
genesis/localnet: regen validator
tzemanovic Nov 21, 2023
7de6427
changelog: add #2202
tzemanovic Nov 21, 2023
50bb937
deliberately empty
tzemanovic Nov 21, 2023
affe065
prune merkle trees of bridge pool
yito88 Nov 21, 2023
5388f93
Charges wrapper gas for network usage
grarco Nov 21, 2023
cb85b5c
add test and changelog
yito88 Nov 21, 2023
13ce967
Changelog #2205
grarco Nov 22, 2023
a76f0db
Make the CLI take public keys instead of secret keys so that hardware…
murisi Nov 22, 2023
966afb5
The flags for TxInitValidator and ConsensusKeyChange are now public k…
murisi Nov 22, 2023
12b61d3
Removed the verification key flag since it has been made redundant by…
murisi Nov 22, 2023
8228ec4
add a `checked_add`
brentstone Nov 23, 2023
4a55f69
init_chain: compute consensus stake for `current_epoch` and not `defa…
brentstone Nov 23, 2023
7915337
fix typo
brentstone Nov 23, 2023
21870d4
clean comments
brentstone Nov 23, 2023
cec5c44
edits to localnet README
brentstone Nov 23, 2023
20943a7
replace tx_init_validator with tx_become_validator
tzemanovic Nov 21, 2023
69bde2c
PoS: add checks for `become_validator`
tzemanovic Nov 21, 2023
6ab8fc6
wasm/vp_user: add authorization for tx_become_validator
tzemanovic Nov 22, 2023
b315986
test/pos: `become_validator` fails on account with delegations
tzemanovic Nov 22, 2023
3736701
benches: update for `become_validator`
tzemanovic Nov 22, 2023
4b3fe18
changelog: add #2208
tzemanovic Nov 22, 2023
127c818
cli: fix metadata args to validator initialization txs
brentstone Nov 22, 2023
0863e04
cli: fix help and err messages
brentstone Nov 22, 2023
8159327
fix docstrings
brentstone Nov 22, 2023
beccd83
Merge branch 'tomas/combine-user-validator-vp' (#2202)
tzemanovic Nov 23, 2023
ff68f7b
remove unneeded write
yito88 Nov 23, 2023
6974b5d
Made the key not found error more informative by embedding alias insi…
murisi Nov 24, 2023
970c180
fixup! Merge branch 'tomas/combine-user-validator-vp' (#2202)
tzemanovic Nov 24, 2023
b27e500
Merge branch 'tomas/init-validator-wo-account' (#2208)
tzemanovic Nov 24, 2023
17d765d
Remove aliases from genesis templates
sug0 Nov 9, 2023
9980166
Load test established addrs from pre-genesis wallet
sug0 Nov 16, 2023
8d6fbf8
Fix localnet genesis templates
sug0 Nov 15, 2023
89d8e07
Early check of available balance to bond
sug0 Nov 17, 2023
ddb700e
Adjust dev genesis
sug0 Nov 17, 2023
cae6950
Fix PoS rewards rounding errors in unit tests
sug0 Nov 17, 2023
77fd80f
CLI utils subcmd to generate established account genesis tx
sug0 Nov 15, 2023
78fbee7
Rework CLI utils subcmd to generate validator account genesis tx
sug0 Nov 15, 2023
3dbb4e8
CLI utils subcmd to derive genesis account addrs
sug0 Nov 15, 2023
682bc05
Update masp proofs
sug0 Nov 20, 2023
c2ac794
Fix masp integration tests
sug0 Nov 20, 2023
b9d38d7
rebased on v0.27 and some initial multisig fixes
batconjurer Nov 21, 2023
6823331
Remove established account init CLI subcmd
sug0 Nov 21, 2023
ca0b3fa
Fix rebase + multisig related compilation issues
sug0 Nov 21, 2023
f783353
Implement Display and FromStr for established addrs
sug0 Nov 21, 2023
4b08cf5
ibc-rs 0.48.0
yito88 Nov 24, 2023
3a631f1
remove ibc-proto dependency
yito88 Nov 24, 2023
cbd6694
wasm: handle cache loading errors
tzemanovic Nov 27, 2023
85957df
changelog: add #2215
tzemanovic Nov 27, 2023
313c614
Made build_unjail_validator respect force flag.
murisi Nov 27, 2023
0ccd2be
Now compress transactions before sending them to hardware wallet.
murisi Nov 27, 2023
3b6b982
revert chain ID format
yito88 Nov 27, 2023
50bba4b
fix bench
yito88 Nov 27, 2023
b5c37b6
Merge branch 'bat/feature/disable-oracle-gov' (#1764)
tzemanovic Nov 27, 2023
83d5f22
Merge branch 'tomas/fst-epoch-start-height' (#1993)
tzemanovic Nov 27, 2023
a1b2d09
Fixed sign_raw in the case that the public keys map is non-consecutive.
murisi Nov 27, 2023
1898905
update ibc-rs to 0.48.1
yito88 Nov 27, 2023
10779f0
add changelog
yito88 Nov 27, 2023
686c0d8
fix more comments and docstrings
brentstone Nov 27, 2023
a179344
fix slashing in `bond_amounts_for_rewards`
brentstone Nov 27, 2023
5a3af44
fixup! Merge branch 'tomas/fst-epoch-start-height' (#1993)
tzemanovic Nov 28, 2023
a111696
fixup! Merge branch 'bat/feature/disable-oracle-gov' (#1764)
tzemanovic Nov 28, 2023
a21b0fd
Merge branch 'tiago/outdated-eth-nonces' (#2035)
tzemanovic Nov 28, 2023
1a321b2
fixup! Merge branch 'tiago/outdated-eth-nonces' (#2035)
tzemanovic Nov 28, 2023
4f8ed64
Merge branch 'grarco/network-gas' (#2205)
tzemanovic Nov 28, 2023
59ee619
Merge branch 'yuji/prune-bp-merkle-tree' (#2206)
tzemanovic Nov 28, 2023
7fcebcc
Merge branch 'tomas/wasm-cache-handle-err' (#2215)
tzemanovic Nov 28, 2023
5e90dc0
Merge branch 'yuji/ibc-rs-0.48.0' (#2153)
tzemanovic Nov 28, 2023
dacad96
deps: upgrade ledger-namada version
tzemanovic Nov 28, 2023
e0d1dd1
query for available rewards from a bond
brentstone Nov 27, 2023
e21b5dc
improve RPC error logging
brentstone Nov 28, 2023
4c94f61
changelog: add #2217
brentstone Nov 28, 2023
7453f41
Removed uses of lifetimes in the SDKs Namada trait and NamadaImpl imp…
murisi Nov 28, 2023
8afe908
Added changelog entry.
murisi Nov 28, 2023
9a54e4f
Merge branch 'origin/murisi/remove-sdk-lifetimes' (#2225)
murisi Nov 28, 2023
06f27a9
masp: log inflation amount for each token address
tzemanovic Nov 29, 2023
8cc59dd
dec: add a proptest helper to gen arb non-negative dec
tzemanovic Nov 29, 2023
d150a20
masp: test update_allowed_conversions
tzemanovic Nov 29, 2023
b41393e
masp: fix possible underflow
tzemanovic Nov 29, 2023
1e13831
changelog: add #2230
tzemanovic Nov 29, 2023
8a29746
Merge branch 'tomas/namada-ledger-ver' (#2223)
tzemanovic Nov 29, 2023
04097ba
Merge branch 'brent/upgrade-pos-rewards' (#2217)
tzemanovic Nov 29, 2023
a91d224
fixup! Merge branch 'brent/upgrade-pos-rewards' (#2217)
tzemanovic Nov 29, 2023
0ad0498
Merge branch 'brent/fix-misc-pos' (#2210)
tzemanovic Nov 29, 2023
6b21bca
Merge branch 'tomas/masp-rewards' (#2230)
tzemanovic Nov 29, 2023
8a14131
Upgrade borsh to v1.2.0
adrianbrink Nov 29, 2023
440b07b
Added an async-send flag to the SDK
murisi Nov 30, 2023
1c57253
Updated ledger-namada-rs dependency to fix compiler errors.
murisi Nov 30, 2023
0451fb4
Added changelog entry.
murisi Nov 30, 2023
336e9d2
Merge branch 'origin/fraccaman+murisi/with-async' (#2235)
murisi Nov 30, 2023
e44c766
Added changelog entry.
murisi Nov 30, 2023
5ff7552
Merge branch 'murisi/cli-public-keys' (#2209)
murisi Nov 30, 2023
8df15b0
fix unjail tx from client to consider liveness jailing
brentstone Dec 4, 2023
f48aec4
only call jail if validator is not already jailed
brentstone Dec 5, 2023
c57e818
feature guard masp "download-params" in the sdk
tzemanovic Dec 6, 2023
6b20154
shared: refactor to avoid unused imports
tzemanovic Dec 6, 2023
1cd505f
changelog: add #2233
tzemanovic Dec 6, 2023
56b5384
changelog: add #2246
brentstone Dec 6, 2023
8ba5484
Merge branch 'brent/fix-liveness' (#2246)
brentstone Dec 6, 2023
41e1f52
Implement serde serialization for validator meta
sug0 Nov 21, 2023
a4a523f
wip mess
sug0 Nov 21, 2023
c15e750
clippy is pleased
sug0 Nov 22, 2023
c4260b6
Revert "Remove established account init CLI subcmd"
sug0 Nov 22, 2023
974ecea
Unify genesis templates
sug0 Nov 22, 2023
0232679
Revert "Unify genesis templates"
batconjurer Nov 23, 2023
5138fb1
[feat]: Fixed cli tooling for multi-signing txs
batconjurer Nov 23, 2023
34e3502
some dicking around
batconjurer Nov 23, 2023
dc66383
Temporarily revert hw wallet signing changes
sug0 Nov 24, 2023
4c6af4d
sumbish
sug0 Nov 24, 2023
f775508
Sign over an actual bond tx
sug0 Nov 24, 2023
694b368
Implement signable tx helper
sug0 Nov 24, 2023
fd0132e
Sign over an actual become validator tx
sug0 Nov 24, 2023
16a489e
Validator key validation
sug0 Nov 24, 2023
d2a075f
lifetime hell
batconjurer Nov 27, 2023
7fe53eb
lifetime heaven
sug0 Nov 28, 2023
7af5d93
wip: fixing localnet genesis templates
sug0 Nov 28, 2023
1a4e160
Fix dev genesis
sug0 Nov 29, 2023
26161f1
Add base dir arg to gen localnet script
sug0 Nov 29, 2023
8a7ee7e
Update masp proofs
sug0 Nov 29, 2023
4bd576d
Improve signing failure error msg
sug0 Nov 29, 2023
d1a9c9c
Generate localnet script fixes
sug0 Nov 29, 2023
17c7d68
Rename sign genesis txs subcmd
sug0 Nov 30, 2023
b679cf0
Fix setup process on e2e tests
sug0 Nov 30, 2023
0f34f9c
[fix]: fix e2e test
batconjurer Nov 30, 2023
8a0fd60
more e2e fixes
batconjurer Dec 1, 2023
b8a2660
[fix] Wallet can generated keys without genesis files
batconjurer Dec 1, 2023
e66fc31
Fixed stupid epoch sleep and now pass chain-id to post-genesis ledger…
batconjurer Dec 4, 2023
55ec483
Allow the chain id to be configured through an env var
sug0 Dec 4, 2023
f9cae16
Set chain id in e2e tests through env var
sug0 Dec 4, 2023
2a12a7a
Appease clippy
sug0 Dec 4, 2023
fff1064
fixing more dumb shit
sug0 Dec 4, 2023
92bdbbe
Temporarily disable test_bond_queries
sug0 Dec 4, 2023
d227c53
Fix e2e wallet tests
sug0 Dec 4, 2023
9991b1a
fix `test_bond_queries` and trigger in CI
brentstone Dec 4, 2023
d9b7418
add other missing e2e tests to CI
brentstone Dec 4, 2023
2eca765
End-to-end test fixes
sug0 Dec 5, 2023
9e2c6c1
gen_localnet working on mac os
bengtlofgren Nov 30, 2023
47c1e31
Update masp proofs
sug0 Dec 5, 2023
436da0b
Make `vp_user` a constant
sug0 Dec 5, 2023
9d6ed9f
Convert some static strs to consts
sug0 Dec 5, 2023
b3e9008
Fix typo
sug0 Dec 5, 2023
a0194c7
Use a Unix epoch as a pre-genesis tx timestamp
sug0 Dec 5, 2023
b7d0713
Revert "Use a Unix epoch as a pre-genesis tx timestamp"
sug0 Dec 5, 2023
508f0ae
Genesis bond subcmd
sug0 Dec 5, 2023
0e6c434
Set new pre-genesis txs timestamp
sug0 Dec 5, 2023
f54d538
Fix localnet template sigs
sug0 Dec 5, 2023
14639f1
Denominate amounts before signing them
sug0 Dec 5, 2023
1ba67ec
Fix signatures once again
sug0 Dec 5, 2023
2deefda
Output unsigned established account txs struct
sug0 Dec 6, 2023
2d1288f
Improve genesis tx signing's janky code
sug0 Dec 6, 2023
6a53201
Check if two pubkeys are used for the same established acc
sug0 Dec 6, 2023
ab22447
Change aliases arg
sug0 Dec 6, 2023
605bea0
Fix e2e test setup
sug0 Dec 6, 2023
763392a
Fix bug in cli arg multi
sug0 Dec 6, 2023
4ec49f2
Revert "Fix bug in cli arg multi"
sug0 Dec 6, 2023
f9d855d
Add some lobsters or something
sug0 Dec 6, 2023
c4af96a
Make pre-genesis a global arg
sug0 Dec 6, 2023
56107eb
Tune error message on invalid chain id
sug0 Dec 6, 2023
24591ee
Pre-genesis wallet fixes
sug0 Dec 6, 2023
ab92dfd
Mandatory `--pre-genesis` flag
sug0 Dec 6, 2023
3ff75cd
genesis: update README and update files
tzemanovic Dec 6, 2023
ce7f498
genesis: update starter README
tzemanovic Dec 6, 2023
6df5ae6
benches: fix the default validator key for signing txs
tzemanovic Dec 6, 2023
c7e2b42
small grammar fixes
brentstone Dec 6, 2023
62730cb
changelog: add #2186
tzemanovic Dec 6, 2023
087eb3f
Merge branch 'tiago/remove-genesis-aliases' (#2186)
tzemanovic Dec 7, 2023
3d12c84
fixup! Merge branch 'tiago/remove-genesis-aliases' (#2186)
tzemanovic Dec 7, 2023
8d863b1
fixup! Merge branch 'tiago/remove-genesis-aliases' (#2186)
tzemanovic Dec 7, 2023
4ecab57
Merge branch 'adrian/upgrade_borsh' (#2233)
tzemanovic Dec 7, 2023
0c3a2f7
fixup! Merge branch 'adrian/upgrade_borsh' (#2233)
tzemanovic Dec 7, 2023
0a87998
fixup! Merge branch 'adrian/upgrade_borsh' (#2233)
tzemanovic Dec 7, 2023
857d555
fixup! Merge branch 'adrian/upgrade_borsh' (#2233)
sug0 Dec 7, 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/SDK/2225-remove-sdk-lifetimes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Removed uses of lifetimes in the SDKs Namada trait and implementation
([\#2225](https://github.com/anoma/namada/pull/2225))
2 changes: 2 additions & 0 deletions .changelog/unreleased/SDK/2235-with-async.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Added Send trait support to the SDK to allow its use in more multithreaded
contexts. ([\#2235](https://github.com/anoma/namada/pull/2235))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix the start block height of the first epoch.
([\#1993](https://github.com/anoma/namada/pull/1993))
2 changes: 2 additions & 0 deletions .changelog/unreleased/bug-fixes/2035-outdated-eth-nonces.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix Ethereum event validation/state updates when more than one validator is
running the chain ([\#2035](https://github.com/anoma/namada/pull/2035))
2 changes: 2 additions & 0 deletions .changelog/unreleased/bug-fixes/2230-masp-rewards.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix possible underflow in MASP rewards calculation.
([\#2230](https://github.com/anoma/namada/pull/2230))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Allow the ethereum oracle to be activated / deactivated via config
updates sent from ledger. This allows governance to shut down the
ledger without restarts. Otherwise, disconnecting from Ethereum will
result in the ledger crashing.
([\#1764](https://github.com/anoma/namada/pull/1764))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Prune merkle tree of bridge pool
([\#2110](https://github.com/anoma/namada/issues/2110))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Revert the chain ID format by upgrading ibc-rs to 0.48.1
([\#2153](https://github.com/anoma/namada/issues/2153))
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Changed pre-genesis established addresses to be derived from their data.
Improved signing of pre-genesis transactions to use the same format as
regular transactions. Genesis token balances now can be directly assigned to
established addresses. ([\#2186](https://github.com/anoma/namada/pull/2186))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Combined the user and the validator VP into one.
([\#2202](https://github.com/anoma/namada/pull/2202))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/2205-network-gas.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Charge gas for network usage.
([\#2205](https://github.com/anoma/namada/pull/2205))
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- A new `tx_become_validator` replaces `tx_init_validator`. This tx doesn't
initialize a new account and instead it modifies an existing established
address to become a validator. This currently requires that there are no
delegations on the source account before it can become a validator (if there
are some, they have to be unbonded, but they don't have to be withdrawn).
A new client command `become-validator` is added that requires an `--address`.
The client command `init-validator` is kept for convenience and updated to
send `tx_init_account` tx before `tx_become_validator`.
([\#2208](https://github.com/anoma/namada/pull/2208))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/2209-cli-public-keys.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Increase hardware wallet support in the CLI
([\#2209](https://github.com/anoma/namada/pull/2209))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/2215-vp-less-permissive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Handle errors on loading WASMs from file-system compilation cache.
([\#2215](https://github.com/anoma/namada/pull/2215))
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Implement a CLI query for available rewards from a bond,
and improve the bond amount for rewards computation
([\#2217](https://github.com/anoma/namada/pull/2217))
3 changes: 3 additions & 0 deletions .changelog/unreleased/improvements/2246-fix-liveness.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Fix bug in client to allow for unjailing a validator
that was jailed for missing liveness requirements
([\#2246](https://github.com/anoma/namada/pull/2246))
2 changes: 2 additions & 0 deletions .changelog/unreleased/miscellaneous/2233-upgrade-borsh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Upgraded borsh dependency to v1.2.0.
([\#2233](https://github.com/anoma/namada/pull/2233))
3 changes: 3 additions & 0 deletions .github/workflows/scripts/e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"e2e::ledger_tests::change_validator_metadata": 31,
"e2e::ledger_tests::pos_rewards": 44,
"e2e::ledger_tests::test_invalid_validator_txs": 73,
"e2e::ledger_tests::test_bond_queries": 95,
"e2e::ledger_tests::suspend_ledger": 30,
"e2e::ledger_tests::stop_ledger_at_height": 18,
"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
Loading