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

Modularization: core refactors #2312

Merged
merged 118 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
dad7b63
create trans_token crate from storage_api/token mod
tzemanovic Dec 15, 2023
d2e240e
trans_token: add storage_key and move relevant fns from core
tzemanovic Dec 15, 2023
0ee2f6d
move core token storage reads to trans_token::storage
tzemanovic Dec 15, 2023
b103c27
core: replace token type import
tzemanovic Dec 15, 2023
1520ad5
core: separate gov code into `namada_governance` crate
tzemanovic Dec 15, 2023
74843e1
governance: update import paths
tzemanovic Dec 15, 2023
c39544a
core: move pgf into namada_governance
tzemanovic Dec 15, 2023
5d0c3b1
gov: join pgf storage mods
tzemanovic Dec 15, 2023
c800630
add namada_ibc crate
tzemanovic Dec 15, 2023
4cd888a
core: make namada_shielded_token crate out of masp mods
tzemanovic Dec 15, 2023
cc0b7ea
shielded_token: move ConversionState into core::types::token
tzemanovic Dec 15, 2023
31e8b84
move some governance types back into core
tzemanovic Dec 15, 2023
0562841
core: move eth_bridge storage mods to ethereum_bridge crate
tzemanovic Dec 15, 2023
ee76120
core: move merkle_tree into namada_merkle_tree crate
tzemanovic Dec 15, 2023
a469ad6
core: add namada_storage crate out of ledger::storage
tzemanovic Dec 15, 2023
566fa6d
core: add namada_parameters crate out of ledger::parameters
tzemanovic Dec 15, 2023
1e04b0f
parameters: fix imports
tzemanovic Dec 15, 2023
642a4e4
core: move `validate_tx_bytes` into parameters crate
tzemanovic Dec 15, 2023
3686e56
core: move ledger::gas into new namada_gas crate
tzemanovic Dec 15, 2023
dbef2de
gas: fix imports
tzemanovic Dec 15, 2023
94d1ba9
core: move proto and into namada_tx crate
tzemanovic Dec 15, 2023
20de0b7
update lock
tzemanovic Dec 15, 2023
a4490d4
core: move types::transaction mods into namada_tx::data
tzemanovic Dec 18, 2023
5ef1d70
core: make vp_env crate out of ledger::vp_env mod
tzemanovic Dec 18, 2023
6395320
add namada_storage crate out of core::ledger::storage_api
tzemanovic Dec 18, 2023
29a1704
add namada_tx_env out of core::ledger::tx_env mod
tzemanovic Dec 18, 2023
46fbd33
tx_env: update imports
tzemanovic Dec 18, 2023
ff40cb5
move core::types::internal::tx into namada_state::tx_queue
tzemanovic Dec 18, 2023
a77ccd0
add namada_account crate from namada_core::types::account
tzemanovic Dec 19, 2023
9882727
namada_account: fix imports, update docstring
tzemanovic Dec 19, 2023
069fbe3
namada_account: take account keys storage from namada_core::types::key
tzemanovic Dec 19, 2023
be9739b
move state::traits hasher into core::types::hash
tzemanovic Dec 19, 2023
c3c0533
core/types/key: remove unused error case
tzemanovic Dec 19, 2023
bd5b6d9
move EvalVp from core into tx::data::eval_vp
tzemanovic Dec 19, 2023
a146bf3
move core MembershipProof into merkle_tree crate
tzemanovic Dec 19, 2023
ea0a55a
move core::types::vote_extensions into namada_vote_ext crate
tzemanovic Dec 19, 2023
4fbd002
core/types/internal: remove unsued import
tzemanovic Dec 19, 2023
c3d4e4f
move ERC20 address constructors back to core
tzemanovic Dec 19, 2023
1aeb9a3
trans_token: fix build
tzemanovic Dec 19, 2023
dfae90a
move account related code from namada_storage to namada_account
tzemanovic Dec 20, 2023
84a91b6
core: re-export borsh
tzemanovic Dec 20, 2023
58b7066
storage: fix build
tzemanovic Dec 20, 2023
7ab93dd
move collection validation helpers from storage to vp_env
tzemanovic Dec 20, 2023
a097b72
mv proto symlink to namada_tx
tzemanovic Dec 20, 2023
a81a3ad
move collection validation helpers into vp_env crate
tzemanovic Dec 20, 2023
f6f4333
parameters: fix build
tzemanovic Dec 20, 2023
2c31e10
gas: fix build
tzemanovic Dec 20, 2023
ff9455a
move vote_ext tx data types from tx to vote_ext crate
tzemanovic Dec 20, 2023
7a3edd1
tx: wip fix build
tzemanovic Dec 20, 2023
cf34075
trans_token: fix build
tzemanovic Dec 20, 2023
795be98
macros: use full paths types used in `derive(StorageKeys)`
tzemanovic Dec 20, 2023
58a17fa
account: fix build
tzemanovic Dec 20, 2023
3c4e9d4
governance: fix build
tzemanovic Dec 20, 2023
b8cecab
move ics23_specs from state into merkle_tree
tzemanovic Dec 20, 2023
0bba4e4
proof_of_stake: wip fix build
tzemanovic Dec 21, 2023
d8df896
merkle_tree: wip fix build
tzemanovic Dec 21, 2023
baa5406
rebase fixes
tzemanovic Dec 21, 2023
f247a0c
proof_of_stake: fix build
tzemanovic Dec 21, 2023
2f23aad
storage: refactor new fns in StorageRead using pred `Epochs`
tzemanovic Dec 22, 2023
a7e806a
vote_ext: fix build
tzemanovic Dec 27, 2023
9b2cd95
merkle_tree: fix build
tzemanovic Dec 28, 2023
5181122
state: fix build
tzemanovic Dec 28, 2023
ac516d9
ethereum_bridge: use the original name for wrapped erc20s
tzemanovic Dec 28, 2023
6b629ef
ethereum_bridge: fix build
tzemanovic Jan 2, 2024
996881f
ibc: fix build
tzemanovic Jan 3, 2024
6f1aedb
tx_env: fix build
tzemanovic Jan 3, 2024
6ed7ff7
shielded_token: fix build
tzemanovic Jan 3, 2024
cdb2e5e
tx_prelude: fix build
tzemanovic Jan 3, 2024
b80571f
vp_prelude: fix build
tzemanovic Jan 3, 2024
c566486
add namada_token crate
tzemanovic Jan 3, 2024
38c842d
0.29 rebase fixes
tzemanovic Jan 3, 2024
ed3736f
token: add common `write_params` fn
tzemanovic Jan 3, 2024
ee4c992
sdk: fix build
tzemanovic Jan 3, 2024
735656c
wasm: fix build
tzemanovic Jan 4, 2024
22a5ef8
shared: fix build
tzemanovic Jan 4, 2024
e10e2ca
apps: fix build
tzemanovic Jan 4, 2024
c3183fe
encoding_spec: fix build
tzemanovic Jan 5, 2024
25637bd
light_sdk: fix build
tzemanovic Jan 5, 2024
eb146ce
wasm_for_tests: fix build
tzemanovic Jan 5, 2024
37e20ff
wasm: update lock file
tzemanovic Jan 5, 2024
2ed6636
core: fix tests
tzemanovic Jan 5, 2024
6afb169
move types, trait DB and MockDB impl from state to storage
tzemanovic Jan 5, 2024
2b0f77b
storage: fix tests
tzemanovic Jan 5, 2024
56977bf
rename struct Storage to State
tzemanovic Jan 5, 2024
781496f
merkle_tree: fix tests
tzemanovic Jan 5, 2024
6214829
gas: fix tests
tzemanovic Jan 5, 2024
25f4593
tx: fix tests
tzemanovic Jan 5, 2024
51b8d42
vote_ext: fix tests
tzemanovic Jan 5, 2024
5510672
account: fix tests
tzemanovic Jan 5, 2024
1e01a89
parameters: fix warning
tzemanovic Jan 5, 2024
399193e
state: fix tests
tzemanovic Jan 5, 2024
c98e9e4
shielded_token: fix tests
tzemanovic Jan 5, 2024
47580b2
proof_of_stake: fix tests
tzemanovic Jan 8, 2024
ca4e242
ethereum_bridge: fix tests
tzemanovic Jan 8, 2024
2d91fa4
ibc: fix tests
tzemanovic Jan 8, 2024
c42917f
sdk: fix tests
tzemanovic Jan 8, 2024
94ff8a8
shared: fix tests
tzemanovic Jan 8, 2024
41c176d
tidy up feature flags to avoid wasm-bindgen in wasm crates
tzemanovic Jan 8, 2024
9539587
rm ethereum_bridge dep from tx_prelude
tzemanovic Jan 8, 2024
653fd18
make -C wasm_for_tests
tzemanovic Jan 8, 2024
0fbf42f
apps: fix tests
tzemanovic Jan 8, 2024
05adcfb
benches: fix build
tzemanovic Jan 8, 2024
eb454ce
tests: fix build
tzemanovic Jan 8, 2024
38570bb
various fixes
tzemanovic Jan 8, 2024
f99eacb
ethereum_bridge: fix build with "testing" feature
tzemanovic Jan 8, 2024
f980dbe
fix shared/sdk build without rand
tzemanovic Jan 8, 2024
f0f8c7f
wasm: fix tests
tzemanovic Jan 8, 2024
a22001f
fix TxGasMeter construction from GasLimit
tzemanovic Jan 9, 2024
f9340f6
fix the shell test_queries
tzemanovic Jan 9, 2024
baa1d01
macros: fix tests
tzemanovic Jan 9, 2024
5124762
fix rustdocs
tzemanovic Jan 9, 2024
37fe7b6
vm_env: add `tx_get_pred_epoch` impl
tzemanovic Jan 10, 2024
4101ec0
fix `get_current_decision_height` by moving it to WlStorage
tzemanovic Jan 10, 2024
518358a
undo reintroduced typos
tzemanovic Jan 10, 2024
299dfb9
fix masp storage key regression
tzemanovic Jan 11, 2024
721fef1
pos_queries: remove unused methods
tzemanovic Jan 11, 2024
d6bc44b
add impl for VP get_pred_epochs
tzemanovic Jan 12, 2024
21eddea
changelog: add #2312
tzemanovic Jan 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Refactored the core crate into many smaller crates.
([\#2312](https://github.com/anoma/namada/pull/2312))
Loading
Loading