No slot events with --initial-state
See original GitHub issueWhen running Teku using --initial-state
it seems to load fine but then only logs epoch events. Please note, that there are no logs for slot events (i.e. silence on stdout for several minutes)
13:01:39.371 INFO - Loading initial state from /var/teku/data/teku-state.ssz
13:01:51.218 INFO - Loaded initial state at slot 72304 (state root = 0x81ab60d77a872e55ad51c5793481b0fe7e66739f8f55603beddb87c6d535b59f, block root = 0xd4163f729af9c92481dfcebab3ed8769041f1cc4cf053159fee702369743d288)
13:01:51.288 INFO - Initializing storage
13:01:51.297 INFO - Storage initialization complete
13:01:56.332 INFO - Generated new p2p private key and storing in: generated-node-key
13:01:57.716 INFO - PreGenesis Local ENR: enr:-KG4QEb4EK1pd8x0oAO-6GSNkbii2jPkMBOK2anIVU25-HuoT1l18DDz22HVjVU2XoxsiqI3oufeMiBKiGx8tkZ9rocChGV0aDKQ9aX9QgAAAAD__________4JpZIJ2NIJpcISsEgACiXNlY3AyNTZrMaEDMefY-hI6SP4NWnBo0ZYWUwP7EaeYwc4N1tqI72MUkf6DdGNwgiMog3VkcIIjKA
13:01:58.176 INFO - Logging initialized @28208ms to org.eclipse.jetty.util.log.Slf4jLog
13:01:58.539 INFO - Starting libp2p network...
13:01:58.603 INFO - Listening for connections on: /ip4/172.18.0.2/tcp/9000/p2p/16Uiu2HAmG1oNhgvQnW4RKTr8Cp1X9ercbcLcTjRGiLkaWCGjXAkD
13:01:58.633 INFO - Starting discovery server on UDP port 9000
13:01:58.666 INFO - UDP discovery client started
13:01:58.763 INFO - Begin historical sync of blocks prior to slot 72304
13:01:58.767 INFO - Starting Javalin ...
13:01:58.972 INFO - jetty-9.4.31.v20200723; built: 2020-07-23T17:57:36.812Z; git: 450ba27947e13e66baa8cd1ce7e85a4461cacc1d; jvm 15.0.1+9-18
13:01:59.344 INFO - Started ServerConnector@35571023{HTTP/1.1, (http/1.1)}{0.0.0.0:5051}
13:01:59.348 INFO - Started @29381ms
13:01:59.349 INFO - Listening on http://localhost:5051/
13:01:59.350 INFO - Javalin started in 591ms \o/
13:01:59.459 INFO - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
13:01:59.603 INFO - Local ENR: enr:-KG4QM1CJnjnGxFB50oRxlCXVrv-1tMBkoser60jxKKr-61AY05p5C8flhUoWt8c0I7d5T3-5yIUeBgJcXx1kfV-8GwDhGV0aDKQtTA_KgAAAAD__________4JpZIJ2NIJpcISsEgACiXNlY3AyNTZrMaEDMefY-hI6SP4NWnBo0ZYWUwP7EaeYwc4N1tqI72MUkf6DdGNwgiMog3VkcIIjKA
13:04:23.443 INFO - Epoch Event *** Epoch: 2260, Justified checkpoint: 2260, Finalized checkpoint: 2260, Finalized root: d4163f..d288
13:10:47.439 INFO - Epoch Event *** Epoch: 2261, Justified checkpoint: 2260, Finalized checkpoint: 2260, Finalized root: d4163f..d288
13:10:47.499 INFO - Attestation performance: expected 0, produced 0, included 0 (0%), distance 0 / 0.00 / 0, correct target 0 (0%), correct head 0 (0%)
13:17:11.437 INFO - Epoch Event *** Epoch: 2262, Justified checkpoint: 2260, Finalized checkpoint: 2260, Finalized root: d4163f..d288
13:17:11.443 INFO - Attestation performance: expected 0, produced 0, included 0 (0%), distance 0 / 0.00 / 0, correct target 0 (0%), correct head 0 (0%)
13:23:35.437 INFO - Epoch Event *** Epoch: 2263, Justified checkpoint: 2260, Finalized checkpoint: 2260, Finalized root: d4163f..d288
Perhaps related to that, I further see …
13:23:39.637 WARN - Failed to import block from peer (err: UNKNOWN_PARENT) SignedBeaconBlock{message=BeaconBlock{root=0x171f757ebfd748ab7b884821f54e1948d4468be7ad2fcf4444b9cc52f1d88526, slot=72321, proposer_index=9325, parent_root=0x323dd0e75a6c078a468787d2e1e35db6fcda46f41035407d3e707cc7b5465690, state_root=0x29afdb0f27225a2f4bf7bc04b11f462cffaf58538801239d6804a7c10fd54770, body=0xd84ceb100a10398e54ef2ee48144c6cf2e8f7fb554338a8689c7d9672ec8dc3b}, signature=0xab12e91e8ae247866e38773e8ca3037a5a874a42bcded9158219b464db2abdccc69d2330bd6fe8660be351ec7a90fb19160be072bee846b421efa1a3aa07dc06d1998223909bde405667b5435e54e23587f85f778d35c693f17be30ff72c3c1b}: DefaultEth2Peer{id=16Uiu2HAm6fLmHr3MvUHVhRbew7qD7W34CMoCLowakRRAqLVSyhex, remoteStatus=Optional[PeerStatus{forkDigest=0xb5303f2a, finalizedRoot=0xf8e0d085a7e1e94a4e66d44fb90e0b93bb8afea8d6b77f8b031d3aeb2097673b, finalizedEpoch=2261, headRoot=0xae08c48fc7a95c9ce105955b080fe82dc245516a95f4229c6da1999083c8227d, headSlot=72416}]}
13:23:44.874 WARN - Failed to import block from peer (err: UNKNOWN_PARENT) SignedBeaconBlock{message=BeaconBlock{root=0x171f757ebfd748ab7b884821f54e1948d4468be7ad2fcf4444b9cc52f1d88526, slot=72321, proposer_index=9325, parent_root=0x323dd0e75a6c078a468787d2e1e35db6fcda46f41035407d3e707cc7b5465690, state_root=0x29afdb0f27225a2f4bf7bc04b11f462cffaf58538801239d6804a7c10fd54770, body=0xd84ceb100a10398e54ef2ee48144c6cf2e8f7fb554338a8689c7d9672ec8dc3b}, signature=0xab12e91e8ae247866e38773e8ca3037a5a874a42bcded9158219b464db2abdccc69d2330bd6fe8660be351ec7a90fb19160be072bee846b421efa1a3aa07dc06d1998223909bde405667b5435e54e23587f85f778d35c693f17be30ff72c3c1b}: DefaultEth2Peer{id=16Uiu2HAkzmMizseY9FteUySacPV1u8np4NcKGVvKavh7ZFFhZsce, remoteStatus=Optional[PeerStatus{forkDigest=0xb5303f2a, finalizedRoot=0xf8e0d085a7e1e94a4e66d44fb90e0b93bb8afea8d6b77f8b031d3aeb2097673b, finalizedEpoch=2261, headRoot=0xae08c48fc7a95c9ce105955b080fe82dc245516a95f4229c6da1999083c8227d, headSlot=72416}]}
13:23:44.876 ERROR - Encountered error while processing response
java.util.ConcurrentModificationException: null
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1631) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.IntPipeline.reduce(IntPipeline.java:491) ~[?:?]
at java.util.stream.IntPipeline.sum(IntPipeline.java:449) ~[?:?]
at tech.pegasys.teku.networking.eth2.rpc.core.encodings.compression.snappy.SnappyFramedCompressor$SnappyFramedDecompressor.decodeOneMessage(SnappyFramedCompressor.java:72) ~[teku-networking-eth2-20.12.0.jar:20.12.0]
at tech.pegasys.teku.networking.eth2.rpc.core.encodings.LengthPrefixedPayloadDecoder.decodeOneMessage(LengthPrefixedPayloadDecoder.java:75) ~[teku-networking-eth2-20.12.0.jar:20.12.0]
at tech.pegasys.teku.networking.eth2.rpc.core.RpcResponseDecoder.decodeNextResponse(RpcResponseDecoder.java:75) ~[teku-networking-eth2-20.12.0.jar:20.12.0]
at tech.pegasys.teku.networking.eth2.rpc.core.RpcResponseDecoder.decodeNextResponses(RpcResponseDecoder.java:50) ~[teku-networking-eth2-20.12.0.jar:20.12.0]
at tech.pegasys.teku.networking.eth2.rpc.core.Eth2OutgoingRequestHandler.processData(Eth2OutgoingRequestHandler.java:121) ~[teku-networking-eth2-20.12.0.jar:20.12.0]
at tech.pegasys.teku.networking.p2p.libp2p.rpc.RpcHandler$Controller.lambda$channelRead0$0(RpcHandler.java:146) ~[teku-networking-p2p-20.12.0.jar:20.12.0]
at java.util.Optional.ifPresentOrElse(Optional.java:194) [?:?]
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
QStatemachine to trigger signal: connected slots not called
1 Answer 1 · Create the state machine in the widget/object constructor, and do it only once. · Add a QSignalTransition to trigger...
Read more >PyQt6 Signals, Slots and Events - Python GUIs
In Qt, this is provided by signals and slots or events. ... The .clicked signal is no exception, also providing a checked (or...
Read more >Is it possible to emit event from component inside slot #4332
It seems you are trying to make a slot container communicate with a slot child - in most cases this means the two...
Read more >Azure Functions deployment slots | Microsoft Learn
Learn to create and use deployment slots with Azure Functions.
Read more >Event Scheduling Setup Guide - pickAtime.com
Remove Slots ‐ individual scheduling exceptions Then select your event from the list and click on the button. Select the Appointments tab.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, the node is up and running in < 2min
GREAT WORK!
Yes, that’s right. You need to pull the “finalized” state rather than the “head” state.
It’s difficult to detect bad initial states in all cases, but there are probably some warnings we could add - I’ll look into it 👍