-
Notifications
You must be signed in to change notification settings - Fork 198
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
[MERGE] dev into feat-scheduled-sc-execution #3341
Conversation
SebastianMarian
commented
Aug 9, 2021
- Merged dev in feat scheduled sc execution
Merge dev in outport
Merge last dev outport
# 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
Merge dev into outport
# Conflicts: # factory/consensusComponents.go # integrationTests/testSyncNode.go # node/nodeRunner.go # process/sync/argBootstrapper.go # process/sync/metablock.go # process/sync/shardblock.go
Merge dev in outport 25 06
# Conflicts: # node/nodeRunner.go # testscommon/hasherStub.go
Dev feat outport 02 07
- multisig stubs/mocks cleanup
New crypto repo reference & multisigner mocks cleanup
# Conflicts: # consensus/spos/sposFactory/sposFactory.go # go.mod # go.sum
…8.02 Dev outport driver 2021.08.02
Feat/outport driver
- 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
Fixed formatting in api.toml
Arwen v1.3.28
Refactoring tasks
update gas Schedules
New indexer indexes
# 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
|
||
// 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) |
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.
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.