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(topup): check valid new state leaf balance #1225

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Conversation

ctrlc03
Copy link
Collaborator

@ctrlc03 ctrlc03 commented Feb 22, 2024

Description

Currently, the validCreditBalance component output is not used in the topup calculation. In this PR, we use the output of this component to switch between keeping the previous balance or using the new one.

Furthermore, some documentation around the topup feature is also added in the doc website.

Confirmation

@ctrlc03 ctrlc03 marked this pull request as draft February 22, 2024 10:53
@ctrlc03 ctrlc03 self-assigned this Feb 22, 2024
Copy link

netlify bot commented Feb 22, 2024

Deploy Preview for maci-typedoc ready!

Name Link
🔨 Latest commit ec12d2b
🔍 Latest deploy log https://app.netlify.com/sites/maci-typedoc/deploys/65d7d73f4ec96c000892d344
😎 Deploy Preview https://deploy-preview-1225--maci-typedoc.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 site configuration.

@ctrlc03 ctrlc03 marked this pull request as ready for review February 22, 2024 11:43
Copy link
Collaborator

@0xmad 0xmad left a comment

Choose a reason for hiding this comment

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

@ctrlc03 thanks!

website/versioned_docs/version-v1.x/topup.md Show resolved Hide resolved
website/versioned_docs/version-v1.x/topup.md Outdated Show resolved Hide resolved
website/versioned_docs/version-v1.x/topup.md Outdated Show resolved Hide resolved
website/versioned_docs/version-v1.x/topup.md Outdated Show resolved Hide resolved
website/versioned_docs/version-v1.x/topup.md Outdated Show resolved Hide resolved
@kcharbo3
Copy link

LGTM!

@ctrlc03 ctrlc03 enabled auto-merge February 22, 2024 23:28
@ctrlc03 ctrlc03 disabled auto-merge February 22, 2024 23:28
@ctrlc03 ctrlc03 merged commit 034a9df into dev Feb 23, 2024
19 checks passed
@ctrlc03 ctrlc03 deleted the fix/topup-circuit branch February 23, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants