Proposer Should Add Block to Cache When Building the Block
Maintainers usually reply within 1 day
Assessment
This issue has not been assessed yet.
Description
Otherwise, if we have only notarized a block and then try and build/verify the next block we will not be able to fetch it's parent.
Some logs from an instance test that was flaking
[09-01|10:45:02.507] DEBUG msm/msm.go:370 Error while deciding whether to build a block {"test": "TestInstance_OfflineDuringTransition", "myNodeID": 3, "error": "context canceled"}
[09-01|10:45:02.507] DEBUG simplex/epoch.go:2847 Not starting monitoring for block notarization because we were cancelled while waiting for block to be built {"test": "TestInstance_OfflineDuringTransition", "myNodeID": 3, "epoch round": 2, "monitored round": 2}
[09-01|10:45:02.507] DEBUG simplex/monitor.go:89 Task executed {"test": "TestInstance_OfflineDuringTransition", "myNodeID": 3, "taskID": 30}
[09-01|10:45:02.507] DEBUG simplex/monitor.go:87 Executing f {"test": "TestInstance_OfflineDuringTransition", "myNodeID": 3, "taskID": 31}
[09-01|10:45:02.507] DEBUG msm/msm.go:303 WaitForPendingBlock failed to get block {"test": "TestInstance_OfflineDuringTransition", "myNodeID": 3, "seq": 2, "error": "block not found"}
- Dominant language
- Go
- Stars
- 22
- Forks
- 4
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 19
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ava-labs/Simplex
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 40/100
Maintainers usually reply within 1 day
-
Verification accepts aux info appends after the history is sufficient, changing the approval digestOpen
Difficulty 3/5 1-2 days Newbie friendliness 74/100
Maintainers usually reply within 1 day
All issues in ava-labs/Simplex
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
open-telemetry/opentelemetry-go-compile-instrumentation#1467 ·
Maintainers usually reply within 3 days
-
Python 3.15 supportPossibly taken @amnesiaof claimed this today. OpenL: python L: python:uv
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dependabot/dependabot-core#16524 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
duplication
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openvibely/openvibely#1443 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
canonical/service-mesh#845 ·
Maintainers usually reply within 1 day