-
Notifications
You must be signed in to change notification settings - Fork 17
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
remove floating point math #145
Conversation
@TheMarstonConnell I'll do my best sir but to be honest there is some code that I don't have any experience with. If @dahn510 can get a jump on this that would be very much appreciated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -12,5 +12,8 @@ | |||
func BeginBlocker(ctx sdk.Context, k keeper.Keeper) { | |||
defer telemetry.ModuleMeasureSince(types.ModuleName, time.Now(), telemetry.MetricKeyBeginBlocker) | |||
|
|||
k.HandleBlock(ctx) | |||
err := k.HandleRewardBlock(ctx) |
Check warning
Code scanning / CodeQL
Panic in BeginBock or EndBlock consensus methods
@BiPhan4 can you look this over and run some tests on the reward stuff. We need unit tests on the rewards ASAP.