Skip to content

Commit

Permalink
Merge pull request #31 from neutron-org/feat/ica-register-fee-update
Browse files Browse the repository at this point in the history
make register interchain acc fee optional NTRN-135
  • Loading branch information
pr0n00gler authored Nov 3, 2023
2 parents e864c22 + 1b252b6 commit 7a0c226
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion contracts/neutron_interchain_txs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ serde-json-wasm = { version = "0.5.1" }
cw-storage-plus = { version = "1.1.0", features = ["iterator"]}
cosmos-sdk-proto = { version = "0.16.0", default-features = false }
# neutron-sdk = { package = "neutron-sdk", git = "https://github.com/neutron-org/neutron-sdk", rev = "bb2188561a30d0a7fb293ff05f73907724eb2020" }
neutron-sdk = { package = "neutron-sdk",git = "https://github.com/neutron-org/neutron-sdk.git", rev = "8f8865870b91cb4c072c42934a621572c2634712" }
neutron-sdk = { package = "neutron-sdk",git = "https://github.com/neutron-org/neutron-sdk.git", rev = "7249d5369dc04b189434de0c42d55aad6cbb61ec" }

base64 = "0.21.2"
protobuf = { version = "3.2.0", features = ["with-bytes"] }
Expand Down
2 changes: 1 addition & 1 deletion contracts/neutron_interchain_txs/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ fn execute_register_ica(
let register = NeutronMsg::register_interchain_account(
connection_id,
interchain_account_id.clone(),
register_fee,
Option::from(register_fee),
);
let key = get_port_id(env.contract.address.as_str(), &interchain_account_id);
INTERCHAIN_ACCOUNTS.save(deps.storage, key, &None)?;
Expand Down

0 comments on commit 7a0c226

Please sign in to comment.