question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

anachrophobia strikes vat v18 on restarting agoric on mainnet

See original GitHub issue

Update: patch available

see https://github.com/Agoric/agoric-sdk/issues/6588#issuecomment-1348728658

Original report

Had to restart node in order to put gas prices and node keeps crashing because of the following error

2022-11-18T15:23:06.120Z SwingSet: xsnap: v14: UnhandledPromiseRejectionWarning: No quorum
2022-11-18T15:23:06.343Z SwingSet: xsnap: v14: UnhandledPromiseRejectionWarning: No quorum
2022-11-18T15:23:06.367Z SwingSet: xsnap: v14: UnhandledPromiseRejectionWarning: No quorum
2022-11-18T15:23:06.393Z SwingSet: xsnap: v14: UnhandledPromiseRejectionWarning: No quorum
2022-11-18T15:23:36.075Z SwingSet: kernel: anachrophobia strikes vat v18
2022-11-18T15:23:36.075Z SwingSet: kernel: expected: {"0":"vatstoreGet","1":"vc.1096.|schemata","length":2}
2022-11-18T15:23:36.075Z SwingSet: kernel: got     : {"0":"vatstoreGetAfter","1":"","2":"vc.1096.","3":"vc.1096.{","length":4}
portHandler threw (Error#1)
Error#1: historical inaccuracy in replay of v18
  at requireIdentical (.../swingset-vat/src/kernel/vat-loader/transcript.js:8:8)
  at Object.simulateSyscall (.../swingset-vat/src/kernel/vat-loader/transcript.js:63:22)
  at Object.syscallFromWorker (.../swingset-vat/src/kernel/vat-loader/manager-helper.js:249:30)
  at handleUpstream (.../swingset-vat/src/kernel/vat-loader/manager-subprocess-xsnap.js:86:11)
  at handleCommand (.../swingset-vat/src/kernel/vat-loader/manager-subprocess-xsnap.js:109:14)
  at runToIdle (packages/xsnap/src/xsnap.js:208:37)
  at runMicrotasks (<anonymous>)
Cannot initialize Controller Error: historical inaccuracy in replay of v18
agd.service: Main process exited, code=exited, status=1/FAILURE
agd.service: Failed with result 'exit-code'.

Issue Analytics

  • State:open
  • Created 10 months ago
  • Reactions:1
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
mhofmancommented, Dec 13, 2022

I have now 2 different node operators that have confirmed the patch of the #6664 PR fixes their inability to restart due to this anachrophobia error.

For reference, in agoric-sdk:

curl https://patch-diff.githubusercontent.com/raw/Agoric/agoric-sdk/pull/6664.diff | patch -p1
1reaction
AlexDCryptoCcommented, Nov 29, 2022

I fetched into the same issue with stake2earn validator after restart. I had to re-sync from a snapshot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Agoric's Composable Smart Contract Framework Reaches ...
Agoric reached a major milestone with the launch of mainnet-1 on Thursday, October 27, 2022. Build Contracts with Our Composable Toolkit.
Read more >
Mainnet Phase 0 Launch - Agoric
After Phase 0, the pedal hits the metal. Phase 1: Will launch the Agoric virtual machine, the RUN token and protocol, vault contracts...
Read more >
Mainnet-1 is live! - Agoric
Agoric's Composable Smart Contract Framework Reaches Mainnet-1 Milestone ... Agoric reached a major milestone with the launch of mainnet-1 on Thursday, October 27 ......
Read more >
FAQs - Agoric Papers
When are the Agoric mainnet and token sale? Our current plan is to release mainnet in the summer of 2021. The timing for...
Read more >
Blog - Agoric
Announcing 5 Dapps to Launch on Agoric Mainnet. We're thrilled to announce five decentralized applications building towards the launch of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found