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

Test if a developer on Osmosis can send an inference request to Warden via IBC #1064

Open
warden-dev1 opened this issue Nov 12, 2024 · 1 comment

Comments

@warden-dev1
Copy link

Objective:
Test if a developer on Osmosis can send an inference request to Warden via IBC, and retrieve the processed inference result.

Steps:

  • Set Up Test Environments:
  • Osmosis: Use a testnet or mainnet Osmosis account with IBC enabled.
  • Warden: Ensure Warden is set up to receive IBC transactions and process inference requests.
  • Deploy Inference Contract on Warden:
  • Deploy a smart contract on Warden with an inference_request function.
  • The function should accept input data, trigger inference, and store/return the result.
  • Send Inference Request from Osmosis to Warden:
  • On Osmosis, create an IBC transaction that calls the inference_request function on Warden with the required parameters (e.g., input data).
  • The message will be routed to Warden via IBC.
  • Process the Inference on Warden:
  • Warden processes the inference request and stores the result in the smart contract.
  • Fetch the Inference Result:
  • Query the result from Warden via another IBC transaction or callback mechanism, once the inference is processed.

Key Points:
Ensure that the IBC message is routed successfully from Osmosis to Warden.
Verify that the inference result is correctly returned after processing on Warden.

Success Criteria:
The inference request is sent from Osmosis, processed by Warden, and the result is fetched back via IBC.

@mn13
Copy link
Contributor

mn13 commented Dec 27, 2024

IBC allow to do it, but

  1. It's slow
  2. It's takes fees from user on both chains
  3. We do not have IBC channels on Chiado now

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

No branches or pull requests

2 participants