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
It would be worth spending some time investigating an alternative.
I see it as a bad idea to implement this and #3311, #3310
Messages are a lot of LoC and we shouldn't bring more in the codebase that is already complex for the sake of simulation. Same as you don't add more method in the public API of a Go package to help with tests.
We should check if there are way to extend the simulation framework to run eth txs or smth else
The logic to Lock a ZRC20 through a precomipile is present here
https://github.com/zeta-chain/zeta-node/blob/5fd8314fa090009cc968a4227c9e79f861a102cb/precompiles/bank/method_deposit.go#L62-L110
This can be extracted to a MsgDepositZRC20
The MsgDepositZRC20 can be then called from the precompile using the fungible keeper
Expected Outcomes
The text was updated successfully, but these errors were encountered: