Caver-js의 응답 시간에 대한 문의입니다

caver-js를 사용하며 sendTransaction 메서드를 사용중입니다.
kaikas 지갑 확장 프로그램에 대한 페이지가 너무 늦게 로딩되거나 에러 발생합니다.
이로 인해 정상적인 테스트가 불가능합니다.

2022년 2월 24일(내일)에 서비스를 시작해야하는데 해당 문제로 이슈가 생깁니다.
어떻게 처리하면 되겠습니까?

현재 caver-js 버전은 1.6.2입니다.
1.4.1, 1.4.0 버전에서도 같은 문제가 발생했습니다.
에러 코드는 요약으로 포함합니다.

요약

Error: Returned error: Error: JsonRpcEngine - response has no error or result for request:
{
“jsonrpc”: “2.0”,
“id”: 490,
“method”: “klay_getAccountKey”,
“params”: [
“0x2593d7722b273c2b0b44da600445f2790ec09182”,
“latest”
]
}

Error: Returned error: Error: Error: Transaction has been reverted by the EVM:
{
“blockHash”: “0xca53a2550107075a77e2b5b063191b690cc10bad38e1a5ba4f6c27bca4ac321e”,
“blockNumber”: 83714108,
“contractAddress”: null,
“from”: “0x2593d7722b273c2b0b44da600445f2790ec09182”,
“gas”: “0xf4240”,
“gasPrice”: “0x5d21dba00”,
“gasUsed”: 68084,
“input”: “0xca36716f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000029a2241af62c0000”,
“logs”: [
{
“address”: “0x2D32AcAd9e7747c8fAABFa06AF1e1D5055df9518”,
“blockHash”: “0xca53a2550107075a77e2b5b063191b690cc10bad38e1a5ba4f6c27bca4ac321e”,
“blockNumber”: 83714108,
“data”: “0x00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001”,
“logIndex”: 23,
“topics”: [
“0x3fd63d9ca8dc693a1b9911e664951294721009a4f6239c862d6719a160a1edfc”,
“0x0000000000000000000000002593d7722b273c2b0b44da600445f2790ec09182”
],
“transactionHash”: “0x46c90b8eaba62004b1ee130550714d7a8660e07afbe3484845ca2bd5e247b0b2”,
“transactionIndex”: 21,
“id”: “log_bf449f18”
},
{
“address”: “0x2D32AcAd9e7747c8fAABFa06AF1e1D5055df9518”,
“blockHash”: “0xca53a2550107075a77e2b5b063191b690cc10bad38e1a5ba4f6c27bca4ac321e”,
“blockNumber”: 83714108,
“data”: “0x0000000000000000000000000000000000000000000000001bc16d674ec8000000000000000000000000000000000000000000000000000029a2241af62c00000000000000000000000000000000000000000000000000000000000000000002”,
“logIndex”: 24,
“topics”: [
“0x8647dab5101cbe18afb171756e9753802f9d66725bf2346b079b8b1a275e0116”,
“0x0000000000000000000000002593d7722b273c2b0b44da600445f2790ec09182”
],
“transactionHash”: “0x46c90b8eaba62004b1ee130550714d7a8660e07afbe3484845ca2bd5e247b0b2”,
“transactionIndex”: 21,
“id”: “log_00c623ff”
}
],
“logsBloom”: “0x00000000000000000000000000000000000000040000000000000002000200000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000100000000000000000000000080000000000000000000000000008000400000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000008000000000000000000000020000000000000000000000000000000000000000000000000000000000000”,
“nonce”: “0x19”,
“senderTxHash”: “0x46c90b8eaba62004b1ee130550714d7a8660e07afbe3484845ca2bd5e247b0b2”,
“signatures”: [
{
“R”: “0xaa373701867df5d652c1c521b7c1ae1eac56f7c385a965adbcbb6941f3b381a3”,
“S”: “0x1d6b9c8730fccdd155de5ee4983789affd7c3030e8f2fd46ea25de9f22e9629d”,
“V”: “0x4056”
}
],
“status”: false,
“to”: “0x2d32acad9e7747c8faabfa06af1e1d5055df9518”,
“transactionHash”: “0x46c90b8eaba62004b1ee130550714d7a8660e07afbe3484845ca2bd5e247b0b2”,
“transactionIndex”: 21,
“type”: “TxTypeSmartContractExecution”,
“typeInt”: 48,
“value”: “0x0”
}

안녕하세요

public node가 사용량이 많을 때는 느릴 수 있습니다.

잠시 기다리시거나 로컬 환경에서 실행하여 테스트해 보시면 됩니다.

바오밥 환경은 그렇게 큰 용량이 아니니

아래 간단하게 docker-compose로 실행해 보실 수 있습니다.