Skip to content

Commit

Permalink
Merge branch 'v6/prerelease/mainnet' into v6/release/testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihajlo-Pavlovic committed Dec 26, 2024
2 parents 82859eb + 0ec9fd5 commit f7ff15c
Show file tree
Hide file tree
Showing 4 changed files with 234 additions and 4 deletions.
113 changes: 113 additions & 0 deletions installer/data/template/.origintrail_noderc_one_click_mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"modules":{
"network": {
"implementation": {
"libp2p-service": {
"config": {
"nat": {
"enabled": true,
"externalIp": "<node_static_ip_address>"
}
}
}
}
},
"blockchain":{
"implementation":{
"otp:2043":{
"enabled":true,
"config":{
"sharesTokenName":"<node_name>",
"sharesTokenSymbol":"<node_symbol>",
"operatorFee":"<operator_fee>",
"evmManagementWalletPublicKey":"<management_wallet_public_key>",
"operationalWallets":[
{
"evmAddress":"<operational_wallet_public_key>",
"privateKey":"<operational_wallet_private_key>"
}
]
}
},
"gnosis:100":{
"enabled":true,
"config":{
"sharesTokenName":"<node_name>",
"sharesTokenSymbol":"<node_symbol>",
"operatorFee":"<operator_fee>",
"rpcEndpoints":[
"<gnosis_rpc_endpoint>"
],
"evmManagementWalletPublicKey":"<management_wallet_public_key>",
"operationalWallets":[
{
"evmAddress":"<operational_wallet_public_key>",
"privateKey":"<operational_wallet_private_key>"
}
]
}
},
"base:8453":{
"enabled":true,
"config":{
"evmManagementWalletPublicKey":"<management_wallet_public_key>",
"operationalWallets":[
{
"evmAddress":"<operational_wallet_public_key>",
"privateKey":"<operational_wallet_private_key>"
}
],
"sharesTokenName":"<node_name>",
"sharesTokenSymbol":"<node_symbol>",
"operatorFee":"<operator_fee>",
"rpcEndpoints":[
"<base_rpc_endpoint>"
]
}
}
}
},
"tripleStore":{
"implementation":{
"ot-blazegraph":{
"enabled":true,
"package":"./triple-store/implementation/ot-blazegraph/ot-blazegraph.js",
"config":{
"repositories":{
"privateCurrent":{
"url":"http://localhost:9999",
"name":"private-current",
"username":"admin",
"password":""
},
"privateHistory":{
"url":"http://localhost:9999",
"name":"private-history",
"username":"admin",
"password":""
},
"publicCurrent":{
"url":"http://localhost:9999",
"name":"public-current",
"username":"admin",
"password":""
},
"publicHistory":{
"url":"http://localhost:9999",
"name":"public-history",
"username":"admin",
"password":""
}
}
}
}
}
}
},
"auth":{
"ipWhitelist":[
"::1",
"127.0.0.1"
]
}
}
113 changes: 113 additions & 0 deletions installer/data/template/.origintrail_noderc_one_click_testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"modules":{
"network": {
"implementation": {
"libp2p-service": {
"config": {
"nat": {
"enabled": true,
"externalIp": "<node_static_ip_address>"
}
}
}
}
},
"blockchain":{
"implementation":{
"otp:20430":{
"enabled":true,
"config":{
"sharesTokenName":"<node_name>",
"sharesTokenSymbol":"<node_symbol>",
"operatorFee":"<operator_fee>",
"evmManagementWalletPublicKey":"<management_wallet_public_key>",
"operationalWallets":[
{
"evmAddress":"<operational_wallet_public_key>",
"privateKey":"<operational_wallet_private_key>"
}
]
}
},
"gnosis:10200":{
"enabled":true,
"config":{
"sharesTokenName":"<node_name>",
"sharesTokenSymbol":"<node_symbol>",
"operatorFee":"<operator_fee>",
"rpcEndpoints":[
"<gnosis_rpc_endpoint>"
],
"evmManagementWalletPublicKey":"<management_wallet_public_key>",
"operationalWallets":[
{
"evmAddress":"<operational_wallet_public_key>",
"privateKey":"<operational_wallet_private_key>"
}
]
}
},
"base:84532":{
"enabled":true,
"config":{
"evmManagementWalletPublicKey":"<management_wallet_public_key>",
"operationalWallets":[
{
"evmAddress":"<operational_wallet_public_key>",
"privateKey":"<operational_wallet_private_key>"
}
],
"sharesTokenName":"<node_name>",
"sharesTokenSymbol":"<node_symbol>",
"operatorFee":"<operator_fee>",
"rpcEndpoints":[
"<base_rpc_endpoint>"
]
}
}
}
},
"tripleStore":{
"implementation":{
"ot-blazegraph":{
"enabled":true,
"package":"./triple-store/implementation/ot-blazegraph/ot-blazegraph.js",
"config":{
"repositories":{
"privateCurrent":{
"url":"http://localhost:9999",
"name":"private-current",
"username":"admin",
"password":""
},
"privateHistory":{
"url":"http://localhost:9999",
"name":"private-history",
"username":"admin",
"password":""
},
"publicCurrent":{
"url":"http://localhost:9999",
"name":"public-current",
"username":"admin",
"password":""
},
"publicHistory":{
"url":"http://localhost:9999",
"name":"public-history",
"username":"admin",
"password":""
}
}
}
}
}
}
},
"auth":{
"ipWhitelist":[
"::1",
"127.0.0.1"
]
}
}
8 changes: 8 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions src/migration/migration-executor.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ class MigrationExecutor {
}
}

static exitNode(code = 0) {
process.exit(code);
}

static async migrationAlreadyExecuted(migrationName, fileService) {
const migrationFilePath = path.join(fileService.getMigrationFolderPath(), migrationName);
if (await fileService.pathExists(migrationFilePath)) {
Expand Down

0 comments on commit f7ff15c

Please sign in to comment.