# 트렌젝션 생성중에 오류가 발생했습니다. (Fail : ErrExecutionReverted - uint(0x09))

**URL:** <https://devforum.kaia.io/t/fail-errexecutionreverted-uint-0x09/125>\
**Category:** Kaia\
**Created:** [3월 13, 2020, 2:10오후 UTC](https://devforum.kaia.io/t/fail-errexecutionreverted-uint-0x09/125 "2020-03-13T14:10:36Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Computer\_Algorithm](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/computer_algorithm/32/83_2.png) [@Computer\_Algorithm](https://devforum.kaia.io/u/Computer_Algorithm)\
**Post date:** [3월 13, 2020, 2:10오후 UTC](https://devforum.kaia.io/t/fail-errexecutionreverted-uint-0x09/125/1 "2020-03-13T14:10:36Z")

</div>

Fail : ErrExecutionReverted - uint(0x09)

해당 에러때문에 토큰전송이 계속해서 실패하고 있습니다.

해당 에러가 발생한 이유와 해결책을 알고싶습니다.

---

<div class="post-metadata">

**Author:** ![colin.kim](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/colin.kim/32/55_2.png) [@colin.kim](https://devforum.kaia.io/u/colin.kim)\
**Post date:** [3월 13, 2020, 3:51오후 UTC](https://devforum.kaia.io/t/fail-errexecutionreverted-uint-0x09/125/2 "2020-03-13T15:51:34Z")

</div>

안녕하세요, 해당 에러는 트랜잭션을 실행하다가 실행이 중지된 경우입니다. 그 이유는 다양합니다. 그 중 일부는 아래와 같습니다.

- gas 부족
- 스마트 컨트랙트 실행 중 require()문에서 실패
- 코드 실행 중 잘못된 실행 코드

테스트넷인 Baobab이나 메인넷인 Cypress에서 실행하신 트랜잭션이라면 tx hash를 알려주시면 revert된 원인을 좀 더 분석할 수 있을 것 같습니다.

---

<div class="post-metadata">

**Author:** ![Computer\_Algorithm](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/computer_algorithm/32/83_2.png) [@Computer\_Algorithm](https://devforum.kaia.io/u/Computer_Algorithm)\
**Post date:** [3월 14, 2020, 5:58오전 UTC](https://devforum.kaia.io/t/fail-errexecutionreverted-uint-0x09/125/3 "2020-03-14T05:58:17Z")

</div>

답변 감사합니다. 가스문제는 아닌것 같습니다.

아래는 해당 트렌젝션입니다.

> **[Klaytnscope](https://scope.klaytn.com/tx/0x71aea435ef6d21bd7b6dac3d97ed2731a39b93e9881459535fed62ed5f1249f4)**
>
> Klaytnscope allows you to find data by monitoring network health and statistics of Klaytn as well as profiling blocks and transactions on Klaytn.

---

<div class="post-metadata">

**Author:** ![colin.kim](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/colin.kim/32/55_2.png) [@colin.kim](https://devforum.kaia.io/u/colin.kim)\
**Post date:** [3월 14, 2020, 6:31오전 UTC](https://devforum.kaia.io/t/fail-errexecutionreverted-uint-0x09/125/4 "2020-03-14T06:31:35Z")

</div>

안녕하세요, 해당 컨트랙트의 코드를 알려주실 수 있으실까요? revert되었을 경우, 해당 에러를 debug.traceTransaction()을 통해서 확인할 수 있는데, 에러가 나오지 않네요.

참고로, 저 함수를 직접 실행해보시기 위해서는 별도의 EN노드를 띄우셔야 합니다.

---

<div class="post-metadata">

**Author:** ![Computer\_Algorithm](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/computer_algorithm/32/83_2.png) [@Computer\_Algorithm](https://devforum.kaia.io/u/Computer_Algorithm)\
**Post date:** [3월 14, 2020, 6:34오전 UTC](https://devforum.kaia.io/t/fail-errexecutionreverted-uint-0x09/125/5 "2020-03-14T06:34:05Z")

</div>

그렇군요. 노바월렛을 통해서 전송을 시도한거라 해당 컨트랙트 코드 열람이 불가합니다. 저 트젝이랑 지갑은 노바월렛에서 생성된 것입니다. 저 에러때문에 계속해서 전송에 실패하고 있어서 꽤나 난감한 상황이네요.

---

<div class="post-metadata">

**Author:** ![colin.kim](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/colin.kim/32/55_2.png) [@colin.kim](https://devforum.kaia.io/u/colin.kim)\
**Post date:** [3월 14, 2020, 6:45오전 UTC](https://devforum.kaia.io/t/fail-errexecutionreverted-uint-0x09/125/6 "2020-03-14T06:45:54Z")

</div>

예, 그렇다면 노바월렛과 논의를 하셔야 할 것 같습니다. 무슨 전송인가요?

---

<div class="post-metadata">

**Author:** ![Computer\_Algorithm](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/computer_algorithm/32/83_2.png) [@Computer\_Algorithm](https://devforum.kaia.io/u/Computer_Algorithm)\
**Post date:** [3월 14, 2020, 6:50오전 UTC](https://devforum.kaia.io/t/fail-errexecutionreverted-uint-0x09/125/7 "2020-03-14T06:50:00Z")

</div>

COSM 토큰 전송입니다. 근데 궁금한게, 노바월렛의 지갑을 클레이튼 웹 월렛으로 임포트한 뒤에 트젝을 시도해도 똑같은 문제가 발생해서 조금 혼란스럽습니다.

---

<div class="post-metadata">

**Author:** ![colin.kim](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/colin.kim/32/55_2.png) [@colin.kim](https://devforum.kaia.io/u/colin.kim)\
**Post date:** [3월 14, 2020, 7:09오전 UTC](https://devforum.kaia.io/t/fail-errexecutionreverted-uint-0x09/125/8 "2020-03-14T07:09:51Z")

</div>

실제 컨트랙트가 어떻게 동작하느냐가 중요할 것 같네요. COSM 토큰의 구현에 따라 결정되는 부분이라서요. 현재는 어떤 revert message도 확인되지 않아서 어떤 오류인지는 판단하기 어려울 것 같습니다. 노바월렛 & COSM 측과 논의를 하셔야 할 것 같습니다.

---

<div class="post-metadata">

**Author:** ![Computer\_Algorithm](https://yyz1.discourse-cdn.com/flex035/user_avatar/devforum.kaia.io/computer_algorithm/32/83_2.png) [@Computer\_Algorithm](https://devforum.kaia.io/u/Computer_Algorithm)\
**Post date:** [3월 14, 2020, 8:37오전 UTC](https://devforum.kaia.io/t/fail-errexecutionreverted-uint-0x09/125/9 "2020-03-14T08:37:02Z")

</div>

네 알겠습니다. 노바월렛과 컨텍해보겠습니다. 답변 감사합니다!
