onomyprotocol / arc

Arc moves assets cross-chain to and from integrated blockchains.
Apache License 2.0
3 stars 10 forks source link

In case of RPC error sendToCosmos client prints INFO instead of an error. #55

Closed dzmitryhil closed 2 years ago

dzmitryhil commented 2 years ago

In case of RPC error sendToCosmos client prints INFO instead of an error. And say "Your tokens should show up in the account" which is a lie.

[2022-02-22T11:05:27Z INFO  gbt::client::eth_to_cosmos] Sending 10000000000000000000 / 0xFab46E002BbF0b4509813474841E0716E6730136 to Cosmos from 0x2d9480eBA3A001033a0B8c3Df26039FD3433D55d to onomy104n3g00hms7kycg54jml24s84jjt9s2agq6r07
[2022-02-22T11:05:32Z INFO  gbt::client::eth_to_cosmos] Failed to send tokens! RpcError(JsonRpcError { code: -32000, message: "replacement transaction underpriced", data: "None" })
[2022-02-22T11:05:32Z INFO  gbt::client::eth_to_cosmos] Your tokens should show up in the account onomy104n3g00hms7kycg54jml24s84jjt9s2agq6r07 on Gravity Bridge within 5 minutes