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 0.30.1 #2392

Closed
wants to merge 164 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
164 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
8ca695b
Refactored the validation of shielded transaction transparent outputs…
murisi Jan 9, 2024
ff58b5f
Reduce the amount of decoding and encoding of AssetTypes.
murisi Jan 9, 2024
29a8484
Removed now redundant operations on MaspAmount.
murisi Jan 10, 2024
238d52a
Redefined MaspAmount using the ValueSum type from the MASP crate.
murisi Jan 10, 2024
ac41779
Stop creating redundant transaction descriptors.
murisi Jan 11, 2024
95937c1
Use a note only if theres a shortfall and it would help close it.
murisi Jan 11, 2024
d204c0d
Allow notes containing older epochs to be spent.
murisi Jan 11, 2024
e9207cc
Shielded balance printing now includes trace assets.
murisi Jan 12, 2024
45d9dd3
Improve the handling of trace amounts during conversions of assets to…
murisi Jan 12, 2024
cf2a89e
Fixed the printing of shielded balance for specific token across users.
murisi Jan 12, 2024
6986c12
Refactors `wrapper_fee_check`
grarco Jan 12, 2024
cdf7597
Unified the functions that construct AssetType to ensure encoding con…
murisi Jan 12, 2024
3c651f2
Moves validation methods to functions
grarco Jan 12, 2024
58a13d3
Changelog #2382
grarco Jan 12, 2024
3693913
Expect a proposed block to always carry a valid timestamp
grarco Jan 12, 2024
dfa0870
Changelog #2383
grarco Jan 12, 2024
c2ceda6
Added changelog entry.
murisi Jan 12, 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
64b0f47
move most sub-crates into crates dir
tzemanovic Jan 12, 2024
43e5ed0
fix relative paths
tzemanovic Jan 12, 2024
16a9f72
changelog: add #2386
tzemanovic Jan 12, 2024
6c7081b
Adds block timestamp in unit and integration tests
grarco Jan 12, 2024
9a346cb
Added support for non-timestamped assets.
murisi Jan 12, 2024
c16a2bc
Sets gas sentinel in `ibc_tx_charge_gas`
grarco Jan 15, 2024
1080905
Changelog #2395
grarco Jan 15, 2024
425bab5
empty commit
brentstone Jan 13, 2024
2f29c3b
added total supply router/rpc method
Jan 15, 2024
94e31e3
add wait before balance check
yito88 Jan 15, 2024
7a031cc
add change log
yito88 Jan 15, 2024
5d8ed90
Prevent the backdating of transparent inputs. Be more liberal and all…
murisi Jan 15, 2024
c3cd932
added proposal result query to sdk, refactor
Jan 15, 2024
00d591e
Merge branch 'murisi/masp-fixes' (#2371)
tzemanovic Jan 16, 2024
2063358
fixup! Merge branch 'murisi/masp-fixes' (#2371)
tzemanovic Jan 12, 2024
8aa6639
fixup! Merge branch 'murisi/masp-fixes' (#2371)
tzemanovic Jan 12, 2024
a8930fc
Merge branch 'tomas+tiago/modularization' (#2312)
tzemanovic Jan 16, 2024
14b80a0
fixup! Merge branch 'tomas+tiago/modularization' (#2312)
tzemanovic Jan 16, 2024
6f81be4
git: ignore the old proto artifact
tzemanovic Jan 16, 2024
5e66c0b
`mv crates/shared crates/namada` and update paths
tzemanovic Jan 16, 2024
c90ac1c
added pgf parameters rpc
Jan 16, 2024
c5f8ff0
Merge branch 'tomas/crates-dir' (#2386)
tzemanovic Jan 16, 2024
b4f5915
Merge branch 'grarco/comet-timestamp' (#2383)
tzemanovic Jan 16, 2024
50911fe
Merge branch 'grarco/gas-sentinel-fix' (#2395)
tzemanovic Jan 16, 2024
bdac53c
Merge branch 'yuji/fix-e2e-pgf-ibc' (#2398)
tzemanovic Jan 16, 2024
2a2def9
Merge branch 'grarco/fee-rafactor' (#2382)
tzemanovic Jan 16, 2024
732bbb6
fixup! Merge branch 'grarco/fee-rafactor' (#2382)
tzemanovic Jan 16, 2024
77936d8
Merge branch 'fraccaman/sdk-rpc-queries' (#2400)
tzemanovic Jan 16, 2024
eefe4c0
fixup! Merge branch 'fraccaman/sdk-rpc-queries' (#2400)
tzemanovic Jan 16, 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))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/2371-masp-fixes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Strengthened the checks in the MASP VP. Allow viewing and spending of
unconvertible MASP notes ([\#2371](https://github.com/anoma/namada/pull/2371))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/2382-fee-refactor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Refactored the fee validation process.
([\#2382](https://github.com/anoma/namada/pull/2382))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/2383-comet-timestamp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Updated block validation to require a valid timestamp.
([\#2383](https://github.com/anoma/namada/pull/2383))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/2386-crates-dir.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Moved Rust crates into a crates sub-dir.
([\#2386](https://github.com/anoma/namada/pull/2386))
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/2395-gas-sentinel-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Ibc transactions can be rewrapped in case of a gas error.
([\#2395](https://github.com/anoma/namada/pull/2395))
2 changes: 2 additions & 0 deletions .changelog/unreleased/testing/2398-fix-e2e-pgf-ibc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix E2E test for PGF over IBC by waiting before checking the balance
([\#2398](https://github.com/anoma/namada/issues/2398))
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ target/
wasm/*.wasm

# app version string file
/apps/version.rs
/crates/apps/version.rs

# Hidden to stop from re-appearing. Moved to `tx/src/proto/generated/types.rs`.
core/src/proto/generated/types.rs
Loading
Loading