跨链代理发起交易请求后,chainmaker打印的日志显示部署的事务合约没有正确暴露方法(chainmakerv2.0.0,cross-chain是mater分支最新版)
chainmaker打印的日志如下
2023-04-06 19:28:43.706 [ERROR] [Vm] @chain1 gasm/runtime.go:192 invoke gasm, tx id:860c601af26149dc854904e9b1e2cad5cbdf9e002b4a40c597de1eb511c22c0e,error=exported func of name ROLLBACK not found 2023-04-06 19:28:43.706 [ERROR] [Core] @chain1 scheduler/scheduler.go:243 failed to run vm for tx id:860c601af26149dc854904e9b1e2cad5cbdf9e002b4a40c597de1eb511c22c0e during simulate with dag, tx result:code:CONTRACT_FAIL contract_result:<code:1 message:"exported func of name ROLLBACK not found" gas_used:270336 > , error:exported func of name ROLLBACK not found 2023-04-06 19:28:58.785 [WARN] [TxPool] @chain1 single/tx_validator.go:40 transaction exists in DB, txId: 860c601af26149dc854904e9b1e2cad5cbdf9e002b4a40c597de1eb511c22c0e 2023-04-06 19:29:13.795 [WARN] [TxPool] @chain1 single/tx_validator.go:40 transaction exists in DB, txId: 860c601af26149dc854904e9b1e2cad5cbdf9e002b4a40c597de1eb511c22c0e
cross-chain打印的日志如下
023-04-06 19:30:58.899 [INFO] [ADAPTER] chainmaker/chainmaker_adapter.go:180 cross[4f65066bb9a84db39b4686b90d4bc5ef]->chain[chain1]'s tx-request unmarshalled 2023-04-06 19:30:58.904 [INFO] [ADAPTER] chainmaker/chainmaker_adapter.go:220 start get cross[4f65066bb9a84db39b4686b90d4bc5ef]->chain[chain1]'s tx-request[860c601af26149dc854904e9b1e2cad5cbdf9e002b4a40c597de1eb511c22c0e]'s result 2023-04-06 19:30:58.904 [INFO] [ADAPTER] chainmaker/chainmaker_adapter.go:226 cross[4f65066bb9a84db39b4686b90d4bc5ef]->chain[chain1]'s tx[860c601af26149dc854904e9b1e2cad5cbdf9e002b4a40c597de1eb511c22c0e] get...... 2023-04-06 19:30:58.907 [ERROR] [ADAPTER] chainmaker/chainmaker_adapter.go:246 cross[4f65066bb9a84db39b4686b90d4bc5ef]->chain[chain1]'s tx[860c601af26149dc854904e9b1e2cad5cbdf9e002b4a40c597de1eb511c22c0e] invoke failed, result code = %!(EXTRA common.TxStatusCode=CONTRACT_FAIL) 2023-04-06 19:30:58.907 [WARN] [TRANSACTION_MGR] transaction/transaction_manager.go:798 cross[4f65066bb9a84db39b4686b90d4bc5ef]->chain[chain1]->[9] rollback failed -> exported func of name ROLLBACK not found