From dade1f2ced4be620e909475ba859c4a8da1f2d1e Mon Sep 17 00:00:00 2001 From: Geralt <101174090+neuweltgeld@users.noreply.github.com> Date: Sat, 8 Jun 2024 14:13:06 +0300 Subject: [PATCH] Update submitPod.go gas calculation adjustment --- junction/submitPod.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/junction/submitPod.go b/junction/submitPod.go index 701af01..114a491 100644 --- a/junction/submitPod.go +++ b/junction/submitPod.go @@ -64,7 +64,7 @@ func SubmitCurrentPod() (success bool) { } ctx := context.Background() - gas := utilis.GenerateRandomWithFavour(100, 300, [2]int{120, 250}, 0.7) + gas := utilis.GenerateRandomWithFavour(510, 1000, [2]int{520, 700}, 0.7) gasFees := fmt.Sprintf("%damf", gas) log.Info().Str("module", "junction").Str("Gas Fees Used to Validate VRF", gasFees) accountClient, err := cosmosclient.New(ctx, cosmosclient.WithAddressPrefix(addressPrefix), cosmosclient.WithNodeAddress(jsonRpc), cosmosclient.WithHome(accountPath), cosmosclient.WithGas("auto"), cosmosclient.WithFees(gasFees))