Skip to content

Add pre-check for nablaApprove phase.#709

Merged
ebma merged 4 commits into
stagingfrom
improve-phases-resilience
Jun 13, 2025
Merged

Add pre-check for nablaApprove phase.#709
ebma merged 4 commits into
stagingfrom
improve-phases-resilience

Conversation

@gianfra-t
Copy link
Copy Markdown
Contributor

@gianfra-t gianfra-t commented Jun 9, 2025

Issue: #672.

On top of the required change, it adds a similar pre-execution check for phase pendulumToMoonbeam. This can prevent a stuck ramp if the initial transaction is sent and included in the block, yet incorrectly returns an error from the rpc. This failure has been observed at least once.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 9, 2025

Deploy Preview for pendulum-pay ready!

Name Link
🔨 Latest commit 946f447
🔍 Latest deploy log https://app.netlify.com/projects/pendulum-pay/deploys/684c4862d0a21b000865e5ce
😎 Deploy Preview https://deploy-preview-709--pendulum-pay.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.

@gianfra-t gianfra-t requested a review from a team June 12, 2025 13:59
Copy link
Copy Markdown
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.

Looks good to me ✅

Comment on lines +35 to +36
inputTokenCurrencyId: any;
outputTokenCurrencyId: any;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can't we give this a proper type?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I replaced this with inputTokenPendulumDetails which was added also to the state, one level up.

@ebma ebma merged commit 0c24f8b into staging Jun 13, 2025
4 of 5 checks passed
@ebma ebma deleted the improve-phases-resilience branch June 13, 2025 15:59
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