diff --git a/Dockerfile b/Dockerfile index 34a1defaa..67a5c18ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ RUN apk add --no-cache \ ca-certificates=20241121-r1 \ libstdc++~=13.2 \ jq~=1.7 \ - curl~=8.11 \ + curl~=8.12 \ bash~=5.2 \ && addgroup -g 1000 exocore \ && adduser -S -h /home/exocore -D exocore -u 1000 -G exocore diff --git a/networks/local/exocore/Dockerfile b/networks/local/exocore/Dockerfile index c8e300d26..6a4e40f55 100644 --- a/networks/local/exocore/Dockerfile +++ b/networks/local/exocore/Dockerfile @@ -12,7 +12,7 @@ RUN LEDGER_ENABLED=false make build FROM alpine:3.19 AS run RUN apk add --no-cache libstdc++~=13.2 \ bash~=5.2 \ - curl~=8.11 \ + curl~=8.12 \ jq~=1.7 \ && addgroup -g 1000 exocore \ && adduser -S -h /home/exocore -D exocore -u 1000 -G exocore diff --git a/x/feedistribution/keeper/allocation.go b/x/feedistribution/keeper/allocation.go index 2c86585bf..5a911ac4a 100644 --- a/x/feedistribution/keeper/allocation.go +++ b/x/feedistribution/keeper/allocation.go @@ -158,8 +158,8 @@ func (k Keeper) AllocateTokensToStakers(ctx sdk.Context, operatorAddress sdk.Acc remaining = remaining.Sub(rewardToSingleStaker) } } - feePool.CommunityPool = feePool.CommunityPool.Add(rewardToAllStakers...) - logger.Info("allocate tokens to stakers successfully", "allocated amount is", rewardToAllStakers.String()) + feePool.CommunityPool = feePool.CommunityPool.Add(remaining...) + logger.Info("allocate tokens to stakers successfully", "allocated amount is", rewardToAllStakers.Sub(remaining).String()) } func (k Keeper) AllocateTokensToSingleStaker(ctx sdk.Context, stakerAddress string, reward sdk.DecCoins) {