Skip to content

fix(cosmos): fix tx broadcasting error#2238

Merged
shamardy merged 6 commits intodevfrom
upgrade-cosmos-dep
Oct 10, 2024
Merged

fix(cosmos): fix tx broadcasting error#2238
shamardy merged 6 commits intodevfrom
upgrade-cosmos-dep

Conversation

@onur-ozkan
Copy link
Copy Markdown

Some nodes do not include deliver_tx in their broadcast_tx_commit responses and cosmrs@14 isn't compatible with that.

This is what we get when KDF invokes broadcast_tx_commit:

"error": "rpc:183] dispatcher_legacy:141] lp_coins:4923] tendermint_coin:2623] serde parse error\n\nCaused by:\n    missing field `deliver_tx` at line 1 column 4639\n\nLocation:\n    ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flex-error-0.4.4/src/tracer_impl/eyre.rs:10:9"

This PR upgrades cosmrs to version 15 along with other required dependency upgrades to fix the broadcast_tx_commit failure.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
@smk762 smk762 self-requested a review October 10, 2024 10:41
smk762
smk762 previously approved these changes Oct 10, 2024
borngraced
borngraced previously approved these changes Oct 10, 2024
@shamardy
Copy link
Copy Markdown
Collaborator

@onur-ozkan can you please fix the conflicts in cargo.lock due to merging the solana removal PR.

@onur-ozkan onur-ozkan dismissed stale reviews from borngraced and smk762 via 35f1dd3 October 10, 2024 16:53
@onur-ozkan
Copy link
Copy Markdown
Author

@onur-ozkan can you please fix the conflicts in cargo.lock due to merging the solana removal PR.

Done.

@shamardy shamardy merged commit 4e8bc50 into dev Oct 10, 2024
@shamardy shamardy deleted the upgrade-cosmos-dep branch October 10, 2024 18:24
onur-ozkan added a commit that referenced this pull request Oct 16, 2024
This commit upgrades cosmrs to version 15 along with other required dependency upgrades to fix the broadcast_tx_commit failure.
dimxy pushed a commit that referenced this pull request Oct 17, 2024
* dev:
  fix(cosmos): fix tx broadcasting error (#2238)
  chore(solana): remove solana implementation (#2239)
  chore(cli): remove leftover subcommands from help message (#2235)
  fix(orders): fix cancel order race condition using time-based cache (#2232)
  fix(legacy-swap): taker failed spend maker payment marked as failed (#2199)
  chore(adex-cli): deprecate adex-cli (#2234)
  feat(new-RPC): connection healthcheck implementation for peers  (#2194)
  fix(proxy-signature): add message lifetime overflows (#2233)
  feat(CI): handle remote files in a safer way (#2217)
  chore(doc): update issue address in README (#2227)
  fix(merge): remove duplicated db_root function (#2229)
  feat(wallets): add `get_wallet_names` rpc (#2202)
  chore(tests): don't use `.wait()` and use `block_on` instead (#2220)
  fix(native-rpc): remove escaped response body (#2219)
  fix(clippy): fix coins mod clippy warnings in wasm (#2224)
  feat(core): handling CTRL-C signal with graceful shutdown (#2213)
  docs(README): fix typos (#2212)
  remove the non-sense arguments (#2216)
  fix(db): stop creating the all-zeroes dir on KDF start (#2218)
dimxy pushed a commit that referenced this pull request Oct 21, 2024
* dev:
  feat(cosmos-offline-tests): prepare IBC channels inside the container  (#2246)
  fix(cosmos): fix tx broadcasting error (#2238)
  chore(solana): remove solana implementation (#2239)
  chore(cli): remove leftover subcommands from help message (#2235)
dimxy pushed a commit that referenced this pull request Oct 21, 2024
* dev:
  feat(cosmos-offline-tests): prepare IBC channels inside the container  (#2246)
  fix(cosmos): fix tx broadcasting error (#2238)
  chore(solana): remove solana implementation (#2239)
  chore(cli): remove leftover subcommands from help message (#2235)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants