Skip to content

Conversation

@Sharqiewicz
Copy link
Member

@Sharqiewicz Sharqiewicz commented Jan 2, 2026

Summary

  • Implement smart RPC fallback transport for EVM networks with automatic retry and exponential backoff
  • Add timeout and retry mechanism for Substrate API connections during ramp registration
  • Simplify EvmClientManager by moving retry logic to transport level
  • Configure fallback public RPCs for all supported EVM chains in wagmi config

Test plan

  • Test offramp flow with primary RPC disabled (simulate network failure)
  • Verify fallback to secondary RPC endpoints works correctly
  • Test Substrate connection timeout handling during registration
  • Confirm existing ramp flows work without regression
  • Check console logs for proper retry attempt logging

@netlify
Copy link

netlify bot commented Jan 2, 2026

Deploy Preview for vortexfi ready!

Name Link
🔨 Latest commit fcafa02
🔍 Latest deploy log https://app.netlify.com/projects/vortexfi/deploys/6967cae4b091fb0008cef2fe
😎 Deploy Preview https://deploy-preview-991--vortexfi.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Jan 2, 2026

Deploy Preview for vortex-sandbox ready!

Name Link
🔨 Latest commit fcafa02
🔍 Latest deploy log https://app.netlify.com/projects/vortex-sandbox/deploys/6967cae4d5745f0007020a60
😎 Deploy Preview https://deploy-preview-991--vortex-sandbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Sharqiewicz Sharqiewicz requested review from ebma and gianfra-t January 14, 2026 14:20
@Sharqiewicz Sharqiewicz changed the title implement smartFallbackTransport ready: chore/implement smartFallbackTransport Jan 14, 2026
Copy link
Member

@ebma ebma left a comment

Choose a reason for hiding this comment

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

@Sharqiewicz did you test the things listed in the 'Test plan'? We need to make sure that this is not a downgrade, especially considering that previously we were shuffling the connections with a bit of randomness and now we are not anymore.

}

/**
* @deprecated Use readContract instead. Retry logic is now handled at transport level.
Copy link
Member

Choose a reason for hiding this comment

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

If this is now deprecated, let's rather remove the whole function and adjust the existing calls to it to use the other function.

}

/**
* @deprecated Use sendTransaction instead. Retry logic is now handled at transport level.
Copy link
Member

Choose a reason for hiding this comment

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

Same here

}

/**
* @deprecated Use sendRawTransaction instead. Retry logic is now handled at transport level.
Copy link
Member

Choose a reason for hiding this comment

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

Same here

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.

3 participants