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
这是什么原因呢?
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information