Skip to content

Commit 04fb44c

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 2fa1390 + 4da97b8 commit 04fb44c

File tree

3 files changed

+16
-18
lines changed

3 files changed

+16
-18
lines changed

bchain/coins/avalanche/avalancherpc.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,10 @@ func (b *AvalancheRPC) GetChainInfo() (*bchain.ChainInfo, error) {
121121
VMVersions map[string]string `json:"vmVersions"`
122122
}
123123

124-
if err := b.info.CallContext(ctx, &v, "info.getNodeVersion"); err != nil {
125-
return nil, err
126-
}
127-
128-
if avm, ok := v.VMVersions["avm"]; ok {
129-
ci.Version = avm
124+
if err := b.info.CallContext(ctx, &v, "info.getNodeVersion"); err == nil {
125+
if avm, ok := v.VMVersions["avm"]; ok {
126+
ci.Version = avm
127+
}
130128
}
131129

132130
return ci, nil

configs/coins/polygon.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
"package_name": "backend-polygon-bor",
2222
"package_revision": "satoshilabs-1",
2323
"system_user": "polygon",
24-
"version": "2.2.8",
25-
"binary_url": "https://github.com/maticnetwork/bor/releases/download/v2.2.8/bor-v2.2.8-amd64.deb",
24+
"version": "2.2.9",
25+
"binary_url": "https://github.com/maticnetwork/bor/releases/download/v2.2.9/bor-v2.2.9-amd64.deb",
2626
"verification_type": "sha256",
27-
"verification_source": "f24a2ab7ee5b1eb2ec1d98549c08e7e117cb33f34049e645238e1348292fcc90",
27+
"verification_source": "8125ae8f2c5e2485ba112e065bcbfa40468a113a41a3dfa34871dd239fd12f6e",
2828
"extract_command": "mkdir -p backend && dpkg --fsys-tarfile ${ARCHIVE} | tar -xO ./usr/bin/bor > backend/bor && chmod +x backend/bor && echo",
2929
"exclude_files": [],
3030
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/polygon_bor_exec.sh 2>> {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
3131
"exec_script": "polygon_bor.sh",
3232
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
33-
"postinst_script_template": "wget https://raw.githubusercontent.com/maticnetwork/bor/v2.2.8/builder/files/genesis-mainnet-v1.json -O {{.Env.BackendInstallPath}}/{{.Coin.Alias}}/genesis.json",
33+
"postinst_script_template": "wget https://raw.githubusercontent.com/maticnetwork/bor/v2.2.9/builder/files/genesis-mainnet-v1.json -O {{.Env.BackendInstallPath}}/{{.Coin.Alias}}/genesis.json",
3434
"service_type": "simple",
3535
"service_additional_params_template": "",
3636
"protect_memory": true,
@@ -39,8 +39,8 @@
3939
"client_config_file": "",
4040
"platforms": {
4141
"arm64": {
42-
"binary_url": "https://github.com/maticnetwork/bor/releases/download/v2.2.8/bor-v2.2.8-arm64.deb",
43-
"verification_source": "72f97c6bc88f2a38a4cfa27a8e7aee240d77250096a8c4650fe654fb0b170008"
42+
"binary_url": "https://github.com/maticnetwork/bor/releases/download/v2.2.9/bor-v2.2.9-arm64.deb",
43+
"verification_source": "344bbd01a230250a43373ee559cb596bc8afb95026ce4aa9652c46077740414f"
4444
}
4545
}
4646
},

configs/coins/polygon_archive.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
"package_name": "backend-polygon-archive-bor",
2222
"package_revision": "satoshilabs-1",
2323
"system_user": "polygon",
24-
"version": "2.2.8",
25-
"binary_url": "https://github.com/maticnetwork/bor/releases/download/v2.2.8/bor-v2.2.8-amd64.deb",
24+
"version": "2.2.9",
25+
"binary_url": "https://github.com/maticnetwork/bor/releases/download/v2.2.9/bor-v2.2.9-amd64.deb",
2626
"verification_type": "sha256",
27-
"verification_source": "f24a2ab7ee5b1eb2ec1d98549c08e7e117cb33f34049e645238e1348292fcc90",
27+
"verification_source": "8125ae8f2c5e2485ba112e065bcbfa40468a113a41a3dfa34871dd239fd12f6e",
2828
"extract_command": "mkdir -p backend && dpkg --fsys-tarfile ${ARCHIVE} | tar -xO ./usr/bin/bor > backend/bor && chmod +x backend/bor && echo",
2929
"exclude_files": [],
3030
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/polygon_archive_bor_exec.sh 2>> {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
3131
"exec_script": "polygon_archive_bor.sh",
3232
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
33-
"postinst_script_template": "wget https://raw.githubusercontent.com/maticnetwork/bor/v2.2.8/builder/files/genesis-mainnet-v1.json -O {{.Env.BackendInstallPath}}/{{.Coin.Alias}}/genesis.json",
33+
"postinst_script_template": "wget https://raw.githubusercontent.com/maticnetwork/bor/v2.2.9/builder/files/genesis-mainnet-v1.json -O {{.Env.BackendInstallPath}}/{{.Coin.Alias}}/genesis.json",
3434
"service_type": "simple",
3535
"service_additional_params_template": "",
3636
"protect_memory": true,
@@ -39,8 +39,8 @@
3939
"client_config_file": "",
4040
"platforms": {
4141
"arm64": {
42-
"binary_url": "https://github.com/maticnetwork/bor/releases/download/v2.2.8/bor-v2.2.8-arm64.deb",
43-
"verification_source": "72f97c6bc88f2a38a4cfa27a8e7aee240d77250096a8c4650fe654fb0b170008"
42+
"binary_url": "https://github.com/maticnetwork/bor/releases/download/v2.2.9/bor-v2.2.9-arm64.deb",
43+
"verification_source": "344bbd01a230250a43373ee559cb596bc8afb95026ce4aa9652c46077740414f"
4444
}
4545
}
4646
},

0 commit comments

Comments
 (0)