-
Notifications
You must be signed in to change notification settings - Fork 205
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
Feat/balance data tries #4636
Merged
Merged
Feat/balance data tries #4636
Conversation
This file contains 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
…ata-trie Add hasher to trackable data trie
…ie-tracker Add marshaller to data trie tracker
….4.0-to-feat/balance-data-tries # Conflicts: # integrationTests/testInitializer.go # integrationTests/vm/testInitializer.go # state/trackableDataTrie_test.go
…eat/balance-data-tries 28.10 merge rc/1.4.0 to feat/balance data tries
…llLeavesOnChannel
…data-trie Enable epochs handler to data trie
Data trie value
# Conflicts: # epochStart/metachain/systemSCs.go # integrationTests/testProcessorNode.go # node/node.go # node/trieIterators/delegatedListProcessor.go # node/trieIterators/directStakedListProcessor.go # node/trieIterators/stakeValuesProcessor.go
Hash keys for data tries
remove key size from total leaf size computation
…in-feat/balance-data-tries-23may # Conflicts: # api/errors/errors.go # api/mock/facadeStub.go # common/enablers/enableEpochsHandler.go # common/enablers/enableEpochsHandler_test.go # common/enablers/epochFlags.go # common/interface.go # config/epochConfig.go # errors/errors.go # facade/initial/initialNodeFacade_test.go # facade/mock/nodeStub.go # factory/processing/processComponents.go # factory/statusCore/statusCoreComponents_test.go # go.mod # go.sum # integrationTests/interface.go # outport/factory/notifierFactory_test.go # outport/notifier/eventNotifier_test.go # sharding/mock/enableEpochsHandlerMock.go # testscommon/components/default.go # testscommon/enableEpochsHandlerMock/enableEpochsHandlerStub.go # trie/trieStorageManager_test.go # vm/systemSmartContracts/governance_test.go # vm/systemSmartContracts/validator_test.go
…nce-data-tries-23may Merge rc/v1.6.0 in feat/balance data tries 23may
…in-feat/balance-data-tries-24may # Conflicts: # dataRetriever/factory/storageRequestersContainer/baseRequestersContainerFactory.go # dataRetriever/factory/storageRequestersContainer/metaRequestersContainerFactory.go # dataRetriever/factory/storageRequestersContainer/shardRequestersContainerFactory.go # epochStart/metachain/baseRewards_test.go # epochStart/metachain/systemSCs_test.go # errors/errors.go # factory/processing/blockProcessorCreator_test.go # factory/state/stateComponents.go # genesis/process/genesisBlockCreator.go # genesis/process/genesisBlockCreator_test.go # go.mod # go.sum # integrationTests/benchmarks/loadFromTrie_test.go # integrationTests/state/stateTrieClose/stateTrieClose_test.go # integrationTests/testProcessorNode.go # integrationTests/vm/testInitializer.go # state/accountsDB.go # state/syncer/errors.go # testscommon/components/components.go # trie/branchNode.go # trie/branchNode_test.go # trie/doubleListSync_test.go # trie/errors.go # trie/extensionNode.go # trie/extensionNode_test.go # trie/factory/trieCreator.go # trie/factory/trieCreator_test.go # trie/interface.go # trie/leafNode.go # trie/patriciaMerkleTrie.go # trie/patriciaMerkleTrie_test.go # trie/trieStorageManager_test.go # update/genesis/import.go
…in-feat/balance-data-tries-24may # Conflicts: # go.mod # go.sum
…nce-data-tries-24may Merge rc/v1.6.0 in feat/balance data tries 24may
BeniaminDrasovean
added
type:feature
New feature or request
area:trie
complexity:high
impact:high
interested:protocol
size:large
labels
May 25, 2023
…poch change epoch in which autoBalanceDataTries is enabled
…nce-data-tries-29may # Conflicts: # common/enablers/enableEpochsHandler.go # common/enablers/epochFlags.go # common/interface.go # go.mod # go.sum # sharding/mock/enableEpochsHandlerMock.go # testscommon/enableEpochsHandlerMock/enableEpochsHandlerStub.go
…es-29may Update feat/balance data tries 29may
…feat/balance-data-tries update go mod
…leases add proper releases
iulianpascalau
approved these changes
May 30, 2023
gabi-vuls
approved these changes
May 30, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System test passed
ssd04
approved these changes
May 30, 2023
sasurobert
approved these changes
May 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:trie
complexity:high
impact:high
interested:protocol
size:large
type:feature
New feature or request
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.
Reasoning behind the pull request
Proposed changes
Version
field to trie nodes. Nodes that are accessed will be automatically migrated to the new version (where the storage key is hash(key))Testing procedure
Pre-requisites
Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
feat
branch created?feat
branch merging, do all satellite projects have a proper tag insidego.mod
?