컨트랙트 deploy transaction을 대량으로 발생시키는 테스트 중에 아래와 같은 에러가 발생합니다.
2021-09-13 11:49:22 error: libCaver.js:84 exception occured!:
Action: sendSmartContractDeploy
Error: Invalid response: null
at Object.InvalidResponse (/Users/hongjonghyeon/work/bitbucket/dscanner-klaytn/dscanner-klaytn-wapis/node_modules/caver-js/packages/caver-core-helpers/src/errors.js:90:37)
at XMLHttpRequest.request.onreadystatechange (/Users/hongjonghyeon/work/bitbucket/dscanner-klaytn/dscanner-klaytn-wapis/node_modules/caver-js/packages/caver-core-requestmanager/caver-providers-http/src/index.js:103:32)
at XMLHttpRequestEventTarget.dispatchEvent (/Users/hongjonghyeon/work/bitbucket/dscanner-klaytn/dscanner-klaytn-wapis/node_modules/xhr2-cookies/dist/xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (/Users/hongjonghyeon/work/bitbucket/dscanner-klaytn/dscanner-klaytn-wapis/node_modules/xhr2-cookies/dist/xml-http-request.js:208:14)
at XMLHttpRequest._onHttpRequestError (/Users/hongjonghyeon/work/bitbucket/dscanner-klaytn/dscanner-klaytn-wapis/node_modules/xhr2-cookies/dist/xml-http-request.js:349:14)
at ClientRequest. (/Users/hongjonghyeon/work/bitbucket/dscanner-klaytn/dscanner-klaytn-wapis/node_modules/xhr2-cookies/dist/xml-http-request.js:252:61)
at ClientRequest.emit (events.js:376:20)
at Socket.socketErrorListener (_http_client.js:475:9)
at Socket.emit (events.js:376:20)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
한 블록에 여러개의 deploy transaction이 들어가는 구조인데
deploy가 잘 수행되다가 한번씩 위와 같은 에러가 발생하네요.
caver 버전은 1.6.3, 1.6.4 둘 다 사용해보았는데, 동일합니다.
감사합니다.