Skip to content

Commit

Permalink
Merge branch 'tomas+tiago/modularization' (#2312)
Browse files Browse the repository at this point in the history
* origin/tomas+tiago/modularization: (118 commits)
  changelog: add #2312
  add impl for VP get_pred_epochs
  pos_queries: remove unused methods
  fix masp storage key regression
  undo reintroduced typos
  fix `get_current_decision_height` by moving it to WlStorage
  vm_env: add `tx_get_pred_epoch` impl
  fix rustdocs
  macros: fix tests
  fix the shell test_queries
  fix TxGasMeter construction from GasLimit
  wasm: fix tests
  fix shared/sdk build without rand
  ethereum_bridge: fix build with "testing" feature
  various fixes
  tests: fix build
  benches: fix build
  apps: fix tests
  make -C wasm_for_tests
  rm ethereum_bridge dep from tx_prelude
  tidy up feature flags to avoid wasm-bindgen in wasm crates
  shared: fix tests
  sdk: fix tests
  ibc: fix tests
  ethereum_bridge: fix tests
  proof_of_stake: fix tests
  shielded_token: fix tests
  state: fix tests
  parameters: fix warning
  account: fix tests
  vote_ext: fix tests
  tx: fix tests
  gas: fix tests
  merkle_tree: fix tests
  rename struct Storage to State
  storage: fix tests
  move types, trait DB and MockDB impl from state to storage
  core: fix tests
  wasm: update lock file
  wasm_for_tests: fix build
  light_sdk: fix build
  encoding_spec: fix build
  apps: fix build
  shared: fix build
  wasm: fix build
  sdk: fix build
  token: add common `write_params` fn
  0.29 rebase fixes
  add namada_token crate
  vp_prelude: fix build
  tx_prelude: fix build
  shielded_token: fix build
  tx_env: fix build
  ibc: fix build
  ethereum_bridge: fix build
  ethereum_bridge: use the original name for wrapped erc20s
  state: fix build
  merkle_tree: fix build
  vote_ext: fix build
  storage: refactor new fns in StorageRead using pred `Epochs`
  proof_of_stake: fix build
  rebase fixes
  merkle_tree: wip fix build
  proof_of_stake: wip fix build
  move ics23_specs from state into merkle_tree
  governance: fix build
  account: fix build
  macros: use full paths types used in `derive(StorageKeys)`
  trans_token: fix build
  tx: wip fix build
  move vote_ext tx data types from tx to vote_ext crate
  gas: fix build
  parameters: fix build
  move collection validation helpers into vp_env crate
  mv proto symlink to namada_tx
  move collection validation helpers from storage to vp_env
  storage: fix build
  core: re-export borsh
  move account related code from namada_storage to namada_account
  trans_token: fix build
  move ERC20 address constructors back to core
  core/types/internal: remove unsued import
  move core::types::vote_extensions into namada_vote_ext crate
  move core MembershipProof into merkle_tree crate
  move EvalVp from core into tx::data::eval_vp
  core/types/key: remove unused error case
  move state::traits hasher into core::types::hash
  namada_account: take account keys storage from namada_core::types::key
  namada_account: fix imports, update docstring
  add namada_account crate from namada_core::types::account
  move core::types::internal::tx into namada_state::tx_queue
  tx_env: update imports
  add namada_tx_env out of core::ledger::tx_env mod
  add namada_storage crate out of core::ledger::storage_api
  core: make vp_env crate out of ledger::vp_env mod
  core: move types::transaction mods into namada_tx::data
  update lock
  core: move proto and into namada_tx crate
  gas: fix imports
  core: move ledger::gas into new namada_gas crate
  ...
  • Loading branch information
tzemanovic committed Jan 17, 2024
2 parents 8eff8d1 + 21eddea commit a9a3a94
Show file tree
Hide file tree
Showing 344 changed files with 8,753 additions and 7,083 deletions.
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

0 comments on commit a9a3a94

Please sign in to comment.