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

Epoch Commitments #2212

Merged
merged 321 commits into from
Jul 5, 2022
Merged

Epoch Commitments #2212

merged 321 commits into from
Jul 5, 2022

Conversation

acha-bill
Copy link
Contributor

@acha-bill acha-bill commented May 18, 2022

Description of change

Finish #2129

This PR includes the implementation of:

  • epoch manager and epoch structures
  • epoch commitment factory and commitment, epoch commitment data structures
  • notarization manager
  • notarization plugin
  • branch rejected event

and the workflow as follow:
Notarization-registered events

Used by Message Factory:
Notarization-MessageFactory

Type of change

  • Breaking change

Change checklist

  • My code follows the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@karimodm
Copy link
Contributor

karimodm commented May 20, 2022

Structure and code look very good, awesome job!!!
There are a few misalignment with what we discussed at ReSum (the VM document is being reviewed), the new time concepts and the refactored UTXO VM: too many things are changing at once; we should strive to review and merge as much stuff as possible soon, so we can patch everything up and transition this PR out of draft mode!

Thanks guys!

daria305 and others added 25 commits June 3, 2022 17:17
…er into feat/epoch-commitment

 Conflicts:
	packages/epoch/types.go
	packages/notarization/commitments.go
	packages/notarization/manager.go
	packages/notarization/storage.go
# Conflicts:
#	packages/notarization/commitments.go
 Conflicts:
	go.mod
	go.sum
	packages/ledger/testframework.go
	packages/tangle/message.go
	packages/tangle/message_test.go
	packages/tangle/messagefactory.go
	packages/tangle/tangle.go
	packages/tangle/tangle_test.go
	packages/tangle/testutils.go
	plugins/core.go
	tools/integration-tests/tester/framework/parameters.go
@karimodm karimodm changed the title Feat/epoch commitment Epoch Commitments Jul 4, 2022
@karimodm karimodm marked this pull request as ready for review July 4, 2022 14:02
@karimodm karimodm requested review from piotrm50 and removed request for karimodm July 4, 2022 14:35
@karimodm karimodm merged commit abde9b0 into develop Jul 5, 2022
@karimodm karimodm deleted the feat/epoch-commitment branch July 5, 2022 08:19
@karimodm karimodm mentioned this pull request Jul 5, 2022
This was referenced Jul 14, 2022
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.

5 participants