fix mr test
This commit is contained in:
parent
2e04dc908c
commit
78564e8c54
@ -14,8 +14,13 @@ import (
|
||||
"github.com/filecoin-project/specs-actors/actors/crypto"
|
||||
"github.com/ipfs/go-cid"
|
||||
"github.com/ipfs/go-datastore"
|
||||
logging "github.com/ipfs/go-log/v2"
|
||||
)
|
||||
|
||||
func init() {
|
||||
_ = logging.SetLogLevel("*", "INFO")
|
||||
}
|
||||
|
||||
type testMpoolAPI struct {
|
||||
cb func(rev, app []*types.TipSet) error
|
||||
|
||||
@ -275,6 +280,9 @@ func TestPruningSimple(t *testing.T) {
|
||||
mp.maxTxPoolSizeHi = 40
|
||||
mp.maxTxPoolSizeLo = 10
|
||||
|
||||
bmsgs, _ := mp.Pending()
|
||||
fmt.Println("MESSAGES BEFORE: ", len(bmsgs))
|
||||
|
||||
mp.Prune()
|
||||
|
||||
msgs, _ := mp.Pending()
|
||||
|
@ -27,7 +27,7 @@ func MkMessage(from, to address.Address, nonce uint64, w *wallet.Wallet) *types.
|
||||
From: from,
|
||||
Value: types.NewInt(1),
|
||||
Nonce: nonce,
|
||||
GasLimit: 1,
|
||||
GasLimit: 1000000,
|
||||
GasPrice: types.NewInt(0),
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user