Skip to content
New issue

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

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

Already on GitHub? # to your account

[market-client] 下单时出现错误提示 #5274

Closed
2 of 11 tasks
Tracked by #5257
YiRuiLiher opened this issue Sep 7, 2022 · 1 comment
Closed
2 of 11 tasks
Tracked by #5257

[market-client] 下单时出现错误提示 #5274

YiRuiLiher opened this issue Sep 7, 2022 · 1 comment
Assignees
Labels
C-bug Category: This is a bug C-triage Category: Need triage CU-force-community Category: from force community

Comments

@YiRuiLiher
Copy link
Collaborator

YiRuiLiher commented Sep 7, 2022

链服务模块 / Chain Service Components

  • venus
  • venus-auth
  • venus-gateway
  • venus-messager
  • venus-miner
  • 文档 / docs

订单服务模块 / Deal Service Components

  • venus-market
  • 文档 / docs

算力服务模块 / Storage Power Service Components

  • venus-sector-manager
  • venus-worker
  • 文档 / docs

版本 / Version

venus-mraket:origin/releaase/v2.3.0

描述 / Describe the Bug

已把 ~/.marketclient/config.toml 文件中 DefaultMarketAddress
字段值设置为 t3sq2aprrmq3ydgkcnjx5nyv46cmyp6cu6ldbcr7vhl2eqhpnremxpo5tpd6vhyeur7wico3bhebtkxf3g7zja

./market-client storage deals init 下单时出现错误的提示

当使用 ./market-client storage deals init --from t3sq2aprrmq3ydgkcnjx5nyv46cmyp6cu6ldbcr7vhl2eqhpnremxpo5tpd6vhyeur7wico3bhebtkxf3g7zja 时没有再出现错误

日志 / Logging Information

-----------报错日志----------------------------------
root@forcenet-venus-124:~/venus-market# ./market-client storage deals init
Data CID (from lotus client import): bafk2bzaceclvgaifx3h6koyt437txygy6dkpjry536af4npgcnsn2jf46ncr4
.. calculating data size
PieceCid:  baga6ea4seaqmymy2uh2w6xuw7kediyzsblksthrojatkmieijvtovifinxi3cmq  PayLoadSize: 452037 PieceSize: 524288
Deal duration (days): 354
Miner Addresses (f0.. f0..), none to find: t01008
.. querying miner asks
-----
Proposing from t01008
	Balance: 100.008768881296787483 FIL

Piece size: 512KiB (Payload size: 441.4KiB)
Duration: 8496h0m0s
Total price: ~0 FIL (0 FIL per epoch)
Verified: false

Accept (yes/no): yes
.. executing
2022-09-07T15:59:57.541+0800	FATAL	main	market-client/main.go:129	failed resolving params.Wallet addr (t01008): failed to get account actor state for t01008: actor code is not account: storageminer


----------------------------------正确日志-----------------------------
root@forcenet-venus-124:~/venus-market# ./market-client storage deals init --from t3sq2aprrmq3ydgkcnjx5nyv46cmyp6cu6ldbcr7vhl2eqhpnremxpo5tpd6vhyeur7wico3bhebtkxf3g7zja
Data CID (from lotus client import): bafk2bzaceclvgaifx3h6koyt437txygy6dkpjry536af4npgcnsn2jf46ncr4
.. calculating data size
PieceCid:  baga6ea4seaqmymy2uh2w6xuw7kediyzsblksthrojatkmieijvtovifinxi3cmq  PayLoadSize: 452037 PieceSize: 524288
Deal duration (days): 354
Miner Addresses (f0.. f0..), none to find: t01008
.. querying miner asks
-----
Proposing from t3sq2aprrmq3ydgkcnjx5nyv46cmyp6cu6ldbcr7vhl2eqhpnremxpo5tpd6vhyeur7wico3bhebtkxf3g7zja
	Balance: 99999.991088034209081236 FIL

Piece size: 512KiB (Payload size: 441.4KiB)
Duration: 8496h0m0s
Total price: ~0 FIL (0 FIL per epoch)
Verified: false

Accept (yes/no): yes
.. executing
Deal (t01008) CID: bafyreidt622ymh6zedbjxq6dchx7wv5rzf6ra3gklpp3daocqpaepfs74m

重现步骤 / Repo Steps

./market-client storage deals init

@YiRuiLiher YiRuiLiher added the C-bug Category: This is a bug label Sep 7, 2022
@simlecode simlecode mentioned this issue Sep 7, 2022
31 tasks
@Fatman13 Fatman13 added C-triage Category: Need triage CU-force-community Category: from force community labels Sep 7, 2022
@simlecode simlecode moved this to In Progress in Venus Project Sep 8, 2022
@simlecode
Copy link
Collaborator

原因

./market-client run --addr t01008 启动时带了 --addr flag,会把配置中 DefaultMarketAddress 的值给覆盖,
去掉 --addr flag 再重启就能正常发单了

Repository owner moved this from In Progress to Done in Venus Project Sep 8, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-bug Category: This is a bug C-triage Category: Need triage CU-force-community Category: from force community
Projects
Archived in project
Development

No branches or pull requests

4 participants