From 6d9707c784e112c891b1c6b5d33b06d51e9ef290 Mon Sep 17 00:00:00 2001 From: vyzo Date: Tue, 18 Aug 2020 22:24:07 +0300 Subject: [PATCH] fix OptimalSelection3 test --- chain/messagepool/selection_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/messagepool/selection_test.go b/chain/messagepool/selection_test.go index 0fd9b7406..0032db23c 100644 --- a/chain/messagepool/selection_test.go +++ b/chain/messagepool/selection_test.go @@ -834,7 +834,7 @@ func TestOptimalMessageSelection3(t *testing.T) { nMessages := int(build.BlockGasLimit/gasLimit) + 1 for i := 0; i < nMessages; i++ { for j := 0; j < nActors; j++ { - premium := 500000 + 20000*(nActors-j) + (nMessages+2-i)/(3*nActors) + i%3 + premium := 500000 + 10000*(nActors-j) + (nMessages+2-i)/(30*nActors) + i%3 m := makeTestMessage(wallets[j], actors[j], actors[j%nActors], uint64(i), gasLimit, uint64(premium)) mustAdd(t, mp, m) }