Skip to content

Commit

Permalink
matic poll 5 min + promote boyar 1.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
uv-orbs committed May 11, 2022
1 parent 9516773 commit 0f9ba0d
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions src/api/render-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ export function renderNodeManagement(snapshot: StateSnapshot, config: ServiceCon
ReadInterval: '30s',
ResetTimeout: '30m',
},
ExecutableImage: {

Url: 'https://github.com/orbs-network/boyarin/releases/download/v1.12.0/boyar-v1.12.0.bin',
Sha256: '63de081e5a0841dfc83aed2aca76551389b365d256945aaf647ecbc4b07de499',
ExecutableImage: {
Url: 'https://github.com/orbs-network/boyarin/releases/download/v1.12.1/boyar-v1.12.1.bin',
Sha256: '9d7f7702b3bba582b8b60bd4ac4b870c1ab86b6f16bdfe182bbadae4f9358c83',
},
'storage-driver': 'local',
'storage-mount-type': 'bind',
Expand Down Expand Up @@ -144,12 +143,10 @@ function getMaticReader(snapshot: StateSnapshot, config: ServiceConfiguration) {
};
maticConfig.Port = 8080;
maticConfig.EthereumGenesisContract = '0x35eA0D75b2a3aB06393749B4651DfAD1Ffd49A77';
maticConfig.EthereumEndpoint = config.MaticEndpoint ?? 'https://matic-router.global.ssl.fastly.net';
maticConfig.EthereumGenesisContract = '0x35eA0D75b2a3aB06393749B4651DfAD1Ffd49A77';
maticConfig.EthereumEndpoint = config.MaticEndpoint ?? 'https://matic-router.global.ssl.fastly.net';
maticConfig.EthereumFirstBlock = 21700000;
maticConfig['node-address'] = config['node-address'];
maticConfig.DeploymentDescriptorPollIntervalSeconds = 600;
maticConfig.EthereumPollIntervalSeconds = 10;
maticConfig['node-address'] = config['node-address'];
maticConfig.EthereumPollIntervalSeconds = 300; // every 5 minutes

return {
InternalPort: 8080,
Expand Down

0 comments on commit 0f9ba0d

Please sign in to comment.