From 8c94a44d27a5cf056b405c640c2dcff119fe7929 Mon Sep 17 00:00:00 2001 From: yito88 Date: Wed, 5 Jun 2024 10:26:27 +0200 Subject: [PATCH] Namada 0.39 draft --- Cargo.lock | 120 +++++++++++++++++++++++------------------------------ Cargo.toml | 8 ++-- 2 files changed, 56 insertions(+), 72 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5531ed12d8..5dcd104503 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3801,7 +3801,7 @@ checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" [[package]] name = "masp_note_encryption" version = "1.0.0" -source = "git+https://github.com/anoma/masp?rev=3aacc707c5948e7423589ac617305448bead9842#3aacc707c5948e7423589ac617305448bead9842" +source = "git+https://github.com/anoma/masp?rev=4ede1c42d76d6348af8224bc8bfac4404321fe82#4ede1c42d76d6348af8224bc8bfac4404321fe82" dependencies = [ "borsh 1.5.0", "chacha20", @@ -3814,7 +3814,7 @@ dependencies = [ [[package]] name = "masp_primitives" version = "1.0.0" -source = "git+https://github.com/anoma/masp?rev=3aacc707c5948e7423589ac617305448bead9842#3aacc707c5948e7423589ac617305448bead9842" +source = "git+https://github.com/anoma/masp?rev=4ede1c42d76d6348af8224bc8bfac4404321fe82#4ede1c42d76d6348af8224bc8bfac4404321fe82" dependencies = [ "aes", "bip0039", @@ -3845,7 +3845,7 @@ dependencies = [ [[package]] name = "masp_proofs" version = "1.0.0" -source = "git+https://github.com/anoma/masp?rev=3aacc707c5948e7423589ac617305448bead9842#3aacc707c5948e7423589ac617305448bead9842" +source = "git+https://github.com/anoma/masp?rev=4ede1c42d76d6348af8224bc8bfac4404321fe82#4ede1c42d76d6348af8224bc8bfac4404321fe82" dependencies = [ "bellman", "blake2b_simd", @@ -3973,8 +3973,8 @@ checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03" [[package]] name = "namada_account" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "borsh 1.5.0", "linkme", @@ -3987,8 +3987,8 @@ dependencies = [ [[package]] name = "namada_controller" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "namada_core", "smooth-operator", @@ -3997,8 +3997,8 @@ dependencies = [ [[package]] name = "namada_core" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "bech32 0.8.1", "borsh 1.5.0", @@ -4044,11 +4044,10 @@ dependencies = [ [[package]] name = "namada_ethereum_bridge" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "borsh 1.5.0", - "ethabi", "ethers", "eyre", "itertools 0.12.1", @@ -4065,19 +4064,15 @@ dependencies = [ "namada_trans_token", "namada_tx", "namada_vote_ext", - "rand 0.8.5", "serde", - "serde_json", - "tendermint", - "tendermint-proto", "thiserror", "tracing", ] [[package]] name = "namada_events" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "borsh 1.5.0", "linkme", @@ -4092,8 +4087,8 @@ dependencies = [ [[package]] name = "namada_gas" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "borsh 1.5.0", "linkme", @@ -4107,8 +4102,8 @@ dependencies = [ [[package]] name = "namada_governance" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "borsh 1.5.0", "itertools 0.12.1", @@ -4130,8 +4125,8 @@ dependencies = [ [[package]] name = "namada_ibc" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "borsh 1.5.0", "ibc", @@ -4141,14 +4136,12 @@ dependencies = [ "masp_primitives", "namada_core", "namada_events", - "namada_gas", "namada_governance", "namada_macros", "namada_parameters", "namada_state", "namada_storage", "namada_token", - "namada_tx", "primitive-types", "prost", "serde", @@ -4160,8 +4153,8 @@ dependencies = [ [[package]] name = "namada_macros" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "data-encoding", "proc-macro2", @@ -4172,8 +4165,8 @@ dependencies = [ [[package]] name = "namada_merkle_tree" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "borsh 1.5.0", "eyre", @@ -4187,8 +4180,8 @@ dependencies = [ [[package]] name = "namada_migrations" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "lazy_static", "linkme", @@ -4197,10 +4190,9 @@ dependencies = [ [[package]] name = "namada_parameters" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ - "borsh 1.5.0", "namada_core", "namada_macros", "namada_storage", @@ -4209,11 +4201,10 @@ dependencies = [ [[package]] name = "namada_proof_of_stake" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "borsh 1.5.0", - "data-encoding", "konst", "linkme", "namada_account", @@ -4226,7 +4217,6 @@ dependencies = [ "namada_parameters", "namada_storage", "namada_trans_token", - "num-traits 0.2.18", "once_cell", "serde", "smooth-operator", @@ -4236,16 +4226,16 @@ dependencies = [ [[package]] name = "namada_replay_protection" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "namada_core", ] [[package]] name = "namada_sdk" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "async-trait", "bimap", @@ -4297,7 +4287,6 @@ dependencies = [ "sha2 0.9.9", "slip10_ed25519", "smooth-operator", - "tendermint-config", "tendermint-rpc", "thiserror", "tiny-bip39 0.8.2", @@ -4311,8 +4300,8 @@ dependencies = [ [[package]] name = "namada_shielded_token" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "borsh 1.5.0", "masp_primitives", @@ -4321,7 +4310,6 @@ dependencies = [ "namada_parameters", "namada_storage", "namada_trans_token", - "namada_tx", "serde", "smooth-operator", "tracing", @@ -4329,11 +4317,10 @@ dependencies = [ [[package]] name = "namada_state" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "borsh 1.5.0", - "ics23", "itertools 0.12.1", "linkme", "namada_core", @@ -4347,18 +4334,15 @@ dependencies = [ "namada_storage", "namada_tx", "patricia_tree", - "sha2 0.9.9", "smooth-operator", - "sparse-merkle-tree", "thiserror", - "tiny-keccak", "tracing", ] [[package]] name = "namada_storage" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "borsh 1.5.0", "itertools 0.12.1", @@ -4377,10 +4361,10 @@ dependencies = [ [[package]] name = "namada_token" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ - "borsh 1.2.1", + "borsh 1.5.0", "namada_core", "namada_events", "namada_macros", @@ -4392,8 +4376,8 @@ dependencies = [ [[package]] name = "namada_trans_token" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "konst", "namada_core", @@ -4403,8 +4387,8 @@ dependencies = [ [[package]] name = "namada_tx" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "ark-bls12-381", "bitflags 2.5.0", @@ -4431,8 +4415,8 @@ dependencies = [ [[package]] name = "namada_vote_ext" -version = "0.37.0" -source = "git+https://github.com/anoma/namada?rev=a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6#a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" +version = "0.38.1" +source = "git+https://github.com/anoma/namada?rev=eb8783d118c832923bd728144092de4e4231da72#eb8783d118c832923bd728144092de4e4231da72" dependencies = [ "borsh 1.5.0", "linkme", @@ -6352,16 +6336,16 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smooth-operator" -version = "0.6.0" -source = "git+https://github.com/heliaxdev/smooth-operator?tag=v0.6.0#1e9e2382dd6c053f54418db836f7f03143fcd2f3" +version = "0.7.0" +source = "git+https://github.com/heliaxdev/smooth-operator?tag=v0.7.0#0e182707f5e5bb9c6e0efa2d235dc9efd715d0a1" dependencies = [ "smooth-operator-impl", ] [[package]] name = "smooth-operator-impl" -version = "0.6.0" -source = "git+https://github.com/heliaxdev/smooth-operator?tag=v0.6.0#1e9e2382dd6c053f54418db836f7f03143fcd2f3" +version = "0.7.0" +source = "git+https://github.com/heliaxdev/smooth-operator?tag=v0.7.0#0e182707f5e5bb9c6e0efa2d235dc9efd715d0a1" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 6bd4f2bb18..e57d1e9624 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,10 +39,10 @@ tendermint-rpc = { version = "0.36.0" } tendermint-testgen = { version = "0.36.0" } # Namada dependencies -namada_ibc = { git = "https://github.com/anoma/namada", rev = "a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" } -namada_parameters = { git = "https://github.com/anoma/namada", rev = "a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" } -namada_sdk = { git = "https://github.com/anoma/namada", rev = "a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" } -namada_token = { git = "https://github.com/anoma/namada", rev = "a0e2e6c09e4d7a2ee6b3114b6ba6560204d722a6" } +namada_ibc = { git = "https://github.com/anoma/namada", rev = "eb8783d118c832923bd728144092de4e4231da72" } +namada_parameters = { git = "https://github.com/anoma/namada", rev = "eb8783d118c832923bd728144092de4e4231da72" } +namada_sdk = { git = "https://github.com/anoma/namada", rev = "eb8783d118c832923bd728144092de4e4231da72" } +namada_token = { git = "https://github.com/anoma/namada", rev = "eb8783d118c832923bd728144092de4e4231da72" } # Other dependencies abscissa_core = "=0.6.0"