Change the env TXFLAG variable -b flag from block to sync
Closed this issue · 0 comments
If you want to report a security issue, please follow our security policy: https://github.com/White-Whale-Defi-Platform/migaloo-core/blob/main/SECURITY.md
Improvement description
Most of the cosmos chains have deprecated the block
flag when executing transactions, which breaks a bunch of WW scripts.
The scripts used to send transactions, read the tx results for certain params to continue with the script execution. That doesn't work now as the flag sync
returns a tx hash instead.
We need to fix the scripts so that they take the tx hash returned in the sync
flag, query it and then pick the params from there, emulating the past behavior.
This applies to everything within the scripts
folder.
Additional context
Add any other context here, code snippets, json responses, screenshots and so on.
Code sample
Logs
Screenshots