Skip to content
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/partial-mb-execution #3965

Merged
merged 84 commits into from
May 24, 2022
Merged

Conversation

SebastianMarian
Copy link
Contributor

Implemented partial execution for mini blocks

# Conflicts:
#	process/coordinator/process.go
* Refactored gas computation component to handle reset/restore per key
* Refactored processCompleteMiniBlock and ProcessMiniBlock methods to handle mini block partial execution
* Refactored ProcessMiniBlock implementation to handle revert situation easily
* Finalized implementation in the metachain notarization side
# Conflicts:
#	config/epochConfig.go
#	genesis/process/shardGenesisBlockCreator.go
#	node/nodeRunner.go
#	process/block/preprocess/basePreProcess.go
#	process/coordinator/process_test.go
* Implemented partial mb execution functionality in processedminiBlocks component
* Fixed getOrderedProcessedMetaBlocksFromMiniBlockHashes method to handle correctly partial mb execution
…erved field

* Added support for displaying construction state of mini blocks and also partial execution details
* Fixed correct set of processed mini blocks on roll back situation
* Fixed processing/verifying fees range in the partial execution situation
* Implemented reserved field creation for shard data mini block headers and epoch start pending mini blocks in metachain
* Implemented setting of correct index processed in pending mini blocks partial executed in epoch start situation
iulianpascalau
iulianpascalau previously approved these changes May 19, 2022
SebastianMarian and others added 4 commits May 23, 2022 17:54
…ion-19.05.2022

# Conflicts:
#	cmd/node/config/enableEpochs.toml
#	config/epochConfig.go
#	factory/interface.go
#	factory/mock/processComponentsStub.go
#	factory/processComponents.go
#	factory/processComponentsHandler.go
#	factory/processComponentsHandler_test.go
#	genesis/process/shardGenesisBlockCreator.go
#	go.mod
#	go.sum
#	integrationTests/mock/processComponentsStub.go
#	integrationTests/testProcessorNode.go
#	node/nodeRunner.go
#	process/errors.go
…al-mb-execution-19.05.2022

Merge dev into feat partial mb execution 23.05.2022
Copy link
Collaborator

@gabi-vuls gabi-vuls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

System test passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants