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
  • #182

Closed
Open
Opened Jun 02, 2022 by hans wu@hans

合约升级投票通过后报合约安装失败

image

【系统信息】

  • chainmaker-go version:[v2.1.0]
  • 管理台 version:2.1.0

【相关日志文件】

2022-06-02 16:21:03.532 [INFO] [Storage] @chain1 blockkvdb/blockkvdb.go:563 get value []byte ,TxArchived txid[80e893562afc4e9caf7a18e6cc744755228d35bd8461457f97dc0a680e7ccdb8] txIdBlockInfoBytes[] 2022-06-02 16:21:03.533 [WARN] [Vm] @chain1 blockcontract/block_contract.go:925 no such transaction, chainId:chain1 2022-06-02 16:21:03.534 [ERROR] [Vm] @chain1 v2@v2.1.1/native.go:133 no such transaction, chainId:chain1 2022-06-02 16:21:03.534 [WARN] [Rpc] rpcserver/api_service.go:269 txStatusCode:4, resultCode:1, contractName[CHAIN_QUERY] method[GET_TX_BY_TX_ID] txType[QUERY_CONTRACT], no such transaction, chainId:chain1 2022-06-02 16:21:04.035 [INFO] [Storage] @chain1 blockkvdb/blockkvdb.go:563 get value []byte ,TxArchived txid[80e893562afc4e9caf7a18e6cc744755228d35bd8461457f97dc0a680e7ccdb8] txIdBlockInfoBytes[] 2022-06-02 16:21:04.035 [WARN] [Vm] @chain1 blockcontract/block_contract.go:925 no such transaction, chainId:chain1 2022-06-02 16:21:04.035 [ERROR] [Vm] @chain1 v2@v2.1.1/native.go:133 no such transaction, chainId:chain1 2022-06-02 16:21:04.035 [WARN] [Rpc] rpcserver/api_service.go:269 txStatusCode:4, resultCode:1, contractName[CHAIN_QUERY] method[GET_TX_BY_TX_ID] txType[QUERY_CONTRACT], no such transaction, chainId:chain1 2022-06-02 16:21:04.178 [INFO] [Snapshot] snapshot/snapshot_manager.go:44 create snapshot@chain1 at height 6, fingerPrint[9e3b23352e674361694d6e6653d6cdacb2ed49a8509a4222eeade334fb8974b1] -> prevFingerPrint[3c87712087e302ef4badba6753efeae0b17f11f8df0c7e7f22a73e17e50f13c7] 2022-06-02 16:21:04.179 [ERROR] [Vm] @chain1 v2@v2.1.1/native.go:133 contract not exist 2022-06-02 16:21:04.179 [ERROR] [Core] @chain1 scheduler/scheduler.go:294 failed to run vm for tx id:80e893562afc4e9caf7a18e6cc744755228d35bd8461457f97dc0a680e7ccdb8, tx result:code:CONTRACT_FAIL contract_result:<code:1 message:"contract not exist" > , error:contract not exist 2022-06-02 16:21:04.180 [INFO] [Core] @chain1 scheduler/scheduler.go:268 simulate with dag finished, size 1, time used 738.396µs 2022-06-02 16:21:04.180 [INFO] [TxPool] @chain1 v2@v2.1.0/tx_pool_impl.go:298 GetTxsByTxIds elapse time: 0 2022-06-02 16:21:04.183 [WARN] [Core] @chain1 common/block_helper.go:579 verifierTxs txhashes 1, block.txs 1, 44ac58e28ed9e366fd628a5585889dfc17b212d52c50653269b540c02b8b27c5 2022-06-02 16:21:04.183 [INFO] [Consensus] @chain1 tbft/validator.go:39 new validator set: [QmP6Qka8xCSUEiZGCHkPG2urvzAh2zAxer79PXhCV9E5P2 QmSacsTZyJVfycqRFfEC4z8SZwPHAJUz8QhgawLiTpj2qH] 2022-06-02 16:21:04.183 [INFO] [Consensus] @chain1 tbft/vote.go:341 VoteSet(VOTE_PRECOMMIT/6/396) AddVote reach majority 745d41e688035cd40b16922e83e5a8d7507c3e09018b6eaefa9748a3efbce654 2022-06-02 16:21:04.183 [INFO] [TxPool] @chain1 v2@v2.1.0/tx_pool_impl.go:398 add tx to pendingCache, (txs num:1), blockHeight:6 2022-06-02 16:21:04.183 [INFO] [Core] @chain1 verifier/block_verifier_impl.go:232 verify success 6,745d41e688035cd40b16922e83e5a8d7507c3e09018b6eaefa9748a3efbce654 2022-06-02 16:21:04.190 [INFO] [Storage] @chain1 v2@v2.1.1/blockstore_impl.go:363 chain[chain1]: put block[6] (txs:1 bytes:259548), time used (mashal:1, log:6, blockdb:0, statedb:0, historydb:0, resultdb:0, contractdb:0, batchChan:0, total:7) 2022-06-02 16:21:04.190 [INFO] [Snapshot] snapshot/snapshot_manager.go:58 commit snapshot@chain1 at height 6 2022-06-02 16:21:04.190 [INFO] [Storage] @chain1 statekvdb/statekvdb.go:234 db write block[6] statedb batch with 1 kvs 2022-06-02 16:21:04.190 [INFO] [Snapshot] snapshot/snapshot_manager.go:81 delete snapshot@chain1 9e3b23352e674361694d6e6653d6cdacb2ed49a8509a4222eeade334fb8974b1 at height 6 2022-06-02 16:21:04.190 [INFO] [Core] @chain1 common/block_helper.go:823 remove txs[1] and retry txs[0] in add block 2022-06-02 16:21:04.190 [INFO] [TxPool] @chain1 v2@v2.1.0/tx_pool_impl.go:371 removeTxs elapse time: 0 2022-06-02 16:21:04.190 [INFO] [Storage] @chain1 historykvdb/historykvdb.go:153 db write block[6] historydb batch with 3 kvs 2022-06-02 16:21:04.190 [INFO] [Core] @chain1 common/block_helper.go:836 commit block 6time used(check:0,db:7,ss:0,conf:0,pool:0,pubConEvent:0,other:0,total:7,interval:90301545) 2022-06-02 16:21:04.190 [INFO] [Storage] @chain1 blockkvdb/blockkvdb.go:206 chain[chain1]: cached block cnt: 0, commit block[6] time used (prepare_txs[1]:0 write_batch[5]:0, total:0) 2022-06-02 16:21:04.190 [INFO] [Sync] @chain1 sync/processor.go:91 process block [height: 6], status [0]

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#182

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