-
Notifications
You must be signed in to change notification settings - Fork 113
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 v0.9.0 into master #2278
Merged
Merge v0.9.0 into master #2278
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add GoReleaser dry run * Remove unit tests on push * Use --snapshot option * Remove snapshot download * Create fake config.json and snapshot.bin * Remove unnecessary go setup step * Remove -race from unit test execution * Add --rm-dist
…ctions (#2151) * Refactor: started to comment utils * Feat: started refactoring models * Feat: commented ChildBranch * Fix: fixed bug with default options * Refactor: refactored Conflict * Refactor: removed unused code * Feat: finished branchdag refactor * Refactor: refactored some code * Add multithreaded test for solidification and propagation (#2147) * Feat: commented Ledger (models missing) * Add tests for edge cases * remove unused code * Refactor: refactored code * Add tests for childbranches when asserting branch DAG references * Refactor: refactored code * Fix: fixed some refactor bugs * Fix: fixed refactor errors in devnetvm * Feat: go mod tidy * Feat: commented Outputs * Feat: commented more code * Feat: commented models * Refactor: reviewed the code * Refactor: changed more code * Add comments to testframework * Add locks to testframework * Feat: added comments for properties in TestFramework * Start implementing new tangle data flow * Fix: fixed some random things * Feat: started implementing error handling * Fix: fixed some random stuff * Feat: added comment * Feat: added Shutdown calls * Feat: added context to all final events Booked/Invalid * change to improved data flow and embed payloadbooker into booker * Rename ledgerstate to ledgerstateOLD in preparation to get rid of it. Add new ledger to Tangle * WIP * WIP * fix more errors * Feat: added UndefinedBranchID * fix more errors * Feat: refactored comment * Feat: use EventLoop for gossip manager * Feat: fixed some bugs * Fix: fixed some random code * fix more stuff * Feat: more generic events * Feat: started implementing indexer * Feat: more generic events * Feat: more generic events * Feat: more generic events * Feat: more generic events * Feat: added an Indexer for the devnetvm * Fix: fixed more random things * Fix: fixed approvalweightmanager * fix more and more stuff * Feat: more generic events * Fix: fixed more stuff * Fix: fixed more bugs * Feat: more generic events * Feat: upgrade hive.go * Fix: change workerpool in tangle_test * Fix: fixed workerpool * Feat: more generic events * Feat: fixed wallet + client * Fix: fixed some stuff in otv test * Fix: fixed more stuff in otv.test * Feat: more generic events * Fix: remove replace in go.mod * Fix: fixed otv_test * Fix: fixed more stuff * Fix: fixed more stuff * Fix: fixed more ledgerstate references * Fix: removed all references to ledgerstate package * Feat: started adding snapshots * Fix more errors * Fix more stuff * Fix more compile errors, only snapshot left now * Feat: Implemented TransactionConfirmed event (#2168) * Feat: Implemented TransactionConfirmed event * Feat: started implementing mana snapshit * Feat: node builds * Refactor: simplified code by removing some wrappers * Fix: fixed refactor related bugs * Refactor: removed Transaction wrapping * Fix: fixed broken mocks * Update to latest hive.go version and fix out of order event error on startup * Fix permissions in Docker file when mounting volume * Feat: started reworking snapshot logic * Feat: added OutputMetadata snapshot * Feat: added more snapshot stuff * Feat: fixed create snapshot tool * Fix snapshit generation * Fix uninitialized events * Fix: fixed problem in booker * Use eventloop instead of goroutines * Add snapshot to Docker network and index outputs from snapshot when loading it * Fix: fixed waiting in tests * Feat: debug * Fix: fixed some stuff * Fix: removed unused code * debug tests and stuff * Feat: added debug outputs * Fix one issue with out of order test * Hook forking events * Fix: fixed stuff * Fix: fixed some stuff * Feat: refactored solidifier * Fix: fix bug * Fix: booker_test TestScenario_1 * Fix: fixed test * Fix: fixed test * Fix: fixed tests * Fix: fixed otv test * Fix: fixed broken plugins * Fix: fixed go.mod * Fix: fixed some minor things * Fix: fixed go.mod * Fix: fixed broken test * Feat: TSA remove past-cone checks and unconfirmed weak references * Feat: upgraded to latest hive.go * Feat: implemented commitment and proof systems for state commitments * Fix: fixed order in booking * tangle booker test * Fix TestMultiThreadedBookingAndForking * Fix: debug.Enabled race condition * Fix: make tests more solid * Feat: generic branchdag (#2204) * Bump hive version * Remove debugging prints * Bump hive.go to fix serializer/v2 nested module * Fix: TestMultiThreadedBookingAndForking test * Refactor: renamed BranchDAG to ConflictDAG * Refactor: started cleaning up stuff * Fix: code warnings * Feat: removed MasterBranch * Feat: TestMultiThreadedBookingAndForkingNested * Fix: BranchDAG -> ConflictDAG renaming * Faster TestMultiThreadedBookingAndForkingNested * Fix snapshot generation with new snapshotcreator tool * Fix: fixed snapshit * Feat: feed outputs to the messagelayer Indexer * Fix: make sure ConflictIDs are empty sets * Fix snapshot generation for integration tests * Fix common integration tests * Fix autopeering integration test * Remove diagnostics integration tests * Remove drng integration tests * Fix: dashboard * Fix: fixed some tests * Fix: dashboard again * Fix: fixed some stuff * Fix: fixed test * Fix: fixed stuff * Fix: some unit tests * Fix mana integration tests * Fix faucet integration tests * Feat: renamed branchdag * Refactor: moved conflictdag package * Refactor: refactored more conflictdag models * Fix faucet integration tests * Fix value integration tests * Fix nil pointer in conflicts dashboard * Fix reference creation for shallow dislike and TestConflictSpamAndMergeToMaster integration test * Fix consensus integration tests * Run integration tests for multithreaded tangle (#2217) * Adjust runTests.sh * Add missing context import * Fix: dashboard * Refactor: refactored code * Fix: critical - return strongparent as-is if branch liked * Refactor: cleaned up stuff * Merge develop * Revert "Fix: critical - return strongparent as-is if branch liked" This reverts commit 74288b2. * Fix issue where liked branch is not returned when LikedConflictMember is called with the liked branch of the conflict set (#2174) * Add Feature network identities in snapshot creation tool * WIP * Make code compile * Fix output unmarshallimg * Fix: do not evaluate time difference if message approves Genesis * Fix: Faucet properly attach async events * Feat: cleaned up first model * Adjust models in conflict dag * Fix: fixed conflictdag * Fix: fixed some more stuff * fixed test * Ledger tests pass * Ledger tests and devnetvm tests pass again * Fix indexer * Fix objectstorage interface for some objects * Use serix for model.Model serialization * Fix more stuff * Fix: fixed stuff * Refactor: removed unnecessary helper * Feat: cleaned up more code * Refactor: changed to new models * Fix more stuff * Fix snapshit again * Fix: fixed bug with models * Bump hive.go * Few fixes and prints * Feat: added test for outputcommitment * Add manual serialization to Ouput types to enable correct interface (de)serialization * go mod tidy * Fix value test hopefully * Fix unsanitized user input print * Fix: removed unused identifier * Update CHANGELOG.md * Update pkger Co-authored-by: Hans Moog <3293976+hmoog@users.noreply.github.com> Co-authored-by: Andrea V <1577639+karimodm@users.noreply.github.com>
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. - [Release notes](https://github.com/EventSource/eventsource/releases) - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md) - [Commits](EventSource/eventsource@v1.0.7...v1.1.1) --- updated-dependencies: - dependency-name: eventsource dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#2233) Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. - [Release notes](https://github.com/EventSource/eventsource/releases) - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md) - [Commits](EventSource/eventsource@v1.0.7...v1.1.1) --- updated-dependencies: - dependency-name: eventsource dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update MessageMetadata * Update Attachment * refactor stuff * Rework marker models (#2230) * Feat: Started reworking marker models * Feat: updated hive.go everywhere * Fix: upgrade hive.go to use constraints * Fix: more hive.go fixes * Refactor: fixed models * Fix: fixed markersmanager * Fix: fixed some bugs * Feat: added Bytes to Marker * More refactors. * Fix: fixed markers * Fix things * Fix tests * Remove unnecessary code * Fix: fixed more models * Fix: fixed more models * Fix: fixed more models * Fix approval weight manager * Update MessageID to use types.Identifier * Refactor mana structs * Fix: fixed more marker models * Fix: fixed more model * Fix: fixed thresholdmap serialization * Fix: fixed missing serix tag * Fix: fixed missing serix tag * Fix: fixed missing serix tags * Fix: fixed bug? * Fix: fixed model * Fix: added debug outputs * Fix: fixed stuff * Refactor: less debug outputs * Refactor and fix stuff * Fix: Fixed test debug output * Fix: fixe some unnecessary code * Refactor: reverted test * Feat: upgrade hive.go * Feat: changed marker to be non-pointer * Refactor: cleaned up code * Update Message to use storable model * Do not deserialize payload within message by default Co-authored-by: Piotr Macek <piotr.macek@iota.org> Co-authored-by: Hans Moog <3293976+hmoog@users.noreply.github.com>
) Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.0 to 1.1.1. - [Release notes](https://github.com/EventSource/eventsource/releases) - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md) - [Commits](EventSource/eventsource@v1.1.0...v1.1.1) --- updated-dependencies: - dependency-name: eventsource dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Change identity.ID short representation * Update plugins/peer/plugin.go Co-authored-by: Hans Moog <3293976+hmoog@users.noreply.github.com>
Co-authored-by: Andrea V <1577639+karimodm@users.noreply.github.com>
* Remove future markers * Update hive.go version * Remove future markers from dashboard * Update dashboard * Update hive.go in go.mod files * Fix lock * Update hive.go version * Fix go.mod * fix go.sum
* Start refactoring models * Continue refactoring models WIP * Continue refactor * Fix ExtendedLockedOutput * WIP debugging MarkerIndexBranchIDMapping * Fix MarkerIndexBranchIDMapping: due to the embedded type, serix did call Decode on a nil value without initializing it before with reflect.New because it was seeing the outer type markerIndexBranchIDMap * Update code to latest models * Update code to latest models * Update code to latest hive.go * Add tests with -race to github action * Fix go.mod * Fix unit tests * Fix integration tests * Skip long unit test in -race test * Turn off more test for race test * Refactor more models * Fix integration tests * Update go.mod * Run unit tests with -race in separate job and increase timeout * Update packages/tangle/payload/data.go * Fix: fixed bug Co-authored-by: jonastheis <4181434+jonastheis@users.noreply.github.com> Co-authored-by: Hans Moog <3293976+hmoog@users.noreply.github.com>
…ager (#2240) * WIP refactor reference creation * Feat: started fixing TSA * Wire up and fix reference provider * clean up issue payload function * Improve way we select tips * Debugging WIP * Fix parents count when issuing a message * Fix stuff * Feat: refactored sth * Feat: updated hive.go * Fix: fixed some stuff * Fix unit tests * Remove replace in go.mod * Go mod tidy * Fix: fixed race condition in test * Fixed race condition * Feat: push stuff * Update go.mod * Feat: implemented new logic for references * Walk future cone of disliked conflictSetMembers to find all conflicts that are excluded * Refactor: cleaned up code * Feat: started removing Shallow Dislike * Fix: fixed more tests * Fix: fixed more tests * Remove dislike from frontend stuff and update pkger * Do not add subjectively invald blocks to the tipmanager * Fix: fix otv tests * Fix: fixed some stuff * Add conflict/branch inclusion state to dashboard and API * Fix IsBranchConfirmed * Disable tipsForLastBranch functionality * Adjust forking of individually mapped messages according to logic from forking markers (always propagate parent branches forward) * Do not exit earlier to always determine subjectively invalid messages correctly * Fix unit tests * Fix duplicate weak and strong parent when referencing it directly weakly and also via strong parent. Fixes integration test as well. * Refactor: cleaned up some code * Feat: added tracking of missing conflicts * Feat: added error message in tests * Fix: fixed nil references * Fix: fixed missing setup * Fix: removed empty printline * Do not exit earlier to always determine subjectively invalid messages correctly Co-authored-by: jonastheis <4181434+jonastheis@users.noreply.github.com>
* Bump versions * Add changelog
karimodm
approved these changes
Jun 16, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
v0.9.0 - 2022-06-16
The snapshot has been changed and thus the ledger state is fully reset.