-
Notifications
You must be signed in to change notification settings - Fork 146
feat(lib/blocktree): reduce the entries in the runtimes mapping #3151
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
Merged
+1,352
−157
Merged
Changes from 48 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
b972e1c
Stop fork-pruned instances before removing
qdm12 d524c02
Prune in-memory runtimes on canonical chain
qdm12 43f2478
Refactor test
qdm12 1501d92
Rework logic
qdm12 5398c36
Add tests and fix bugs
qdm12 295303e
Keep track of already stopped runtimes
qdm12 7267344
feat: decrease the amount of instances while importing
EclesioMeloJunior 3743a76
Merge branch 'qdm12/hashtoruntime' into eclesio/runtimes-lookup
EclesioMeloJunior 0dc9581
Merge branch 'development' into qdm12/hashtoruntime
EclesioMeloJunior 8071b3a
feat: use a slice and avoid implement a new pruner
EclesioMeloJunior 8a2466a
chore: remove unneeded deltas, adding more metrics to grafana dashboard
EclesioMeloJunior a74d590
chore: remove unneeded comments, remove unneeded `hashToRuntime` fields
EclesioMeloJunior d6bda7b
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior 1947ba8
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior dcd7cab
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior 47c357f
Merge branch 'eclesio/runtimes-lookup' of github.com:ChainSafe/gossam…
EclesioMeloJunior f891c0a
chore: solve `TestService_HandleRuntimeChanges` failures
EclesioMeloJunior dbf7318
chore: fix linting
EclesioMeloJunior 200add3
chore: fix `Test_hashToRuntime_onFinalisation` + add `Test_hashToRunt…
EclesioMeloJunior 44567c3
chore: fix `lib/blocktree` unit tests
EclesioMeloJunior 92a3e53
chore: fix `dot/state` unit tests
EclesioMeloJunior c052671
chore: solve `dot/digest` integration tests
EclesioMeloJunior e5e94fd
Merge branch 'qdm12/hashtoruntime' into eclesio/runtimes-lookup
EclesioMeloJunior 42a428c
chore: add unit test to `lib/blocktree`
EclesioMeloJunior 5fa3b67
chore: fix `TestVerifyForkBlocksWithRespectiveEpochData`
EclesioMeloJunior f1b24fe
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior 76f8de8
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior 1363316
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior 863f291
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior 2400d13
chore: add `go_memstats_heap_released_bytes` to grafana dashboard
EclesioMeloJunior 1e12102
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior e1268ea
chore: add error wrappers
EclesioMeloJunior be64275
Merge branch 'eclesio/runtimes-lookup' of github.com:ChainSafe/gossam…
EclesioMeloJunior da520cb
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior 4383ede
chore: fix lint warns
EclesioMeloJunior e2a1da6
chore: integrate `runtime.GetRuntime` on `TestService_HandleRuntimeCh…
EclesioMeloJunior 3c5aa03
chore: return if no entries in the mapping
EclesioMeloJunior 1c77111
chore: change the panic message
EclesioMeloJunior b4856a0
chore: remove unneded method `closestAncestorWithInstance`
EclesioMeloJunior a83f6e0
chore: address comments
EclesioMeloJunior 2fdaefe
chore: fixes `Test_GetRuntime_StoreRuntime` unit test
EclesioMeloJunior e146edb
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior bc9341f
chore: resolve a shadow declaration
EclesioMeloJunior 7eef1b8
chore: remove panic assertion of `Test_hashToRuntime_onFinalisation` …
EclesioMeloJunior f3fb273
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior 4842ba6
chore: make improvements in `Test_BlockTree_GetBlockRuntime` test
EclesioMeloJunior d7f88fb
Merge branch 'eclesio/runtimes-lookup' of github.com:ChainSafe/gossam…
EclesioMeloJunior cb0cd35
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior 0a28459
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior 54e8dee
chore: move `defer` to below early return
EclesioMeloJunior f7f4e16
Merge branch 'eclesio/runtimes-lookup' of github.com:ChainSafe/gossam…
EclesioMeloJunior f171d25
Merge branch 'development' into eclesio/runtimes-lookup
EclesioMeloJunior File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.