Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lotus-miner storage-deals get-ask/set-ask issues #6921

Closed
4 tasks done
Meatball13 opened this issue Jul 28, 2021 · 1 comment
Closed
4 tasks done

lotus-miner storage-deals get-ask/set-ask issues #6921

Meatball13 opened this issue Jul 28, 2021 · 1 comment
Labels
Milestone

Comments

@Meatball13
Copy link

Checklist

  • This is not a question or a support request. If you have any lotus related questions, please ask in the lotus forum.
  • I am reporting a bug w.r.t one of the M1 tags. If not, choose another issue option here.
  • I am not reporting a bug around deal making. If yes, create a M1 Bug Report For Deal Making.
  • I have searched on the issue tracker and the lotus forum, and there is no existing related issue or discussion.

Lotus component

Other

Lotus Tag and Version

Lotus: lotus version 1.11.1-dev+mainnet+git.1757ffcb2
Miner: lotus-miner version 1.11.1-dev+mainnet+git.1757ffcb2

Describe the Bug

Attempting to do a lotus-miner storage-deals get-ask and lotus-miner storage-deals set-ask command after setting up split mining. The 'get-ask' command appears to work successfully if you point it at the lotus-miner with the markets-repo env variable. 'set-ask' does not appear to work regardless if you point it at the lotus-miner with the markets repo or the .lotusminer env variable. Here's the output from the attempts:

tbtminer@hdfil-dm:~$ LOTUS_MINER_PATH=~/.lotusminer lotus-miner storage-deals get-ask
ERROR: fatal error calling 'Filecoin.MarketGetAsk': panic in rpc method 'Filecoin.MarketGetAsk': runtime error: invalid memory address or nil pointer dereference

tbtminer@hdfil-dm:~$ LOTUS_MINER_PATH=~/markets-repo-location lotus-miner storage-deals get-ask
Price per GiB/Epoch  Verified  Min. Piece Size (padded)  Max. Piece Size (padded)  Expiry (Epoch)  Expiry (Appx. Rem. Time)  Seq. No.
0.00005 FIL          0 FIL     4 GiB                     32 GiB                    1047164         612h56m30s                122

tbtminer@hdfil-dm:~$ LOTUS_MINER_PATH=~/.lotusminer lotus-miner storage-deals set-ask --price 0.00000002 --verified-price 0.0 --min-piece-size 4GiB --max-piece-size 32GiB
ERROR: fatal error calling 'Filecoin.MarketSetAsk': panic in rpc method 'Filecoin.MarketSetAsk': runtime error: invalid memory address or nil pointer dereference

tbtminer@hdfil-dm:~$ LOTUS_MINER_PATH=~/markets-repo-location lotus-miner storage-deals set-ask --price 0.00000002 --verified-price 0.0 --min-piece-size 4GiB --max-piece-size 32GiB
ERROR: fatal error calling 'Filecoin.ActorAddress': panic in rpc method 'Filecoin.ActorAddress': runtime error: invalid memory address or nil pointer dereference

Logs listed below.

Logging Information

Output in the Market Process Logs:

2021-07-28T19:23:58.170-0400	ERROR	rpc	go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/handler.go:158	panic in rpc method 'Filecoin.ActorAddress': runtime error: invalid memory address or nil pointer dereference
github.com/filecoin-project/go-jsonrpc.doCall.func1
	/home/tbtminer/go/pkg/mod/github.com/filecoin-project/go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/handler.go:158
runtime.gopanic
	/usr/local/go/src/runtime/panic.go:965
runtime.panicmem
	/usr/local/go/src/runtime/panic.go:212
runtime.sigpanic
	/usr/local/go/src/runtime/signal_unix.go:734
github.com/filecoin-project/lotus/storage.(*Miner).Address
	/home/tbtminer/lotus/storage/miner_sealing.go:23
github.com/filecoin-project/lotus/node/impl.(*StorageMinerAPI).ActorAddress
	/home/tbtminer/lotus/node/impl/storminer.go:122
reflect.Value.call
	/usr/local/go/src/reflect/value.go:476
reflect.Value.Call
	/usr/local/go/src/reflect/value.go:337
github.com/filecoin-project/lotus/metrics.proxy.func1
	/home/tbtminer/lotus/metrics/proxy.go:60
github.com/filecoin-project/lotus/api.(*StorageMinerStruct).ActorAddress
	/home/tbtminer/lotus/api/proxy_gen.go:3508
reflect.Value.call
	/usr/local/go/src/reflect/value.go:476
reflect.Value.Call
	/usr/local/go/src/reflect/value.go:337
github.com/filecoin-project/go-jsonrpc/auth.PermissionedProxy.func1
	/home/tbtminer/go/pkg/mod/github.com/filecoin-project/go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/auth/auth.go:62
github.com/filecoin-project/lotus/api.(*StorageMinerStruct).ActorAddress
	/home/tbtminer/lotus/api/proxy_gen.go:3508
reflect.Value.call
	/usr/local/go/src/reflect/value.go:476
reflect.Value.Call
	/usr/local/go/src/reflect/value.go:337
github.com/filecoin-project/go-jsonrpc.doCall
	/home/tbtminer/go/pkg/mod/github.com/filecoin-project/go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/handler.go:162
github.com/filecoin-project/go-jsonrpc.(*RPCServer).handle
	/home/tbtminer/go/pkg/mod/github.com/filecoin-project/go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/handler.go:259
2021-07-28T19:23:58.170-0400	ERROR	rpc	go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/server.go:95	RPC Error: fatal error calling 'Filecoin.ActorAddress': panic in rpc method 'Filecoin.ActorAddress': runtime error: invalid memory address or nil pointer dereference
2021-07-28T19:23:58.170-0400	WARN	rpc	go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/server.go:101	rpc error: fatal error calling 'Filecoin.ActorAddress': panic in rpc method 'Filecoin.ActorAddress': runtime error: invalid memory address or nil pointer dereference
2021-07-28T19:25:58.116-0400	INFO	net/identify	identify/id.go:376	failed negotiate identify protocol with peer	{"peer": "12D3KooWQ1PcnXLEdzguoT4VgN8EAdEfHgYvYK5BwRgeZKh5ch8u", "error": "stream reset"}
2021-07-28T19:26:01.483-0400	INFO	net/identify	identify/id.go:376	failed negotiate identify protocol with peer	{"peer": "12D3KooWLfaFhBU5c2YX4YXnsWSmEnSu2SdmU9RQ7czKsatwHjCX", "error": "stream reset"}
2021-07-28T19:26:12.903-0400	ERROR	rpc	go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/handler.go:158	panic in rpc method 'Filecoin.ActorAddress': runtime error: invalid memory address or nil pointer dereference
github.com/filecoin-project/go-jsonrpc.doCall.func1
	/home/tbtminer/go/pkg/mod/github.com/filecoin-project/go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/handler.go:158
runtime.gopanic
	/usr/local/go/src/runtime/panic.go:965
runtime.panicmem
	/usr/local/go/src/runtime/panic.go:212
runtime.sigpanic
	/usr/local/go/src/runtime/signal_unix.go:734
github.com/filecoin-project/lotus/storage.(*Miner).Address
	/home/tbtminer/lotus/storage/miner_sealing.go:23
github.com/filecoin-project/lotus/node/impl.(*StorageMinerAPI).ActorAddress
	/home/tbtminer/lotus/node/impl/storminer.go:122
reflect.Value.call
	/usr/local/go/src/reflect/value.go:476
reflect.Value.Call
	/usr/local/go/src/reflect/value.go:337
github.com/filecoin-project/lotus/metrics.proxy.func1
	/home/tbtminer/lotus/metrics/proxy.go:60
github.com/filecoin-project/lotus/api.(*StorageMinerStruct).ActorAddress
	/home/tbtminer/lotus/api/proxy_gen.go:3508
reflect.Value.call
	/usr/local/go/src/reflect/value.go:476
reflect.Value.Call
	/usr/local/go/src/reflect/value.go:337
github.com/filecoin-project/go-jsonrpc/auth.PermissionedProxy.func1
	/home/tbtminer/go/pkg/mod/github.com/filecoin-project/go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/auth/auth.go:62
github.com/filecoin-project/lotus/api.(*StorageMinerStruct).ActorAddress
	/home/tbtminer/lotus/api/proxy_gen.go:3508
reflect.Value.call
	/usr/local/go/src/reflect/value.go:476
reflect.Value.Call
	/usr/local/go/src/reflect/value.go:337
github.com/filecoin-project/go-jsonrpc.doCall
	/home/tbtminer/go/pkg/mod/github.com/filecoin-project/go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/handler.go:162
github.com/filecoin-project/go-jsonrpc.(*RPCServer).handle
	/home/tbtminer/go/pkg/mod/github.com/filecoin-project/go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/handler.go:259
2021-07-28T19:26:12.903-0400	ERROR	rpc	go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/server.go:95	RPC Error: fatal error calling 'Filecoin.ActorAddress': panic in rpc method 'Filecoin.ActorAddress': runtime error: invalid memory address or nil pointer dereference
2021-07-28T19:26:12.903-0400	WARN	rpc	go-jsonrpc@v0.1.4-0.20210217175800-45ea43ac2bec/server.go:101	rpc error: fatal error calling 'Filecoin.ActorAddress': panic in rpc method 'Filecoin.ActorAddress': runtime error: invalid memory address or nil pointer dereference
2021-07-28T19:26:53.238-0400	INFO	net/identify	identify/id.go:376	failed negotiate identify protocol with peer	{"peer": "12D3KooWGUWFhM5gv9xbadnRmfV2eqcFjk2eMKZvyVxUwpgsCd3x", "error": "stream reset"}

Repo Steps

Attempt to run lotus-miner storage-deals set-ask command to either MINER_PATH throws an error.

LOTUS_MINER_PATH=~/.lotusminer lotus-miner storage-deals set-ask --price 0.00000002 --verified-price 0.0 --min-piece-size 4GiB --max-piece-size 32GiB

LOTUS_MINER_PATH=~/markets-repo-location lotus-miner storage-deals set-ask --price 0.00000002 --verified-price 0.0 --min-piece-size 4GiB --max-piece-size 32GiB

@jacobheun
Copy link
Contributor

This should now be resolved via #6936

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants