From b1ff20567432f4c8b5fb8d7e45b0abbed06b6043 Mon Sep 17 00:00:00 2001 From: Diego C Date: Thu, 30 May 2024 20:46:27 +0200 Subject: [PATCH] Diego/ora 1508 update base (#124) Update base to latest changes on chain (`MaxLimit` param changed) --- cmd/node/appchain.go | 2 +- go.mod | 2 +- go.sum | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/node/appchain.go b/cmd/node/appchain.go index 242cc8e..952d0ee 100644 --- a/cmd/node/appchain.go +++ b/cmd/node/appchain.go @@ -372,7 +372,7 @@ func (ap *AppChain) getStakePerReputer(ctx context.Context, topicId uint64, repu ap.Logger.Error().Err(err).Uint64("topic", topicId).Msg("could not get chain params") } if err == nil { - maxReputers = params.Params.MaxLimit + maxReputers = params.Params.MaxPageLimit } numberRequestsForStake := MAX_NUMBER_STAKE_QUERIES_PER_REQUEST diff --git a/go.mod b/go.mod index fb6f59e..bbbe957 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.22.2 require ( cosmossdk.io/math v1.3.0 - github.com/allora-network/allora-chain v0.1.0-dev.a53b6d4.0.20240526151956-574b2f09d09e + github.com/allora-network/allora-chain v0.1.0-dev.a53b6d4.0.20240530034517-701b22338ce3 github.com/allora-network/b7s v0.0.2-0.20240418175046-eca9bfd68831 github.com/cockroachdb/pebble v1.1.0 github.com/cosmos/cosmos-sdk v0.50.5 diff --git a/go.sum b/go.sum index 422efa6..d389cc9 100644 --- a/go.sum +++ b/go.sum @@ -59,6 +59,8 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/allora-network/allora-chain v0.1.0-dev.a53b6d4.0.20240526151956-574b2f09d09e h1:8SQlhMZDDPm51KqDiGu5GEU/ZhYA+ZAgWOegfrxmiOI= github.com/allora-network/allora-chain v0.1.0-dev.a53b6d4.0.20240526151956-574b2f09d09e/go.mod h1:7UrL7qr/wLTnBBfTGZHHui9tjDfx89FvDj22YD2TVow= +github.com/allora-network/allora-chain v0.1.0-dev.a53b6d4.0.20240530034517-701b22338ce3 h1:udZYnIlglfhJ4zJNsMyl/fXJxie3vWrfdP04zIOyPXg= +github.com/allora-network/allora-chain v0.1.0-dev.a53b6d4.0.20240530034517-701b22338ce3/go.mod h1:7UrL7qr/wLTnBBfTGZHHui9tjDfx89FvDj22YD2TVow= github.com/allora-network/b7s v0.0.2-0.20240418175046-eca9bfd68831 h1:4s9e1sjeHlqG4SWoV29vcf/WGX9KeATx1V38X4k2f+I= github.com/allora-network/b7s v0.0.2-0.20240418175046-eca9bfd68831/go.mod h1:rJJrdC5Y83LEDFxo/iJp3JJpi8I6TJncOTigMWk8ieE= github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=