osmosis-labs / isotonic

Smart Contracts for the Lendex Protocol
MIT License
1 stars 0 forks source link

Market: Add multitests for sudo messages #93

Closed ueco-jb closed 2 years ago

ueco-jb commented 2 years ago

I'm currently unable to test sudo messages in multitest without bindings, which will be added in another task. I'll create an issue as follow-up to add proper tests after bindings are done.

Originally posted by @ueco-jb in https://github.com/confio/isotonic/issues/90#issuecomment-1058125395

Blocked by https://github.com/confio/isotonic/issues/84

ueco-jb commented 2 years ago

Same goes for those changes: https://github.com/confio/isotonic/pull/96

BirgitPohl commented 2 years ago

Blocked because: We don't yet have cosmos integration point to osmosis blockchain. Help from @ethanfrey We would like to know the status. Any updates?

ethanfrey commented 2 years ago

This should not be blocked.

The Osmosis integration points I will work on are CosmosMsg::Custom and QueryRequest::Custom.

The sudo messages are not tied to the chain (like in Tgrade) and can be anything. They can be defined different for every contract and freely like ExecuteMsg. We just use SudoMsg to ensure they are approved by some Go module (like gov) not directly from a transaction.