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

Cosmwasm multi-send example is not working #27

Open
Adw8 opened this issue Apr 15, 2024 · 0 comments
Open

Cosmwasm multi-send example is not working #27

Adw8 opened this issue Apr 15, 2024 · 0 comments

Comments

@Adw8
Copy link

Adw8 commented Apr 15, 2024

I'm trying to execute the multi-send example to transfer aUSDC tokens from Avalanche to Osmosis testnets.

I was able to deploy the contract on Avalanche and on running interact.js and the transaction seems to be successful on Axelarscan, but I can't see the tokens on my Osmosis account.

  • There is a destContract that is hardcoded in interact.js with the value osmo1956rjtkm4rh3ncsh5cx0u8552sx80z9ppwmnmucccz3mhs0pglus4rgm8u.

  • Looking up the contract on Mintscan there are no transactions available

  • Using the osmosis cli to verify this contract gives the following output:

$ osmosisd query wasm contract osmo1956rjtkm4rh3ncsh5cx0u8552sx80z9ppwmnmucccz3mhs0pglus4rgm8u
Error: rpc error: code = Unknown desc = address osmo1956rjtkm4rh3ncsh5cx0u8552sx80z9ppwmnmucccz3mhs0pglus4rgm8u: no such contract: unknown request

  • In contrast, Verifying the deployed contract used for send-receive gives the following output:
$ osmosisd query wasm contract osmo12uds53qp285w68vzq9wx5kjjfj0evvsy7k0e2srx9mchj29h7urq3rtuuc
address: osmo12uds53qp285w68vzq9wx5kjjfj0evvsy7k0e2srx9mchj29h7urq3rtuuc
contract_info:
  admin: ""
  code_id: "484"
  created:
    block_height: "958857"
    tx_index: "2740649"
  creator: osmo1s4nks5kh2w8ykfcrav5865q78zc2u9dtgyq9jz
  extension: null
  ibc_port_id: ""
  label: send_receive


Where is this destContract coming from? Is there a way I can deploy a Cosmwasm contract on my own?

I also had to change the destChain from osmosis-5 to osmosis-7, As the transaction was failing if I didn't do so.

Would appreciate any help, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant