filecoin-project/curio

Lotus mpool errors using curio

Closed this issue · 2 comments

1.27.1-dev+calibnet+git.9851d35a3.dirty
lotus version 1.27.1-dev+calibnet+git.630260765

Trying to see why my Curio dashboard shows a Precommit message waiting

lotus mpool -h

NAME:
lotus mpool - Manage message pool

USAGE:
lotus mpool command [command options] [arguments...]

COMMANDS:
pending Get pending messages
sub Subscribe to mpool changes
stat print mempool stats
replace replace a message in the mempool
find find a message in the mempool
config get or set current mpool configuration
gas-perf Check gas performance of messages in mempool
manage

stuart@minerx:~/curio-calibration$ lotus mpool pending

{
"Message": {
"Version": 0,
"To": "t410fi33xdhna66nmmssfkutakxnue4b4pagtoop2nca",
"From": "t410fkveqnpydmmg3dwp7wggscxmknadml5ac24kzesq",
"Nonce": 9814,
"Value": "8000000000000000000",
"GasLimit": 112619791,
"GasFeeCap": "1500000120",
"GasPremium": "1500000000",
"Method": 3844450837,
"Params": "WCS2tV8lAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
"CID": {
"/": "bafy2bzacedlglfoqmezdljptxgcyenssuzio6fv64ka4rh5wmefjhs45hrn56"
}
},
"Signature": {
"Type": 3,
"Data": "wzxmtE+6y+pZpC4TwKSysPguKe8oSoZR3Bn9O0IZ2ZUWngUYgNuJZroMFEImaBXVHsMlv43mZIyekteAjbCdWwA="
},
"CID": {
"/": "bafy2bzaceb37hu6ji44e3yphlycjjq24ktzodvqsjbn2wer2mktblywlb45bg"
}
}

lotus mpool manage -h

NAME:
lotus mpool manage

USAGE:
lotus mpool manage [command options] [arguments...]

lotus mpool manage

Address: t1bswjfa6c4ib23b5dglf5tq66v3izh2irdoeguua
Message Cid To Nonce Value Method Checks
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
github.com/filecoin-project/lotus/cli.(*mmUI).addrSelect.func1.(*mmUI).messageLising.2(0xc000692800)
/home/stuart/curio-calibration/cli/mpool_manage.go:215 +0x41e
github.com/Kubuxu/imtui.(*Tui).Run(0xc000692800)
/home/stuart/go/pkg/mod/github.com/!kubuxu/imtui@v0.0.0-20210401140320-41663d68d0fa/tui.go:78 +0x1d7
github.com/filecoin-project/lotus/cli.init.func76(0xc000a18680)
/home/stuart/curio-calibration/cli/mpool_manage.go:70 +0x410
github.com/urfave/cli/v2.(*Command).Run(0xdaf3de0, 0xc000a18680, {0xc000672ec0, 0x1, 0x1})
/home/stuart/go/pkg/mod/github.com/urfave/cli/v2@v2.25.5/command.go:274 +0x93f
github.com/urfave/cli/v2.(*Command).Run(0xdaf3f40, 0xc000a18540, {0xc00065d580, 0x2, 0x2})
/home/stuart/go/pkg/mod/github.com/urfave/cli/v2@v2.25.5/command.go:267 +0xb7d
github.com/urfave/cli/v2.(*Command).Run(0xc00044e2c0, 0xc000a18280, {0xc0001185a0, 0x3, 0x3})
/home/stuart/go/pkg/mod/github.com/urfave/cli/v2@v2.25.5/command.go:267 +0xb7d
github.com/urfave/cli/v2.(*App).RunContext(0xc0002d45a0, {0x9536828, 0xdcac180}, {0xc0001185a0, 0x3, 0x3})
/home/stuart/go/pkg/mod/github.com/urfave/cli/v2@v2.25.5/app.go:332 +0x566
github.com/urfave/cli/v2.(*App).Run(...)
/home/stuart/go/pkg/mod/github.com/urfave/cli/v2@v2.25.5/app.go:309
github.com/filecoin-project/lotus/cli.RunApp(0xc0002d45a0)
/home/stuart/curio-calibration/cli/helper.go:48 +0x106
main.main()
/home/stuart/curio-calibration/cmd/lotus/main.go:123 +0x8ef

Tasks

Preview Give feedback
No tasks being tracked yet.

That looks like at lotus bug in the mpool manage UI, might be due to FEVM even, likely nothing to do with Curio

Closing this as this is not a Curio issue.