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

Draft [breaking] #2587

Closed
wants to merge 115 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
be34b90
add e2e test
yito88 Feb 12, 2024
d64f985
move token/asset maps from conversion_state back to storage
yito88 Feb 13, 2024
325a240
check nam
yito88 Feb 14, 2024
95c5d52
merklize root of masp convert_anchor
yito88 Feb 14, 2024
596c9c5
leave assets in ConversionState and store the hash
yito88 Feb 14, 2024
d08536a
propose before ibc transfer
yito88 Feb 14, 2024
d559e3a
fix integration test
yito88 Feb 15, 2024
f6b150f
change the epoch query interval
yito88 Feb 15, 2024
f07501f
add retries
yito88 Feb 18, 2024
fd3a74d
wait long
yito88 Feb 19, 2024
4a0d747
wait more epoch
yito88 Feb 19, 2024
8c40f0e
add shielded-sync
yito88 Feb 19, 2024
cea308f
reduce epochs
yito88 Feb 20, 2024
3088e2b
add changelog
yito88 Feb 20, 2024
1eac4a7
Adds a `buffer` for replay protection keys to allow rollback
grarco Feb 12, 2024
3984f37
Fixes key deletion in rollback command. Extends rollback test to cove…
grarco Feb 12, 2024
948aebe
Caches tx hash even in case of a delete
grarco Feb 12, 2024
39b4abd
Changelog #2599
grarco Feb 12, 2024
38e073d
Removes unused `iter_replay_protection_buffer` from `State`
grarco Feb 13, 2024
53ebd50
WIP making token map lazy
brentstone Feb 27, 2024
3aa5898
making token map lazy
yito88 Feb 27, 2024
0d5f437
Merge branch 'base' into yuji/e2e-reward-shielded-ibc-token
yito88 Feb 28, 2024
944ddcf
Merge branch 'base' into grarco/reprot-rollback-rebase
grarco Feb 29, 2024
5aa3e1c
revert LazyMap
yito88 Feb 29, 2024
81db8f0
Merge branch 'base' into yuji/e2e-reward-shielded-ibc-token
yito88 Mar 1, 2024
42aa4f5
state/write_log: clear IBC events in `fn drop_tx`
tzemanovic Mar 7, 2024
97178fc
add parentheses
brentstone Feb 15, 2024
bfb6917
fix unjail SE bug + test
brentstone Feb 27, 2024
4031b3a
changelog: add #2617
brentstone Mar 3, 2024
9341be2
clean up pos VP
brentstone Feb 13, 2024
6a6aea6
changelog: add #2604
tzemanovic Feb 22, 2024
d36719b
Merge v0.31.9 into grarco/reprot-rollback
grarco Mar 8, 2024
a92df37
clarify SK in test
brentstone Mar 7, 2024
d366d54
Merge branch 'base' into yuji/e2e-reward-shielded-ibc-token
yito88 Mar 8, 2024
49a6bd8
changelog: add #2850
tzemanovic Mar 8, 2024
bcca08e
fix valid validator voting period computation
brentstone Feb 15, 2024
260af42
improve client logging for invalid vote
brentstone Feb 15, 2024
fa96e2d
changelog: add #2628
brentstone Feb 15, 2024
dafd8fa
bug fix: log result if epoch is after voting_end
brentstone Feb 16, 2024
48d403a
test
brentstone Feb 24, 2024
d27ad0b
add to docstring
brentstone Feb 24, 2024
795a735
validate start epoch in VP
brentstone Mar 8, 2024
b602e1d
Merge branch 'brent/prep-pos-vp' (#2604)
brentstone Mar 8, 2024
2742fe3
Merge branch 'tomas/clear-ibc-events' (#2850)
brentstone Mar 8, 2024
3f60e53
Merge branch 'brent/fix-vp-user' (#2617)
brentstone Mar 8, 2024
ac57049
Merge branch 'yuji/e2e-reward-shielded-ibc-token' (#2601)
brentstone Mar 8, 2024
c3e99b7
Merge branch 'brent/fix-validator-voting-period' (#2628)
brentstone Mar 8, 2024
bc0e8eb
Merge branch 'grarco/reprot-rollback' (#2599)
brentstone Mar 8, 2024
1548393
Started adding tooling for updating the ledger db during a hard fork
batconjurer Feb 9, 2024
c11dfb3
fixing compile issues and clippy
batconjurer Feb 12, 2024
08ae8df
rebased
batconjurer Mar 4, 2024
383a7f3
[feat]: Added a new derive macro to register deserializers of types t…
batconjurer Mar 5, 2024
8988219
[feat]: Featured gated migrations code
batconjurer Mar 5, 2024
4e07860
[chore]: Added changelog
batconjurer Mar 5, 2024
a52e20b
[chore]: Formatting
batconjurer Mar 5, 2024
cac418d
Update crates/migrations/src/lib.rs
batconjurer Mar 6, 2024
8f6940e
Update crates/migrations/Cargo.toml
batconjurer Mar 6, 2024
0e1ee60
Addressing review comments
batconjurer Mar 6, 2024
e050059
Update crates/migrations/src/lib.rs
batconjurer Mar 7, 2024
1b14d6e
Update .changelog/unreleased/improvements/2814-global-deserializer-ma…
batconjurer Mar 7, 2024
7f787e0
rebase
batconjurer Mar 8, 2024
3875b39
[feat]: Added a pattern matching iterator to the db
batconjurer Mar 7, 2024
d72292d
[chore]: Added changelog
batconjurer Mar 7, 2024
1242c11
fmt
brentstone Mar 8, 2024
0c8b434
[feat]: Added a new derive macro to register deserializers of types t…
batconjurer Mar 5, 2024
f75a00d
[feat]: Featured gated migrations code
batconjurer Mar 5, 2024
cae053c
Addressing review comments
batconjurer Mar 6, 2024
07da03a
[feat]: Rebased on the serializers branch and added cli command to ap…
batconjurer Mar 5, 2024
93ce4e4
[feat]: Fixed and tested migration tooling.
batconjurer Mar 7, 2024
4eb0b72
[feat]: Rebased on the serializers branch and added cli command to ap…
batconjurer Mar 5, 2024
2adfe40
tinies
batconjurer Mar 7, 2024
466c018
[chore]: Added changelog
batconjurer Mar 7, 2024
5fc7c7f
[feat]: Added a pattern matching iterator to the db
batconjurer Mar 7, 2024
c5e6e5d
[feat]: Added pattern based db migration. Added e2e test and better e…
batconjurer Mar 7, 2024
b46b6f1
[feat]: Rebased on the serializers branch and added cli command to ap…
batconjurer Mar 5, 2024
b0974ce
tinies
batconjurer Mar 7, 2024
dff1128
[feat]: Added pattern based db migration. Added e2e test and better e…
batconjurer Mar 7, 2024
0f701a0
[fix]: Make migrations enabled by default
batconjurer Mar 8, 2024
c215db7
Finished rebasing
batconjurer Mar 8, 2024
9f627ca
Merge branch 'bat/feat/static-serializers' (#2814)
brentstone Mar 8, 2024
578b01f
Merge branch 'bat/feat/iter-pattern' (#2839)
brentstone Mar 8, 2024
015470a
Merge branch 'bat/feat/db-migration' (#2835)
brentstone Mar 8, 2024
6492acd
test state migration first commit
brentstone Mar 9, 2024
becbc5b
fix iteration
brentstone Mar 9, 2024
3d0b02f
working
brentstone Mar 9, 2024
4fce529
fmt
brentstone Mar 9, 2024
33c6ba6
Cleanupt up the foreign type macros. Tidied up some logging. Added a …
batconjurer Mar 11, 2024
0e9b7c3
clippy and fmt
brentstone Mar 11, 2024
2e93595
[fix]: Fixed log lines from migrations and refactored the dsl impleme…
batconjurer Mar 12, 2024
9d22870
[fix]: Made migrating a single command
batconjurer Mar 12, 2024
de5233e
add conversion state token map to migration
brentstone Mar 12, 2024
066185e
rename from ratio to amount for MASP keys
brentstone Mar 13, 2024
41a138e
more PoS inflation logging
brentstone Mar 13, 2024
20cc041
changelog: add #2894
brentstone Mar 13, 2024
c045477
Merge branch 'brent/aesthetic-edits' (#2894)
brentstone Mar 13, 2024
5e59456
Added more type guardrails
batconjurer Mar 13, 2024
6e5de5b
Rollback `udpate_epoch_blocks_delay`
grarco Mar 13, 2024
6de6525
added e2e test
Mar 13, 2024
ec68172
Merge remote-tracking branch 'origin/main' into grarco/reprot-rollback
Mar 13, 2024
be5ef4c
fmt
Mar 13, 2024
bf03525
specify the column family
brentstone Mar 13, 2024
a52a6b5
[fix]: Added the column family to the query-db cli command
batconjurer Mar 14, 2024
4cb8607
Update the migration example to perform migration on the conversion s…
batconjurer Mar 14, 2024
4d6fa11
add logs to e2e test
Mar 14, 2024
90703d0
fmt
brentstone Mar 14, 2024
fd85e37
Updates rollback e2e test
grarco Mar 14, 2024
401c619
[fix]: Added an optional starting block argument for shielded sync
batconjurer Mar 15, 2024
80be8d6
added changelog
batconjurer Mar 15, 2024
33f326c
Revert "Merge branch 'grarco/reprot-rollback' (#2599)"
brentstone Mar 15, 2024
ad10c01
Merge branch 'grarco/reprot-rollback' (#2599)
brentstone Mar 15, 2024
81ffc7d
Merge branch 'bat+fraccaman/shielded-sync-start-height' (#2902)
brentstone Mar 15, 2024
b91310f
fmt
brentstone Mar 15, 2024
a0670da
changelog: add #2870
brentstone Mar 15, 2024
a462b68
evil: update tx_proposal_ibc_token_inflation.wasm
yito88 Mar 18, 2024
949d401
Merge branch 'bat+brent/native-updatetype' (#2870)
brentstone Mar 18, 2024
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/2617-fix-vp-user.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix a bug preventing unjailing when it involves demotion of a validator out of
the consensus set. ([\#2617](https://github.com/anoma/namada/pull/2617))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fixes the computation of the valid validator voting period.
([\#2628](https://github.com/anoma/namada/pull/2628))
2 changes: 2 additions & 0 deletions .changelog/unreleased/bug-fixes/2850-clear-ibc-events.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Clear IBC events emitted from rejected txs.
([\#2850](https://github.com/anoma/namada/pull/2850))
2 changes: 2 additions & 0 deletions .changelog/unreleased/features/2601-update-masp-token-map.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Enable to update ConversionState token map by proposal wasm tx
([\#2601](https://github.com/anoma/namada/issues/2601))
2 changes: 2 additions & 0 deletions .changelog/unreleased/features/2870-native-updatetype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Implements state migration functionality.
([\#2870](https://github.com/anoma/namada/pull/2870))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/2604-prep-pos-vp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- In PoS VP validate governance proposal changes in PoS parameters.
([\#2604](https://github.com/anoma/namada/pull/2604))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- This PR adds a proc macro that registers the deserializer of a type in a hashmap. This allows us to verify that
data blob deserializes correctly if we are in possession of the hash map key. ([\#2814](https://github.com/anoma/namada/pull/2814))
1 change: 1 addition & 0 deletions .changelog/unreleased/improvements/2835-db-migrations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Adds tools to create json files to change db keys and various debugging and dry running logic. ([\#2835](https://github.com/anoma/namada/pull/2835))
1 change: 1 addition & 0 deletions .changelog/unreleased/improvements/2839-db-patter-iter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- When iterating over key prefixes, we can additionally filter out keys based on a regex. ([\#2839](https://github.com/anoma/namada/pull/2839))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/2894-aesthetic-edits.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Some edits to logging and strings
([\#2894](https://github.com/anoma/namada/pull/2894))
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Added an optional starting block argument for shielded sync ([\#2902](https://github.com/anoma/namada/pull/2902))
4 changes: 3 additions & 1 deletion .github/workflows/scripts/e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"e2e::ibc_tests::run_ledger_ibc": 155,
"e2e::ibc_tests::run_ledger_ibc_with_hermes": 130,
"e2e::ibc_tests::pgf_over_ibc_with_hermes": 240,
"e2e::ibc_tests::proposal_ibc_token_inflation": 600,
"e2e::eth_bridge_tests::test_add_to_bridge_pool": 10,
"e2e::ledger_tests::double_signing_gets_slashed": 12,
"e2e::ledger_tests::invalid_transactions": 13,
Expand All @@ -13,6 +14,7 @@
"e2e::ledger_tests::implicit_account_reveal_pk": 30,
"e2e::ledger_tests::pos_init_validator": 40,
"e2e::ledger_tests::proposal_offline": 21,
"e2e::ledger_tests::rollback": 21,
"e2e::ledger_tests::pgf_governance_proposal": 320,
"e2e::ledger_tests::proposal_submission": 200,
"e2e::ledger_tests::proposal_change_shielded_reward": 200,
Expand All @@ -36,4 +38,4 @@
"e2e::wallet_tests::wallet_encrypted_key_cmds": 1,
"e2e::wallet_tests::wallet_encrypted_key_cmds_env_var": 1,
"e2e::wallet_tests::wallet_unencrypted_key_cmds": 1
}
}
Loading
Loading