Skip to content

Set Era Payout Damping Factor Proposal mappings#13

Closed
thesan wants to merge 23 commits intodobertRowneySr:luxor/reward-curve-proposalfrom
thesan:luxor/reward-curve-proposal-qn
Closed

Set Era Payout Damping Factor Proposal mappings#13
thesan wants to merge 23 commits intodobertRowneySr:luxor/reward-curve-proposalfrom
thesan:luxor/reward-curve-proposal-qn

Conversation

@thesan
Copy link
Copy Markdown

@thesan thesan commented Mar 26, 2024

Address Joystream#5113

Important

As I mentioned here: Joystream#5086 (comment) these mappings are based on Joystream@506bdcd. The latest commit: Joystream@92e1d1a breaks them.

Copy link
Copy Markdown

@zeeshanakram3 zeeshanakram3 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, just added a couple of comments, I will have another review iteration once PR is created on monorepo.

Comment thread query-node/mappings/src/proposals.ts Outdated

type SetEraPayoutDampingFactorProposalDetails @variant {
"Proposed validator payout damping factor"
dampingFactor: Int!
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Isn't Float a better type of damping factor?

Suggested change
dampingFactor: Int!
dampingFactor: Float!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I thought the Percent type was an integer (and for more precision Permill, Perbill, ... where used). Can the Percent value be a decimal ? Or is there a different reason why it should be a Float ?

@thesan thesan force-pushed the luxor/reward-curve-proposal-qn branch from 7ae799c to bcf1a3f Compare April 4, 2024 08:52
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.

4 participants