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

WIP: Fee rewards!!! #37

Merged
merged 5 commits into from
Oct 14, 2024
Merged

WIP: Fee rewards!!! #37

merged 5 commits into from
Oct 14, 2024

Conversation

johnstonematt
Copy link
Contributor

@johnstonematt johnstonematt commented Oct 8, 2024

The main thing done here is adding fee reward tracking. This is done by calling getBlock for the slots which we produced and getting the fee reward.

Additionally, I also added explicit use of commitment levels for rpc.Client methods.

The error handling in this is suboptimal, but improved in an upcoming PR (#40).

@johnstonematt johnstonematt changed the title Fee rewards!!! WIP: Fee rewards!!! Oct 8, 2024
@@ -47,7 +47,7 @@ var (
identityVotes = map[string]string{"aaa": "AAA", "bbb": "BBB", "ccc": "CCC"}
nv = len(identities)
staticEpochInfo = rpc.EpochInfo{
AbsoluteSlot: 166598,
AbsoluteSlot: 166599,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

no idea why this was changed, but doesn't matter i guess

@johnstonematt johnstonematt merged commit a3c498d into master Oct 14, 2024
2 checks passed
@johnstonematt johnstonematt deleted the fee-rewards branch October 14, 2024 09:01
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