scrtlabs / secret.js

The JavaScript SDK for Secret Network
https://secretjs.scrt.network
MIT License
74 stars 36 forks source link

Ibc switch #143

Closed eshelB closed 1 year ago

eshelB commented 1 year ago

Added: ibc-switch middleware Transfer Stack ✓ Failed attempt to turn off switch - still on (33304 ms) ✓ switch turned off (462 ms) Compute Stack ✓ switch turned off (1442 ms) ✓ switch turned back on (15951 ms)

for the ibc.tests, and: query.ibc_switch ✓ params() (12 ms) tx.ibc_switch ✓ MsgToggleIbcSwitch ErrUnauthorizedToggle - address empty in module's params (256 ms) ✓ MsgToggleIbcSwitch (15724 ms) ✓ MsgToggleIbcSwitch ErrUnauthorizedToggle - address different in module params (307 ms)

for the regular tests.

To see it work, you need to build localsecret from the ibc-switch branch, and make sure that's what the compose script uses. (and also some cool util functions)

assafmo commented 1 year ago

Closed for #145