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

(feat): FUN-1234 Functions USD denominated premium fees #12104

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

justinkaseman
Copy link
Contributor

No description provided.

Copy link
Contributor

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

Copy link
Contributor

I see that you haven't updated any README files. Would it make sense to do so?

KuphJr
KuphJr previously approved these changes Feb 20, 2024
@justinkaseman justinkaseman marked this pull request as ready for review February 20, 2024 22:18
@justinkaseman justinkaseman requested review from a team as code owners February 20, 2024 22:18
@cl-sonarqube-production
Copy link

// The following line represents: "cost without callback or admin fee, those will be added by the Router"
// But because the _offchain_ Commitment is using operation fee in the place of the admin fee, this now adds admin fee (actually operation fee)
// Admin fee is configured to 0 in the Router
gasOverheadJuels + commitment.donFee + commitment.adminFee,
Copy link
Contributor

Choose a reason for hiding this comment

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

Alternatively we could have a variable named operationFee above (set to adminFee). Then this line will be clearer.

donFeeJuels: commitment.donFee,
// The following two lines are because of OperationFee being used in the Offchain Commitment
adminFeeJuels: 0,
operationFeeJuels: commitment.adminFee
Copy link
Contributor

Choose a reason for hiding this comment

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

if we had that helper variable we could use it here too.

@justinkaseman justinkaseman added this pull request to the merge queue Feb 21, 2024
Merged via the queue into develop with commit 2cd4bc5 Feb 21, 2024
107 checks passed
@justinkaseman justinkaseman deleted the FUN-1234-clone branch February 21, 2024 05:55
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