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

refactor out namada crate #3402

Merged
merged 41 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
9d66743
add a new crate namada_vm
tzemanovic Jun 5, 2024
1a8d4f8
add a new crate namada_vp
tzemanovic Jun 5, 2024
5750425
mv crates/namada/src/vm/* crates/vm/src/
tzemanovic Jun 5, 2024
c01ce4f
mv crates/namada/src/ledger/vp_host_fns.rs crates/vp/src/
tzemanovic Jun 5, 2024
e319e20
vp: post-move fixes
tzemanovic Jun 5, 2024
1344ec0
vm: post-move fixes
tzemanovic Jun 5, 2024
02c2438
mv crates/namada/src/ledger/protocol/mod.rs crates/node/src/protocol.rs
tzemanovic Jun 5, 2024
9ec5a67
mv crates/namada/src/ledger/native_vp/mod.rs crates/vp/src/native_vp.rs
tzemanovic Jun 5, 2024
701e54d
mv crates/vm/src/prefix_iter.rs crates/state/src/
tzemanovic Jun 5, 2024
cb92a41
mv wasm cache access trait and impls into core
tzemanovic Jun 5, 2024
f07fc29
replace state dep on parameters with DI
tzemanovic Jun 6, 2024
697a8c4
mv crates/namada/src/ledger/governance/ crates/governance/src/vp/
tzemanovic Jun 6, 2024
bd7d1e7
governance: fix VP post move
tzemanovic Jun 11, 2024
21514ee
mv crates/namada/src/ledger/native_vp/ethereum_bridge crates/ethereum…
tzemanovic Jun 12, 2024
7ecf831
ethereum_bridge: fix VPs post move
tzemanovic Jun 12, 2024
29c0a1a
mv crates/namada/src/ledger/native_vp/ibc crates/ibc/src/vp
tzemanovic Jun 12, 2024
7dcae1c
ibc: fix VP post move
tzemanovic Jun 14, 2024
0b7ff6b
mv crates/namada/src/ledger/native_vp/masp.rs crates/shielded_token/s…
tzemanovic Jun 14, 2024
280900a
shielded_token: fix VP post move
tzemanovic Jun 17, 2024
6ec7871
mv crates/namada/src/ledger/native_vp/multitoken.rs crates/trans_toke…
tzemanovic Jun 17, 2024
b6fabdf
trans_token: fix VP post move
tzemanovic Jun 17, 2024
f8a6af4
mv crates/namada/src/ledger/native_vp/parameters.rs crates/parameters…
tzemanovic Jun 17, 2024
41c2ede
parameters: fix VP post move
tzemanovic Jun 17, 2024
22de51c
mv crates/namada/src/ledger/pgf/mod.rs crates/governance/src/vp/pgf.rs
tzemanovic Jun 17, 2024
82042a3
gov/pgf: fix VP post move
tzemanovic Jun 17, 2024
6378391
mv crates/namada/src/ledger/pos/vp.rs crates/proof_of_stake/src/vp.rs
tzemanovic Jun 17, 2024
764ca00
proof_of_stake: fix VP post move
tzemanovic Jun 17, 2024
343786f
namada: remove moved modules
tzemanovic Jun 17, 2024
306e25f
mv crates/namada/src/ledger/mod.rs crates/node/src/dry_run_tx.rs
tzemanovic Jun 17, 2024
cff91fc
rm -r crates/namada
tzemanovic Jun 17, 2024
0e685f5
vm + vp: add common crate attrs
tzemanovic Jun 17, 2024
28b38c4
remove all dependencies on namada crate
tzemanovic Jun 17, 2024
50a9522
node: export dry_run_tx fn
tzemanovic Jun 17, 2024
cc56273
mv crates/sdk/src/control_flow/ crates/core/src/
tzemanovic Jun 21, 2024
32ed67f
core: fix and feature guard control_flow after move from sdk
tzemanovic Jun 21, 2024
03c43ba
sdk: add native VPs with filled-in concrete system types
tzemanovic Jun 21, 2024
3238624
fix everything that was depending on rm'd namada crate
tzemanovic Jun 21, 2024
2895668
wasm/Make: run clippy with `--all-targets`
tzemanovic Jul 5, 2024
7bdd949
shielded_token/vp: replace IBC dep with DI
tzemanovic Jul 8, 2024
05992de
make check-crates: replace hard-coded args with the global list
tzemanovic Jul 26, 2024
1154023
changelog: add #3402
tzemanovic Jun 27, 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Added two new crates, namada_vm and namada_vp and removed namada crate that
contained various loosely related code. Moved the native VP implementations
to the relevant crates and replaced their cross-dependencies with dependency-
injection. ([\#3402](https://github.com/anoma/namada/pull/3402))
Loading