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

OriginTrail Testnet Prerelease v6.2.0 #2923

Merged
merged 124 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
a75f950
Added Services for Hashing and Proximity/Score Calculations, implemen…
u-hubar Jan 16, 2024
72fdcc3
Fixed JSON imports and Plots generation in simulation tool
u-hubar Jan 16, 2024
cb4db12
Moved Maclaurin Series degree for e^x approximation to be a parameter…
u-hubar Jan 16, 2024
e437ebe
Use hashinService insteast validationModuleManager for new functions
Mihajlo-Pavlovic Jan 16, 2024
2c96044
Update sharding-table-service to use proximityScoringService
Mihajlo-Pavlovic Jan 16, 2024
98c2001
Update findNeighbourhood function calls to use proximityScoreFunction…
Mihajlo-Pavlovic Jan 16, 2024
52567ef
Update epoch-check-command
Mihajlo-Pavlovic Jan 16, 2024
bf7ed5a
Update calculateScore function in ServiceAgreementService to use Prox…
Mihajlo-Pavlovic Jan 16, 2024
62665ec
Update commands to use proximityScoreFunctionsPairId
Mihajlo-Pavlovic Jan 16, 2024
3a5a193
Merge pull request #2891 from OriginTrail/v6/prerelease/testnet
NZT48 Jan 16, 2024
f9ba6d8
Update bid sugestion controller
Mihajlo-Pavlovic Jan 17, 2024
164ccd6
Update operation commands
Mihajlo-Pavlovic Jan 17, 2024
902838f
Update rpc-controllers to handle reciving proximityScoreFunctionsPairId
Mihajlo-Pavlovic Jan 17, 2024
2cb4d7b
Use getAgreementScoreFunctionId to get proximityScoreFunctionsPairId …
Mihajlo-Pavlovic Jan 17, 2024
0d4f0ef
Update bid-suggerstion-schema to include proximityScoreFunctionsPairId
Mihajlo-Pavlovic Jan 17, 2024
6d5747f
Add test to check publish, get, update handling of hashFunctionId & s…
Mihajlo-Pavlovic Jan 18, 2024
f02a2a5
Add bid suggestion tests
Mihajlo-Pavlovic Jan 18, 2024
85b1d4a
Fix updated code
Mihajlo-Pavlovic Jan 18, 2024
98781de
Add scenario
Mihajlo-Pavlovic Jan 18, 2024
3bb9abd
Fixes
Mihajlo-Pavlovic Jan 19, 2024
2ba2fa8
Merge branch 'feature/use-new-hashing-service' into test/hash-and-sco…
Mihajlo-Pavlovic Jan 19, 2024
7c9b6ea
Update test scenario
Mihajlo-Pavlovic Jan 19, 2024
641c2f5
Fix scenario typo
Mihajlo-Pavlovic Jan 22, 2024
4133c35
Added box plots for distances and scores, added additional distance/s…
u-hubar Jan 22, 2024
2351e7a
Removed abandoned proximity/distance functions, adapted simulation sc…
u-hubar Jan 22, 2024
e3d15f6
Added clockwise distance calculation on the Hash Ring
u-hubar Jan 22, 2024
c9d8c7d
Update dkg.js version
Mihajlo-Pavlovic Jan 22, 2024
b8b4e0b
Fix getBidSuggestion tests
Mihajlo-Pavlovic Jan 22, 2024
0549857
Removed clockwise distance calculation in proximity scoring service
u-hubar Jan 24, 2024
0159220
Use big number comparison
Mihajlo-Pavlovic Jan 24, 2024
4dc25dd
Merge remote-tracking branch 'origin/feature/final-proximity-scoring-…
Mihajlo-Pavlovic Jan 24, 2024
e9b2480
Merge remote-tracking branch 'origin/feature/final-proximity-scoring-…
Mihajlo-Pavlovic Jan 24, 2024
b89590d
Find asset neighbourhood edge
Mihajlo-Pavlovic Jan 24, 2024
03867d0
Merge branch 'test/hash-and-scoredistnace-function-id' into feature/u…
Mihajlo-Pavlovic Jan 25, 2024
c14ecf8
Added new migration
djordjekovac Jan 25, 2024
3fdbeb5
Implement findEdges method
Mihajlo-Pavlovic Jan 25, 2024
5d53b5f
Add index to neighborhood peers
Mihajlo-Pavlovic Jan 25, 2024
6e56349
Fix index addition
Mihajlo-Pavlovic Jan 25, 2024
bdaaeca
Merge pull request #2897 from OriginTrail/v6/feature/remove-service-a…
djordjekovac Jan 25, 2024
ccfbb58
Store sha256 as blob in sql
Mihajlo-Pavlovic Jan 29, 2024
8b05250
Add liearSum params get
Mihajlo-Pavlovic Jan 29, 2024
55af92e
Get rank fix
Mihajlo-Pavlovic Jan 29, 2024
efb3d65
Added proximity score functions pair id where we need to choose commi…
djordjekovac Jan 29, 2024
91bfb2c
Update caluclateRank in update command
Mihajlo-Pavlovic Jan 29, 2024
036afc2
submitUpdateCommitCommand pass correct data
Mihajlo-Pavlovic Jan 29, 2024
8406d38
Update submitUpdateCommitCommand logs
Mihajlo-Pavlovic Jan 29, 2024
40280c3
Reverted changes
djordjekovac Jan 29, 2024
fdbab89
moved calculate rank and find neighbourhood edges to service classes
djordjekovac Jan 29, 2024
c7730f3
Remove sha256Blob from select allPears
Mihajlo-Pavlovic Jan 29, 2024
c296795
Resolved bug with neighbourhood edges in epoch check command
djordjekovac Jan 29, 2024
bef165d
Resolved bug with sending submit commit
djordjekovac Jan 29, 2024
8b2d1b1
Call serviceAgreementService.calculateRank in handle update request
Mihajlo-Pavlovic Jan 29, 2024
e02a1f8
Updated caching of params
djordjekovac Jan 29, 2024
3f22072
Merge branch 'feature/use-new-hashing-service' of https://github.com/…
djordjekovac Jan 29, 2024
9548302
Updated contract call caching, updated sharding table fetching
djordjekovac Jan 29, 2024
6b2243a
Updated constants
djordjekovac Jan 29, 2024
79bfedf
Fix pulling of sharding table;
NZT48 Jan 29, 2024
438ce4d
Add commit manager v2 contracts
NZT48 Jan 30, 2024
be68bc4
Add ToDo comments
NZT48 Jan 30, 2024
93b5c8a
Update src/commands/protocols/common/submit-commit-command.js
NZT48 Jan 30, 2024
1d54d10
Updated pull sharding table
djordjekovac Jan 30, 2024
cb74688
Updated contracts in web3service
djordjekovac Jan 30, 2024
6f30c24
Updated key calculation
djordjekovac Jan 30, 2024
2e9deea
Updated submit commit method signature
djordjekovac Jan 30, 2024
b973439
Updated submit commit function call
djordjekovac Jan 30, 2024
beb7ba3
Fix _executeContractFunction gasLimit error handling
Mihajlo-Pavlovic Jan 30, 2024
0dc8723
Added logs for sharding table
djordjekovac Jan 30, 2024
bf2b3e7
Updated max distance calculation for hash ring position
djordjekovac Jan 30, 2024
27649a3
Fixed submit commit contract call
djordjekovac Jan 30, 2024
dffdd03
Fix submitUpdateCommit
Mihajlo-Pavlovic Jan 30, 2024
db6ba3f
Check if edges exist befor looking for index
NZT48 Jan 30, 2024
e775305
Merge branch 'feature/use-new-hashing-service' of https://github.com/…
NZT48 Jan 30, 2024
dec0b0c
Removed logs
djordjekovac Jan 30, 2024
4a14b9c
Set dkg-evm-module dependecy to github repo
NZT48 Jan 30, 2024
958c40f
Remove async; from shard-repository
Mihajlo-Pavlovic Jan 30, 2024
2f3043a
Update src/controllers/http-api/v0/bid-suggestion-http-api-controller…
NZT48 Jan 30, 2024
aacf13e
Set dkg-evm-module dependecy to github repo
NZT48 Jan 30, 2024
4a2547d
Fixed formula for LinearSum score calculation to be consistent with t…
u-hubar Jan 30, 2024
2886775
Reverted back dependency for dkg-evm-module
u-hubar Jan 30, 2024
f69260e
Merge pull request #2898 from OriginTrail/fix/linear-sum-formula
NZT48 Jan 30, 2024
4209640
Added casting for LinearSum parameters
u-hubar Jan 30, 2024
a4755a6
Update package-lock with latest dkg-evm-module commit
NZT48 Jan 30, 2024
c141ffd
Merge pull request #2896 from OriginTrail/feature/use-new-hashing-ser…
NZT48 Jan 30, 2024
b9be299
Merge branch 'v6/develop' into feature/final-proximity-scoring-simula…
NZT48 Jan 30, 2024
e7ac433
Bump version to 6.2.0
NZT48 Jan 30, 2024
214c494
Merge pull request #2895 from OriginTrail/feature/final-proximity-sco…
NZT48 Jan 30, 2024
53ff733
Merge pull request #2900 from OriginTrail/v6/develop
NZT48 Jan 30, 2024
27aaf4a
Fix blobl migration
NZT48 Jan 30, 2024
f2ebdcd
Merge pull request #2902 from OriginTrail/fix/develop-branch-leveling
branarakic Jan 30, 2024
a0df500
Added opdb migrator rollback, fixed blobl migration to add new column…
u-hubar Jan 30, 2024
87e4458
Merge pull request #2903 from OriginTrail/fix/op-db-migrator-rollback
branarakic Jan 30, 2024
45c0ff1
Merge pull request #2904 from OriginTrail/v6/develop
branarakic Jan 30, 2024
72d3adb
Merge pull request #2901 from OriginTrail/v6/prerelease/devnet
branarakic Jan 30, 2024
26bd58e
Added caching for linear sum get parameters call
djordjekovac Jan 31, 2024
09225d8
Version bump
djordjekovac Jan 31, 2024
4ac736a
Fix normalized stake calculation
NZT48 Jan 31, 2024
32b4e36
Fixed LinearSum score calculation to avoid underflows
u-hubar Jan 31, 2024
0370e84
Rename migration so it can be reexectuted
Mihajlo-Pavlovic Jan 31, 2024
5f3f510
Merge pull request #2906 from OriginTrail/fix/linear-sum-formula-2
NZT48 Jan 31, 2024
0d3c90b
Merge pull request #2905 from OriginTrail/v6/hotfix-v6.2.0.hotfix3
NZT48 Jan 31, 2024
6663e5a
Remove sha256Blob
Mihajlo-Pavlovic Feb 1, 2024
b3da277
Updated epoch check command, added listening on scoring contract events
djordjekovac Feb 1, 2024
13af94d
Merge pull request #2908 from OriginTrail/fix/remove-sha256Blob
djordjekovac Feb 1, 2024
ac2277a
Get peers ordered by sha256
Mihajlo-Pavlovic Feb 1, 2024
d19ff0b
Updated migration for removing service agreements for chiado
djordjekovac Feb 1, 2024
3c186f4
Fixed LinearSum score calculation
u-hubar Feb 1, 2024
bf36e12
Update src/service/blockchain-event-listener-service.js
NZT48 Feb 1, 2024
6c03295
Use ehters constant for uin256 max value
Mihajlo-Pavlovic Feb 1, 2024
6a99239
Merge pull request #2910 from OriginTrail/fix/linear-sum-formula-3
djordjekovac Feb 1, 2024
01bb1ac
Update commit hash for dkg-evm-module
Mihajlo-Pavlovic Feb 1, 2024
19d23ad
Merge pull request #2909 from OriginTrail/origin/v6/hotfix-v6.2.0.hot…
NZT48 Feb 1, 2024
ec7919b
Update package-lock.json
NZT48 Feb 1, 2024
a0fa9aa
Update package.json
NZT48 Feb 1, 2024
dbe6761
Merge pull request #2912 from OriginTrail/v6/prerelease/devnet
NZT48 Feb 1, 2024
1cefc65
Merge pull request #2916 from OriginTrail/v6/development-network
djordjekovac Feb 2, 2024
45744fa
Update otnode.service (#2911)
NZT48 Feb 2, 2024
2039e20
V6/bug fix/scoring function result (#2914)
zeroxbt Feb 2, 2024
11112a4
Increase gas limit for set stake (#2918)
NZT48 Feb 2, 2024
150735c
Version updated (#2917)
djordjekovac Feb 2, 2024
a35d851
Merge pull request #2919 from OriginTrail/v6/develop
djordjekovac Feb 2, 2024
75c373d
Fix caching
Mihajlo-Pavlovic Feb 2, 2024
9e82c92
Merge pull request #2921 from OriginTrail/fix/caching-get-params
djordjekovac Feb 2, 2024
68783e8
Merge pull request #2920 from OriginTrail/v6/prerelease/devnet
djordjekovac Feb 2, 2024
f46f22a
Merge branch 'v6/prerelease/testnet' into v6/development-network
djordjekovac Feb 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,6 @@ data*

# VS code files
.vscode/launch.json

# KAs Distribution Simulation Script Plots
tools/knowledge-assets-distribution-simulation/plots/**/*jpg
2 changes: 1 addition & 1 deletion installer/data/otnode.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#/lib/systemd/system/otnode.service

[Unit]
Description=OriginTrail V6 Stage 1 Beta Node
Description=OriginTrail V6 Node
Documentation=https://github.com/OriginTrail/ot-node/
After=network.target graphdb.service blazegraph.service

Expand Down
6 changes: 6 additions & 0 deletions ot-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ class OTNode {

await this.initializeModules();

await MigrationExecutor.executeRemoveServiceAgreementsForChiadoMigration(
this.container,
this.logger,
this.config,
);

await this.createProfiles();

await this.initializeCommandExecutor();
Expand Down
Loading
Loading