mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00

* [tests] Avoid potential data races * Revert "[lib] Switch from RPC (REST) to gRPC (#183)" This reverts commit db5f4fb3fe6899bcfdadf3471f826a6a97035440. * [lib] DRY: Use build and broadcast tx from cosmos-sdk This is in preparation for: https://github.com/rddl-network/issues/issues/46 Without this patch broadcasting a transaction in "offline mode" (setting the sequence number manually) would not work consistently. Every so often the endpoint would report back, that it got an unexpected sequence number. Executing the request with the same sequence number couple of seconds later would be successful. I decided to better use the same source code, that the CLI uses, because I know that offline mode works there. Signed-off-by: Julian Strobl <jmastr@mailbox.org>