Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cosmos): fix tx broadcasting error #2238

Merged
merged 6 commits into from
Oct 10, 2024
Merged

fix(cosmos): fix tx broadcasting error #2238

merged 6 commits into from
Oct 10, 2024

Conversation

onur-ozkan
Copy link
Member

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 <[email protected]>
smk762
smk762 previously approved these changes Oct 10, 2024
borngraced
borngraced previously approved these changes Oct 10, 2024
@shamardy
Copy link
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
Member 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
20 of 23 checks passed
@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 added 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 added 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 added 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
bug Something isn't working under review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants