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

eth,server: Use global total supply instead of L2 supply to calculate participation rate on Arbitrum networks #2276

Merged
merged 2 commits into from
Feb 18, 2022

Conversation

leszko
Copy link
Contributor

@leszko leszko commented Feb 18, 2022

What does this pull request do? Explain your changes. (required)

Implemented as described here: #2275

Specific updates (required)

How did you test each of these updates (required)

Arbitrum Testnet Rinkeby - before the change

*--------------------------------*--------------------------------*
|                   Total Supply | 6845088.180812007147050307 LPT |
*--------------------------------*--------------------------------*
| Current Participation Rate (%) |                  0.03127051517 |
*--------------------------------*--------------------------------*

Arbitrum Testnet Rinkeby - after the change

*--------------------------------*--------------------------------*
|                   Total Supply |    13688041.821979775736803028 |
|                                |                            LPT |
*--------------------------------*--------------------------------*
| Current Participation Rate (%) |                  0.01563769578 |
*--------------------------------*--------------------------------*

Rinkeby - before the change

*--------------------------------*--------------------------------*
|                   Total Supply | 6843718.370257810730818088 LPT |
*--------------------------------*--------------------------------*
| Current Participation Rate (%) |                 0.007506151076 |
*--------------------------------*--------------------------------*

Rinkeby - after the change

*--------------------------------*--------------------------------*
|                   Total Supply | 6843718.370257810730818088 LPT |
*--------------------------------*--------------------------------*
| Current Participation Rate (%) |                 0.007506151076 |
*--------------------------------*--------------------------------*

Does this pull request close any open issues?

fix #2275

Checklist:

@leszko leszko requested a review from yondonfu February 18, 2022 09:36
Copy link
Member

@yondonfu yondonfu left a comment

Choose a reason for hiding this comment

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

LGTM!

@leszko leszko merged commit 6ba48a0 into livepeer:master Feb 18, 2022
@leszko leszko deleted the 2275-fix-global-supply-in-cli branch February 18, 2022 14:45
ad-astra-video pushed a commit to ad-astra-video/go-livepeer that referenced this pull request May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants