diff --git a/build/templates/backend/scripts/polygon_archive_bor.sh b/build/templates/backend/scripts/polygon_archive_bor.sh index c7cabd3f..209cabf4 100644 --- a/build/templates/backend/scripts/polygon_archive_bor.sh +++ b/build/templates/backend/scripts/polygon_archive_bor.sh @@ -18,20 +18,19 @@ $BOR_BIN server \ --bootnodes enode://76316d1cb93c8ed407d3332d595233401250d48f8fbb1d9c65bd18c0495eca1b43ec38ee0ea1c257c0abb7d1f25d649d359cdfe5a805842159cfe36c5f66b7e8@52.78.36.216:30303,enode://b8f1cc9c5d4403703fbf377116469667d2b1823c0daf16b7250aa576bacf399e42c3930ccfcb02c5df6879565a2b8931335565f0e8d3f8e72385ecf4a4bf160a@3.36.224.80:30303,enode://8729e0c825f3d9cad382555f3e46dcff21af323e89025a0e6312df541f4a9e73abfa562d64906f5e59c51fe6f0501b3e61b07979606c56329c020ed739910759@54.194.245.5:30303,enode://681ebac58d8dd2d8a6eef15329dfbad0ab960561524cf2dfde40ad646736fe5c244020f20b87e7c1520820bc625cfb487dd71d63a3a3bf0baea2dbb8ec7c79f1@34.240.245.39:30303 \ --port {{.Ports.BackendP2P}} \ --http \ - --http.addr 127.0.0.1 \ + --http.addr 0.0.0.0 \ --http.port {{.Ports.BackendHttp}} \ --http.api eth,net,web3,debug,txpool,bor \ --http.vhosts '*' \ --http.corsdomain '*' \ --ws \ - --ws.addr 127.0.0.1 \ + --ws.addr 0.0.0.0 \ --ws.port {{.Ports.BackendRPC}} \ --ws.api eth,net,web3,debug,txpool,bor \ --ws.origins '*' \ --gcmode archive \ --txlookuplimit 0 \ --cache 4096 \ - --ipcdisable \ - --nat none +s --nat none {{end}} \ No newline at end of file diff --git a/build/templates/backend/scripts/polygon_bor.sh b/build/templates/backend/scripts/polygon_bor.sh index 5c877ce4..65b8cb48 100644 --- a/build/templates/backend/scripts/polygon_bor.sh +++ b/build/templates/backend/scripts/polygon_bor.sh @@ -30,7 +30,6 @@ $BOR_BIN server \ --ws.origins '*' \ --txlookuplimit 0 \ --cache 4096 \ - --ipcdisable \ --nat none {{end}} \ No newline at end of file diff --git a/configs/coins/polygon.json b/configs/coins/polygon.json index 1e739e1b..027a4430 100644 --- a/configs/coins/polygon.json +++ b/configs/coins/polygon.json @@ -20,16 +20,16 @@ "package_name": "backend-polygon-bor", "package_revision": "satoshilabs-1", "system_user": "polygon", - "version": "1.2.0", - "binary_url": "https://github.com/maticnetwork/bor/archive/refs/tags/v1.2.0.tar.gz", + "version": "1.2.3", + "binary_url": "https://github.com/maticnetwork/bor/archive/refs/tags/v1.2.3.tar.gz", "verification_type": "sha256", - "verification_source": "5a773b7fc283a65a307b8ea8b1ab16183f08eec00f82794099e6d2da95dd63be", - "extract_command": "mkdir backend/source && tar -C backend/source --strip 1 -xf v1.2.0.tar.gz && cd backend/source && make bor && mv build/bin/bor ../ && rm -rf ../source && echo", + "verification_source": "cdbe43279d58b32d86a4be1d257c99d9156c3ed8d3d6e702d27c053e775cf632", + "extract_command": "mkdir backend/source && tar -C backend/source --strip 1 -xf v1.2.3.tar.gz && cd backend/source && make bor && mv build/bin/bor ../ && rm -rf ../source && echo", "exclude_files": [], "exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/polygon_bor_exec.sh 2>> {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'", "exec_script": "polygon_bor.sh", "logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log", - "postinst_script_template": "wget https://raw.githubusercontent.com/maticnetwork/bor/v1.2.0/builder/files/genesis-mainnet-v1.json -O {{.Env.BackendInstallPath}}/{{.Coin.Alias}}/genesis.json", + "postinst_script_template": "wget https://raw.githubusercontent.com/maticnetwork/bor/v1.2.3/builder/files/genesis-mainnet-v1.json -O {{.Env.BackendInstallPath}}/{{.Coin.Alias}}/genesis.json", "service_type": "simple", "service_additional_params_template": "", "protect_memory": true, diff --git a/configs/coins/polygon_archive.json b/configs/coins/polygon_archive.json index 8912dd5d..0e85155c 100644 --- a/configs/coins/polygon_archive.json +++ b/configs/coins/polygon_archive.json @@ -20,16 +20,16 @@ "package_name": "backend-polygon-archive-bor", "package_revision": "satoshilabs-1", "system_user": "polygon", - "version": "1.2.0", - "binary_url": "https://github.com/maticnetwork/bor/archive/refs/tags/v1.2.0.tar.gz", + "version": "1.2.3", + "binary_url": "https://github.com/maticnetwork/bor/archive/refs/tags/v1.2.3.tar.gz", "verification_type": "sha256", - "verification_source": "5a773b7fc283a65a307b8ea8b1ab16183f08eec00f82794099e6d2da95dd63be", - "extract_command": "mkdir backend/source && tar -C backend/source --strip 1 -xf v1.2.0.tar.gz && cd backend/source && make bor && mv build/bin/bor ../ && rm -rf ../source && echo", + "verification_source": "cdbe43279d58b32d86a4be1d257c99d9156c3ed8d3d6e702d27c053e775cf632", + "extract_command": "mkdir backend/source && tar -C backend/source --strip 1 -xf v1.2.3.tar.gz && cd backend/source && make bor && mv build/bin/bor ../ && rm -rf ../source && echo", "exclude_files": [], "exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/polygon_archive_bor_exec.sh 2>> {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'", "exec_script": "polygon_archive_bor.sh", "logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log", - "postinst_script_template": "wget https://raw.githubusercontent.com/maticnetwork/bor/v1.2.0/builder/files/genesis-mainnet-v1.json -O {{.Env.BackendInstallPath}}/{{.Coin.Alias}}/genesis.json", + "postinst_script_template": "wget https://raw.githubusercontent.com/maticnetwork/bor/v1.2.3/builder/files/genesis-mainnet-v1.json -O {{.Env.BackendInstallPath}}/{{.Coin.Alias}}/genesis.json", "service_type": "simple", "service_additional_params_template": "", "protect_memory": true,