Skip to content

Commit

Permalink
Merge pull request #3626 from OriginTrail/v6/release/mainnet
Browse files Browse the repository at this point in the history
Align Mainnet and develop branches
  • Loading branch information
Mihajlo-Pavlovic authored Dec 26, 2024
2 parents 462b9bd + 09c146d commit d76f875
Show file tree
Hide file tree
Showing 4 changed files with 226 additions and 38 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"
]
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,6 @@ export async function up({ context: { queryInterface } }) {
const indexes = [
{ table: 'shard', column: ['blockchain_id'], name: 'shard_blockchain_id_index' },
{ table: 'shard', column: ['last_dialed'], name: 'last_dialed_index' },
{
table: 'service_agreement',
column: ['blockchain_id'],
name: 'service_agreement_blockchain_id_index',
},
{
table: 'service_agreement',
column: ['blockchain_id', 'token_id'],
name: 'blockchain_id_token_id_index',
},
{ table: 'service_agreement', column: ['token_id'], name: 'token_id_index' },
{ table: 'paranet_synced_asset', column: ['ual'], name: 'paranet_synced_asset_ual_index' },
{
table: 'paranet_synced_asset',
Expand Down Expand Up @@ -103,12 +92,6 @@ export async function down({ context: { queryInterface } }) {

await queryInterface.removeIndex('shard', 'last_dialed_index');

await queryInterface.removeIndex('service_agreement', 'service_agreement_blockchain_id_index');

await queryInterface.removeIndex('service_agreement', 'blockchain_id_token_id_index');

await queryInterface.removeIndex('service_agreement', 'token_id_index');

await queryInterface.removeIndex('paranet_synced_asset', 'paranet_synced_asset_ual_index');

await queryInterface.removeIndex('paranet_synced_asset', 'paranet_ual_data_source_index');
Expand Down

0 comments on commit d76f875

Please sign in to comment.