• 카테고리

    질문 & 답변
  • 세부 분야

    블록체인

  • 해결 여부

    미해결

테스트넷 배포시 에러

21.05.02 16:00 작성 조회수 154

1

Unable to decode sender address from transaction: Incompatible EIP155-based V 37 and chain id 4. See the Common parameter of the Transaction constructor to set the chain id..

Rinkeby 테스트넷 배포하려는데 이렇게 뜨는데 어떻게 해야할까요? ㅜ

metamask privatekey랑 API endpoint는 다 확인했습니다ㅜ

답변 1

답변을 작성해보세요.

1

음... 오랜만에 해보니... 저도 안되는군요? 🤣

찾아보니 유사한 이슈가 좀 있는 것 같습니다.  방금 트러플 가장 최근 버전(5.3.4)으로 업그레이드하고 나서 배포를 했는데도 동일한 에러는 아니지만 chainId 와 관련된 문제로 인해 Rinkeby에 배포가 안되었습니다.

현재 @truffle/hdwallet-provider는 1.3인데 @truffle/hdwallet-provider@1.2.6 으로 낮춰서 재설치하니 배포가 됩니다. 그래서 @truffle/hdwallet-provider 버전을 확인하시고 1.2.6 정도로 다운그레이드 한 후에 다시 시도해보시기 바랍니다.

제가 테스트 삼아 배포한 컨트랙트는 이더스캔에서 확인할 수 있습니다.

https://rinkeby.etherscan.io/address/0x2B90920b4946B843DEA81A204C413637216653a7