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

[MERGE] dev into feat-scheduled-sc-execution #3341

Merged

Conversation

SebastianMarian
Copy link
Contributor

  • Merged dev in feat scheduled sc execution

miiu96 and others added 30 commits April 29, 2021 15:08
# Conflicts:
#	cmd/storer2elastic/dataprocessor/dataProcessor.go
#	cmd/storer2elastic/dataprocessor/dataProcessor_test.go
#	cmd/storer2elastic/dataprocessor/errors.go
#	cmd/storer2elastic/dataprocessor/ratingsProcessor.go
#	cmd/storer2elastic/dataprocessor/ratingsProcessor_test.go
#	cmd/storer2elastic/dataprocessor/tpsBenchmarkUpdater.go
#	cmd/storer2elastic/dataprocessor/tpsBenchmarkUpdater_test.go
#	cmd/storer2elastic/elastic/elasticConnector.go
#	cmd/storer2elastic/main.go
#	node/nodeRunner.go
# Conflicts:
#	factory/consensusComponents.go
#	integrationTests/testSyncNode.go
#	node/nodeRunner.go
#	process/sync/argBootstrapper.go
#	process/sync/metablock.go
#	process/sync/shardblock.go
# Conflicts:
#	node/nodeRunner.go
#	testscommon/hasherStub.go
iulianpascalau and others added 23 commits August 1, 2021 15:56
- multisig stubs/mocks cleanup
New crypto repo reference & multisigner mocks cleanup
# Conflicts:
#	consensus/spos/sposFactory/sposFactory.go
#	go.mod
#	go.sum
- EN-9969 - fixed TODOs in factory/containers/vmContainer.go & simplified closing process
- EN-10443 - finalized elrond-go-core integration by dissolving the state/temporary package & mocks/stubs cleanup
# Conflicts:
#	common/constants.go
#	common/statistics/tpsBenchmark.go
#	consensus/mock/mockTestInitializer.go
#	consensus/spos/consensusCoreValidator_test.go
#	consensus/spos/consensusMessageValidator_test.go
#	crypto/signing/mcl/multisig/bls_test.go
#	epochStart/bootstrap/storageEpochStartMetaBlockProcessor.go
#	epochStart/bootstrap/syncValidatorStatus_test.go
#	epochStart/metachain/baseRewards_test.go
#	epochStart/metachain/epochStartData_test.go
#	epochStart/metachain/systemSCs_test.go
#	epochStart/metachain/validators_test.go
#	epochStart/mock/economicsHandlerStub.go
#	epochStart/shardchain/trigger_test.go
#	factory/blockProcessorCreator_test.go
#	factory/consensusComponents.go
#	genesis/process/genesisBlockCreator_test.go
#	go.mod
#	go.sum
#	integrationTests/state/stateTrieClose/stateTrieClose_test.go
#	integrationTests/testProcessorNode.go
#	integrationTests/testProcessorNodeWithMultisigner.go
#	integrationTests/testSyncNode.go
#	integrationTests/vm/arwen/utils.go
#	integrationTests/vm/testInitializer.go
#	mock/hasherMock127.go
#	mock/proto/accountWrapperMock.proto
#	node/nodeBlocks_test.go
#	node/node_test.go
#	process/block/argProcessor.go
#	process/block/baseProcess_test.go
#	process/block/export_test.go
#	process/block/metablock.go
#	process/block/metablock_test.go
#	process/block/preprocess/rewardTxPreProcessor_test.go
#	process/block/preprocess/smartContractResults_test.go
#	process/block/preprocess/transactions_test.go
#	process/block/shardblock_test.go
#	process/coordinator/process_test.go
#	process/coordinator/transactionType_test.go
#	process/factory/interceptorscontainer/shardInterceptorsContainerFactory_test.go
#	process/factory/metachain/intermediateProcessorsContainerFactory_test.go
#	process/factory/metachain/preProcessorsContainerFactory_test.go
#	process/factory/metachain/vmContainerFactory_test.go
#	process/factory/shard/intermediateProcessorsContainerFactory_test.go
#	process/factory/shard/preProcessorsContainerFactory_test.go
#	process/factory/shard/vmContainerFactory_test.go
#	process/headerCheck/headerSignatureVerify_test.go
#	process/interceptors/factory/interceptedMetaHeaderDataFactory_test.go
#	process/peer/process_test.go
#	process/scToProtocol/stakingToPeer_test.go
#	process/smartContract/builtInFunctions/factory_test.go
#	process/smartContract/process_test.go
#	process/sync/argBootstrapper.go
#	process/sync/baseSync.go
#	process/sync/metablock_test.go
#	process/sync/shardblock.go
#	process/sync/shardblock_test.go
#	process/track/baseBlockTrack_test.go
#	process/transaction/metaProcess_test.go
#	process/transaction/shardProcess_test.go
#	state/accountsDB_test.go
#	state/peerAccountsDB_test.go
#	state/storagePruningManager/storagePruningManager_test.go
#	testscommon/economicsmocks/economicsDataHandlerStub.go
#	testscommon/economicsmocks/economicsHandlerMock.go
#	testscommon/economicsmocks/economicsHandlerStub.go
#	testscommon/hasherMock.go
#	testscommon/state/accountWrapperMock.go
#	testscommon/state/accountWrapperMock.proto
#	testscommon/state/proto/accountWrapperMock.proto
#	trie/branchNode_test.go
#	trie/doubleListSync_test.go
#	trie/extensionNode_test.go
#	trie/factory/trieCreator_test.go
#	trie/leafNode_test.go
#	trie/sync_test.go
#	trie/trieStorageManagerWithoutCheckpoints_test.go
#	trie/trieStorageManager_test.go
#	update/genesis/export_test.go
#	update/genesis/import.go
#	update/interface.go
#	update/mock/epochStartTriesSyncHandlerMock.go
#	update/mock/stateSyncStub.go
#	update/process/metaBlock_test.go
#	update/sync/syncAccountsDBs.go
#	vm/systemSmartContracts/esdt_test.go
@SebastianMarian SebastianMarian self-assigned this Aug 9, 2021
@iulianpascalau iulianpascalau self-requested a review August 9, 2021 15:32

// CreateShardHeader creates a shard header from the given byte array
func CreateShardHeader(marshalizer marshal.Marshalizer, hdrBuff []byte) (data.ShardHeaderHandler, error) {
hdr, err := CreateHeaderV2(marshalizer, hdrBuff)
Copy link
Contributor

Choose a reason for hiding this comment

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

An idea to be implemented in the feat branch: what if we specify an epoch (defined in the epoch config file) that states: after this epoch, the node accepts and will decode blocks only with this version. In this way the sub-optimal (try block v2, if it fails, try block v1 and so on) will be temporary.

@AdoAdoAdo AdoAdoAdo merged commit daa23bb into feat/scheduled-sc-execution Aug 9, 2021
@AdoAdoAdo AdoAdoAdo deleted the merge-dev-in-feat-scheduled-sc-execution branch August 9, 2021 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants