Skip to content

Commit

Permalink
Updated the Namada SDK dependency and adjusted denominations.
Browse files Browse the repository at this point in the history
  • Loading branch information
murisi committed Jun 12, 2024
1 parent 26c73b8 commit 1d21e3b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
46 changes: 23 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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", version = "0.39.0" }
namada_parameters = { git = "https://github.com/anoma/namada", version = "0.39.0" }
namada_sdk = { git = "https://github.com/anoma/namada", version = "0.39.0" }
namada_token = { git = "https://github.com/anoma/namada", version = "0.39.0" }
namada_ibc = { git = "https://github.com/anoma/namada", branch = "murisi/masp-ibc-replay-protection-using-txdata-on-0.39.0" }
namada_parameters = { git = "https://github.com/anoma/namada", branch = "murisi/masp-ibc-replay-protection-using-txdata-on-0.39.0" }
namada_sdk = { git = "https://github.com/anoma/namada", branch = "murisi/masp-ibc-replay-protection-using-txdata-on-0.39.0" }
namada_token = { git = "https://github.com/anoma/namada", branch = "murisi/masp-ibc-replay-protection-using-txdata-on-0.39.0" }

# Other dependencies
abscissa_core = "=0.6.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/relayer/src/chain/namada/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ impl NamadaChain {

if let Some((receiver, token, amount)) = transfer {
self.rt.block_on(self.shielded_sync())?;
let amount = InputAmount::Unvalidated(
let amount = InputAmount::Validated(
amount
.parse()
.map_err(|e| Error::send_tx(format!("invalid amount: {e}")))?,
Expand Down

0 comments on commit 1d21e3b

Please sign in to comment.