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 rc v1.4.0 in multisigner #4524

Merged
merged 295 commits into from
Sep 28, 2022

Conversation

iulianpascalau
Copy link
Contributor

Description of the reasoning behind the pull request (what feature was missing / how the problem was manifesting itself / what was the motive behind the refactoring)

  • merge

Proposed Changes

  • merge

Testing procedure

  • N/A

ssd04 and others added 30 commits August 1, 2022 14:15
…osk-bls-multisigner

Merge rc july into feat kosk bls multisigner
…nter-issue

Fix linter issue: remove unused function
…snapshot-nodes

# Conflicts:
#	common/interface.go
#	integrationTests/state/stateTrieSync/stateTrieSync_test.go
#	state/accountsDB.go
#	state/accountsDB_test.go
#	state/peerAccountsDB.go
#	state/peerAccountsDB_test.go
#	testscommon/storageManagerStub.go
#	testscommon/trie/trieStub.go
#	trie/patriciaMerkleTrie_test.go
#	trie/trieStorageManager.go
#	trie/trieStorageManagerWithoutCheckpoints.go
#	trie/trieStorageManagerWithoutCheckpoints_test.go
#	trie/trieStorageManagerWithoutPruning.go
#	trie/trieStorageManagerWithoutPruning_test.go
#	trie/trieStorageManager_test.go
# Conflicts:
#	update/factory/dataTrieFactory.go
iulianpascalau and others added 20 commits September 23, 2022 16:04
…rc-v1.4.0

Update p2p separate repo rc v1.4.0
v1.3.42-dev-config compatible configs
…rc-v1.4.0

Update separate p2p repo rc v1.4.0
…ltisigner

# Conflicts:
#	consensus/interface.go
#	consensus/spos/bls/subroundSignature.go
#	consensus/spos/errors.go
#	consensus/spos/subround_test.go
#	errors/errors.go
#	factory/crypto/cryptoComponents.go
#	factory/crypto/cryptoComponentsHandler.go
#	factory/crypto/cryptoComponents_test.go
#	factory/heartbeatV2Components_test.go
#	factory/mock/cryptoComponentsMock.go
#	integrationTests/consensus/testInitializer.go
#	integrationTests/mock/cryptoComponentsStub.go
#	integrationTests/testProcessorNode.go
#	node/mock/factory/cryptoComponentsStub.go
#	node/nodeTesting_test.go
#	p2p/crypto/p2pSigner.go
#	p2p/crypto/p2pSigner_test.go
#	p2p/libp2p/interface.go
#	p2p/libp2p/mockMessenger.go
#	p2p/libp2p/netMessenger.go
#	p2p/libp2p/netMessenger_test.go
#	p2p/p2p.go
@iulianpascalau iulianpascalau self-assigned this Sep 28, 2022
@iulianpascalau iulianpascalau added the ignore-for-release-notes Do not include item in release notes label Sep 28, 2022
sstanculeanu
sstanculeanu previously approved these changes Sep 28, 2022
continue
}

managedPrivateKeyBytes, err := managedPrivateKey.ToByteArray()
Copy link
Contributor

Choose a reason for hiding this comment

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

signature handler was supposed to do itself the management of private keys and signing and move that out of the consensus, but here it is partially moved into consensus again.
Maybe add a todo and I will do the refactor, or you can move the management into the signature handler.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added TODO

@@ -153,6 +153,7 @@ type ScheduledProcessor interface {
type SignatureHandler interface {
Reset(pubKeys []string) error
CreateSignatureShare(msg []byte, index uint16, epoch uint32) ([]byte, error)
CreateSignatureShareWithPrivateKey(message []byte, index uint16, epoch uint32, privateKeyBytes []byte) ([]byte, error)
Copy link
Contributor

Choose a reason for hiding this comment

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

this needs to be refactored to remove private key as parameter.
If you add a TODO I can do the refactor.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added TODO

@iulianpascalau iulianpascalau merged commit 7430831 into feat/multisigner Sep 28, 2022
@iulianpascalau iulianpascalau deleted the merge-rc-v1.4.0-in-multisigner branch September 28, 2022 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-for-release-notes Do not include item in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.