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(eth): error handling in RPCs #2090

Merged
merged 1 commit into from
Apr 2, 2024
Merged

fix(eth): error handling in RPCs #2090

merged 1 commit into from
Apr 2, 2024

Conversation

onur-ozkan
Copy link
Member

@onur-ozkan onur-ozkan commented Mar 22, 2024

Previously, encountering an error on any type of request even if it was invalid would result in a failed due to not being able to find a living RPC client error. This is obviously not correct and this PR makes it to return correct errors.

@onur-ozkan onur-ozkan requested a review from dimxy March 22, 2024 08:46
@shamardy shamardy self-requested a review March 22, 2024 22:04
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix! Only one comment from my side.

mm2src/coins/eth/eth_rpc.rs Outdated Show resolved Hide resolved
Signed-off-by: onur-ozkan <[email protected]>
@shamardy shamardy merged commit e0cd391 into dev Apr 2, 2024
26 of 32 checks passed
@shamardy shamardy deleted the fix-eth-rpc branch April 2, 2024 16:48
dimxy added a commit to dimxy/komodo-defi-framework that referenced this pull request Apr 9, 2024
* dev:
  feat(nft-swap): nft swap protocol v2 POC (KomodoPlatform#2084)
  fix(zcoin): syncing and activation improvements (KomodoPlatform#2089)
  feat(crypto): mnemonic generation/encryption/decryption/storage (KomodoPlatform#2014)
  fix(eth): error handling in RPCs (KomodoPlatform#2090)
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.

2 participants