-
Notifications
You must be signed in to change notification settings - Fork 75
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
Use new hashing service #2896
Merged
NZT48
merged 74 commits into
feature/final-proximity-scoring-simulation
from
feature/use-new-hashing-service
Jan 30, 2024
Merged
Use new hashing service #2896
Changes from 68 commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
e437ebe
Use hashinService insteast validationModuleManager for new functions
Mihajlo-Pavlovic 2c96044
Update sharding-table-service to use proximityScoringService
Mihajlo-Pavlovic 98c2001
Update findNeighbourhood function calls to use proximityScoreFunction…
Mihajlo-Pavlovic 52567ef
Update epoch-check-command
Mihajlo-Pavlovic bf7ed5a
Update calculateScore function in ServiceAgreementService to use Prox…
Mihajlo-Pavlovic 62665ec
Update commands to use proximityScoreFunctionsPairId
Mihajlo-Pavlovic f9ba6d8
Update bid sugestion controller
Mihajlo-Pavlovic 164ccd6
Update operation commands
Mihajlo-Pavlovic 902838f
Update rpc-controllers to handle reciving proximityScoreFunctionsPairId
Mihajlo-Pavlovic 2cb4d7b
Use getAgreementScoreFunctionId to get proximityScoreFunctionsPairId …
Mihajlo-Pavlovic 0d4f0ef
Update bid-suggerstion-schema to include proximityScoreFunctionsPairId
Mihajlo-Pavlovic 6d5747f
Add test to check publish, get, update handling of hashFunctionId & s…
Mihajlo-Pavlovic f02a2a5
Add bid suggestion tests
Mihajlo-Pavlovic 85b1d4a
Fix updated code
Mihajlo-Pavlovic 98781de
Add scenario
Mihajlo-Pavlovic 3bb9abd
Fixes
Mihajlo-Pavlovic 2ba2fa8
Merge branch 'feature/use-new-hashing-service' into test/hash-and-sco…
Mihajlo-Pavlovic 7c9b6ea
Update test scenario
Mihajlo-Pavlovic 641c2f5
Fix scenario typo
Mihajlo-Pavlovic c9d8c7d
Update dkg.js version
Mihajlo-Pavlovic b8b4e0b
Fix getBidSuggestion tests
Mihajlo-Pavlovic 0159220
Use big number comparison
Mihajlo-Pavlovic 4dc25dd
Merge remote-tracking branch 'origin/feature/final-proximity-scoring-…
Mihajlo-Pavlovic e9b2480
Merge remote-tracking branch 'origin/feature/final-proximity-scoring-…
Mihajlo-Pavlovic b89590d
Find asset neighbourhood edge
Mihajlo-Pavlovic 03867d0
Merge branch 'test/hash-and-scoredistnace-function-id' into feature/u…
Mihajlo-Pavlovic c14ecf8
Added new migration
djordjekovac 3fdbeb5
Implement findEdges method
Mihajlo-Pavlovic 5d53b5f
Add index to neighborhood peers
Mihajlo-Pavlovic 6e56349
Fix index addition
Mihajlo-Pavlovic bdaaeca
Merge pull request #2897 from OriginTrail/v6/feature/remove-service-a…
djordjekovac ccfbb58
Store sha256 as blob in sql
Mihajlo-Pavlovic 8b05250
Add liearSum params get
Mihajlo-Pavlovic 55af92e
Get rank fix
Mihajlo-Pavlovic efb3d65
Added proximity score functions pair id where we need to choose commi…
djordjekovac 91bfb2c
Update caluclateRank in update command
Mihajlo-Pavlovic 036afc2
submitUpdateCommitCommand pass correct data
Mihajlo-Pavlovic 8406d38
Update submitUpdateCommitCommand logs
Mihajlo-Pavlovic 40280c3
Reverted changes
djordjekovac fdbab89
moved calculate rank and find neighbourhood edges to service classes
djordjekovac c7730f3
Remove sha256Blob from select allPears
Mihajlo-Pavlovic c296795
Resolved bug with neighbourhood edges in epoch check command
djordjekovac bef165d
Resolved bug with sending submit commit
djordjekovac 8b2d1b1
Call serviceAgreementService.calculateRank in handle update request
Mihajlo-Pavlovic e02a1f8
Updated caching of params
djordjekovac 3f22072
Merge branch 'feature/use-new-hashing-service' of https://github.com/…
djordjekovac 9548302
Updated contract call caching, updated sharding table fetching
djordjekovac 6b2243a
Updated constants
djordjekovac 79bfedf
Fix pulling of sharding table;
NZT48 438ce4d
Add commit manager v2 contracts
NZT48 be68bc4
Add ToDo comments
NZT48 93b5c8a
Update src/commands/protocols/common/submit-commit-command.js
NZT48 1d54d10
Updated pull sharding table
djordjekovac cb74688
Updated contracts in web3service
djordjekovac 6f30c24
Updated key calculation
djordjekovac 2e9deea
Updated submit commit method signature
djordjekovac b973439
Updated submit commit function call
djordjekovac beb7ba3
Fix _executeContractFunction gasLimit error handling
Mihajlo-Pavlovic 0dc8723
Added logs for sharding table
djordjekovac bf2b3e7
Updated max distance calculation for hash ring position
djordjekovac 27649a3
Fixed submit commit contract call
djordjekovac dffdd03
Fix submitUpdateCommit
Mihajlo-Pavlovic db6ba3f
Check if edges exist befor looking for index
NZT48 e775305
Merge branch 'feature/use-new-hashing-service' of https://github.com/…
NZT48 dec0b0c
Removed logs
djordjekovac 4a14b9c
Set dkg-evm-module dependecy to github repo
NZT48 958c40f
Remove async; from shard-repository
Mihajlo-Pavlovic 2f3043a
Update src/controllers/http-api/v0/bid-suggestion-http-api-controller…
NZT48 aacf13e
Set dkg-evm-module dependecy to github repo
NZT48 4a2547d
Fixed formula for LinearSum score calculation to be consistent with t…
0xbraindevd 2886775
Reverted back dependency for dkg-evm-module
0xbraindevd f69260e
Merge pull request #2898 from OriginTrail/fix/linear-sum-formula
NZT48 4209640
Added casting for LinearSum parameters
0xbraindevd a4755a6
Update package-lock with latest dkg-evm-module commit
NZT48 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Let's keep American version
neighborhood
consistently everywhere