Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #670

Closed
Open
Opened May 05, 2023 by czp czp@czp

docker-vm模式下的警告信息怎样解决?

在2.3.0版,docker-vm模式下,安装智能合约成功,交易成功,查询成功,但是在日志里报WARN,内容如下,这是什么原因呢?

1)安装智能合约成功:智能合约返回的信息显示成功
2)交易成功:在执行智能合约时返回的消息是成功的
3)查询成功:在执行查询写入信息时,信息查出来是对的

但是在日志信息中还是存在以下WARN信息:

交易时的WARN信息:
2023-05-05 17:45:51.498 [WARN]  [Vm] @chain1    blockcontract/block_contract.go:864     no such transaction, chainId:chain1
2023-05-05 17:45:51.502 [WARN]  [Rpc]   rpcserver/api_service.go:295    txStatusCode:4, resultCode:1, contractName[CHAIN_QUERY] method[GET_TX_BY_TX_ID] txType[QUERY_CONTRACT], no such transaction, chainId:chain1
2023-05-05 17:45:52.240 [WARN]  [Vm] @chain1    blockcontract/block_contract.go:864     no such transaction, chainId:chain1
2023-05-05 17:45:52.240 [WARN]  [Rpc]   rpcserver/api_service.go:295    txStatusCode:4, resultCode:1, contractName[CHAIN_QUERY] method[GET_TX_BY_TX_ID] txType[QUERY_CONTRACT], no such transaction, chainId:chain1
2023-05-05 17:45:52.859 [WARN]  [Vm] @chain1    blockcontract/block_contract.go:864     no such transaction, chainId:chain1
2023-05-05 17:45:52.859 [WARN]  [Rpc]   rpcserver/api_service.go:295    txStatusCode:4, resultCode:1, contractName[CHAIN_QUERY] method[GET_TX_BY_TX_ID] txType[QUERY_CONTRACT], no such transaction, chainId:chain1
2023-05-05 17:45:53.580 [WARN]  [Vm] @chain1    blockcontract/block_contract.go:864     no such transaction, chainId:chain1
2023-05-05 17:45:53.580 [WARN]  [Rpc]   rpcserver/api_service.go:295    txStatusCode:4, resultCode:1, contractName[CHAIN_QUERY] method[GET_TX_BY_TX_ID] txType[QUERY_CONTRACT], no such transaction, chainId:chain1

查询时的WARN信息:
2023-05-05 17:46:15.767 [WARN]  [Storage] @chain1       cache/cache_wrap.go:87  set cache key[CONTRACT_MANAGE#ContractByteCode:basicStorage2] get error:entry is bigger than max shard size

这是什么原因呢?
Edited May 06, 2023 by czp czp
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#670

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。