You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To send coin to contract use Send function of Bank module without any other related modules. And the way to restrict the inactive contract recipient is to add to blockedAddrs of bankmodule. But this blockedAddrs is just used to restrict to send some module. So, it is not proper in this case.
Is there any way to add this issue without modify bank module?
Summary
Even If a contract is inactive, coin transfer is possible. It should not be remitted.
https://github.com/line/lbm-sdk/blob/a58c60d1110239c77616e22b5702f0646ccb3b76/x/wasm/keeper/keeper.go#L1014-L1026
The text was updated successfully, but these errors were encountered: