Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when parsing transaction with a ibc ack message and missing ledger record #500

Open
4 tasks
nullpointer0x00 opened this issue Nov 8, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nullpointer0x00
Copy link
Contributor

Summary of Bug

This error is caused when parsing an Ibc Acknowledge message. It tries to look up a message from a the ibc ledger table that is not there.

 height  | retried | success |                                                                         error_block
----------+---------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------
 18593830 | t       | f       | io.provenance.explorer.domain.exceptions.InvalidArgumentException: No matching IBC ledger record for channel transfer/channel-70, sequence 53447            +
          |         |         |         at io.provenance.explorer.service.async.AsyncCachingV2$saveIbcChannelData$1.invoke(AsyncCachingV2.kt:672)                                           +
          |         |         |         at io.provenance.explorer.service.async.AsyncCachingV2$saveIbcChannelData$1.invoke(AsyncCachingV2.kt:590)                                           +
          |         |         |         at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction$run(ThreadLocalTransactionManager.kt:215)           +
          |         |         |         at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.access$inTopLevelTransaction$run(ThreadLocalTransactionManager.kt:1)      +
          |         |         |         at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt$inTopLevelTransaction$1.invoke(ThreadLocalTransactionManager.kt:241)      +
          |         |         |         at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.keepAndRestoreTransactionRefAfterRun(ThreadLocalTransactionManager.kt:249)+
          |         |         |         at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction(ThreadLocalTransactionManager.kt:240)               +
          |         |         |         at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt$transaction$1.invoke(ThreadLocalTransactionManager.kt:190)                +
          |         |         |         at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.keepAndRestoreTransactionRefAfterRun(ThreadLocalTransactionManager.kt:249)+
          |         |         |         at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:160)                         +
          |         |         |         at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:146)                         +
          |         |         |         at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction$default(ThreadLocalTransactionManager.kt:145)                 +
          |         |         |         at io.provenance.explorer.service.async.AsyncCachingV2.saveIbcChannelData(AsyncCachingV2.kt:590)                                                    +
          |         |         |         at io.provenance.explorer.service.async.AsyncCachingV2.addTxToCache(AsyncCachingV2.kt:311)                                                          +
          |         |         |         at io.provenance.explorer.service.async.AsyncCachingV2.addTxToCacheWithTimestamp(AsyncCachingV2.kt:294)                                             +
          |         |         |         at io.provenance.explorer.service.async.AsyncCachingV2.tryAddTxs(AsyncCachingV2.kt:281)                                                             +
          |         |         |         at io.provenance.explorer.service.async.AsyncCachingV2.addTxsToCache(AsyncCachingV2.kt:264)                                                         +
          |         |         |         at io.provenance.explorer.service.async.AsyncCachingV2.saveTxs(AsyncCachingV2.kt:226)                                                               +
          |         |         |         at io.provenance.explorer.service.async.AsyncCachingV2.saveBlockEtc(AsyncCachingV2.kt:196)                                                          +
          |         |         |         at io.provenance.explorer.service.async.AsyncCachingV2.saveBlockEtc$default(AsyncCachingV2.kt:177)                                                  +
          |         |         |         at io.provenance.explorer.service.async.AsyncService.updateLatestBlockHeightJob(AsyncService.kt:146)                                                +
          |         |         |         at jdk.internal.reflect.GeneratedMethodAccessor569.invoke(Unknown Source)                                                                           +
          |         |         |         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                                                               +
          |         |         |         at java.base/java.lang.reflect.Method.invoke(Unknown Source)                                                                                        +
          |         |         |         at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84)                                              +
          |         |         |         at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)                              +
          |         |         |         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)                                                                    +
          |         |         |         at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)                                                                            +
          |         |         |         at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)                                               +
          |         |         |         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)                                                                      +
          |         |         |         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)                                                                     +
          |         |         |         at java.base/java.lang.Thread.run(Unknown Source)                                                                                                   +

Version

Steps to Reproduce


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant