Skip to content

Commit 16256bc

Browse files
authored
update checkpoint sync & ipfs URLS (#2334)
1 parent 3f0a22a commit 16256bc

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

packages/admin-ui/src/__mock-backend__/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export const otherCalls: Omit<Routes, keyof typeof namedSpacedCalls> = {
224224
ipfsClientTargetSet: async () => {},
225225
ipfsClientTargetGet: async () => ({
226226
ipfsClientTarget: IpfsClientTarget.remote,
227-
ipfsGateway: "https://gateway.ipfs.dappnode.io"
227+
ipfsGateway: "https://ipfs-gateway.dappnode.net"
228228
}),
229229
enableEthicalMetrics: async () => {},
230230
getEthicalMetricsConfig: async () => ({

packages/admin-ui/src/components/IpfsClient.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function IpfsClient({
6767

6868
{option === "remote" && (
6969
<Input
70-
placeholder="https://gateway.ipfs.dappnode.io"
70+
placeholder="https://ipfs-gateway.dappnode.net"
7171
value={gatewayTarget || ""}
7272
onValueChange={onGatewayTargetChange}
7373
/>

packages/admin-ui/src/params.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export const dappnodeVolumeGroup = "rootvg";
147147
export const dappnodeLogicalVolume = "root";
148148

149149
// IPFS
150-
export const IPFS_DAPPNODE_GATEWAY = "https://gateway.ipfs.dappnode.io";
150+
export const IPFS_DAPPNODE_GATEWAY = "https://ipfs-gateway.dappnode.net";
151151
export const IPFS_GATEWAY_CHECKER = "https://ipfs.github.io/public-gateway-checker/";
152152

153153
// VPN

packages/daemons/src/repositoryHealth/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async function checkIpfsHealth(): Promise<void> {
2525

2626
try {
2727
// check health by fetching CID of empty directory QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn. Most of ipfs nodes should have it.
28-
// checked against: https://ipfs.io https://gateway-dev.ipfs.dappnode.io https://gateway.ipfs.dappnode.io
28+
// checked against: https://ipfs.io https://gateway-dev.ipfs.dappnode.io https://ipfs-gateway.dappnode.net
2929
const res = await fetch(`${ipfsUrl}/ipfs/QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn`, {
3030
method: "GET",
3131
headers: { "Content-Type": "application/json" },

packages/dockerApi/test/unit/parseContainerInfo.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ describe("modules / docker / parseContainerInfo", function () {
384384
running: true,
385385
exitCode: null,
386386
dependencies: {},
387-
avatarUrl: "https://gateway.ipfs.dappnode.io/ipfs/QmQnHxr4YAVdtqzHnsDYvmXizxptSYyaj3YwTjoiLshVwF",
387+
avatarUrl: "https://ipfs-gateway.dappnode.net/ipfs/QmQnHxr4YAVdtqzHnsDYvmXizxptSYyaj3YwTjoiLshVwF",
388388
origin: "/ipfs/QmeBfnwgsNcEmbmxENBWtgkv5YZsAhiaDsoYd7nMTV1wKV",
389389
chain: "ethereum",
390390
canBeFullnode: false,
@@ -765,7 +765,7 @@ describe("modules / docker / parseContainerInfo", function () {
765765
canBeFullnode: false
766766
},
767767
{
768-
avatarUrl: "https://gateway.ipfs.dappnode.io/ipfs/QmaZZVsVqaWwVLe36HhvKj3QEPt7hM1GL8kemNvsZd5F5x",
768+
avatarUrl: "https://ipfs-gateway.dappnode.net/ipfs/QmaZZVsVqaWwVLe36HhvKj3QEPt7hM1GL8kemNvsZd5F5x",
769769
canBeFullnode: false,
770770
containerId: "ba4765113dd6016da8b35dfe367493186f3bfd34d88eca03ccf894f7045710fa",
771771
containerName: "DAppNodePackage-grafana.dms.dnp.dappnode.eth",

packages/params/src/params.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ export const params = {
165165
IPFS_HOST: process.env.IPFS_HOST || process.env.IPFS_REDIRECT,
166166
IPFS_TIMEOUT: 0.5 * MINUTE,
167167
IPFS_LOCAL: "http://ipfs.dappnode:8080",
168-
IPFS_REMOTE: "https://gateway.ipfs.dappnode.io",
168+
IPFS_REMOTE: "https://ipfs-gateway.dappnode.net",
169169

170170
// Web3 parameters
171171
ETH_MAINNET_RPC_URL_REMOTE: process.env.ETH_MAINNET_RPC_URL_REMOTE || "https://web3.dappnode.net",
172-
ETH_MAINNET_CHECKPOINTSYNC_URL_REMOTE: "https://checkpoint-sync.dappnode.io",
172+
ETH_MAINNET_CHECKPOINTSYNC_URL_REMOTE: "https://checkpoint-sync.dappnode.net",
173173

174174
// Prysm legacy specs for: prater, gnosis and mainnet
175175
prysmLegacySpecs: [

packages/toolkit/test/repository/repository.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { ethers } from "ethers";
1010
describe.skip("Dappnode Repository", function () {
1111
const ipfsUrls = [
1212
//"https://api.ipfs.dappnode.io",
13-
"https://gateway.ipfs.dappnode.io"
13+
"https://ipfs-gateway.dappnode.net"
1414
];
1515

1616
const prysmDnpName = "prysm.dnp.dappnode.eth";

packages/utils/src/stakerUtils.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,18 @@ export function getDefaultConsensusUserSettings({ network }: { network: Network
4444

4545
const getDefaultCheckpointSync = (network: Network): string =>
4646
network === "mainnet"
47-
? "https://checkpoint-sync.dappnode.io"
47+
? "https://checkpoint-sync.dappnode.net"
4848
: network === "prater"
49-
? "https://checkpoint-sync-prater.dappnode.io"
49+
? "https://checkpoint-sync-prater.dappnode.net"
5050
: network === "gnosis"
51-
? "https://checkpoint-sync-gnosis.dappnode.io"
51+
? "https://checkpoint-sync-gnosis.dappnode.net"
5252
: network === "holesky"
53-
? "https://checkpoint-sync-holesky.dappnode.io"
53+
? "https://checkpoint-sync-holesky.dappnode.net"
5454
: network === "hoodi"
55-
? "https://checkpoint-sync-hoodi.dappnode.io"
55+
? "https://checkpoint-sync-hoodi.dappnode.net"
5656
: network === "lukso"
5757
? "https://checkpoints.mainnet.lukso.network"
5858
: network === "sepolia"
59-
? "https://checkpoint-sync.sepolia.ethpandaops.io"
59+
? "https://checkpoint-sync-sepolia.dappnode.net"
6060
: "";
6161

0 commit comments

Comments
 (0)