Skip to content

Commit 2d659fe

Browse files
authored
Merge pull request #225 from pushchain/change-rpc-urls-core
refactor: update RPC URLs and rename currency in Push Testnet Donut configuration
2 parents 462fde4 + 7bd0725 commit 2d659fe

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

packages/core/src/lib/constants/chain.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,7 @@ export const CHAIN_INFO: Record<
129129
[CHAIN.PUSH_TESTNET_DONUT]: {
130130
chainId: '42101',
131131
vm: VM.EVM,
132-
defaultRPC: [
133-
'https://evm.rpc-testnet-donut-node1.push.org/',
134-
'https://evm.rpc-testnet-donut-node2.push.org/',
135-
],
132+
defaultRPC: ['https://evm.donut.rpc.push.org/'],
136133
confirmations: 3,
137134
timeout: 30000,
138135
},
@@ -258,7 +255,7 @@ export const PUSH_CHAIN_INFO: Record<
258255
[CHAIN.PUSH_TESTNET_DONUT]: {
259256
...CHAIN_INFO[CHAIN.PUSH_TESTNET_DONUT],
260257
denom: 'upc',
261-
tendermintRpc: 'https://rpc-testnet-donut-node1.push.org/',
258+
tendermintRpc: 'https://donut.rpc.push.org/',
262259
prefix: 'push',
263260
factoryAddress: '0x00000000000000000000000000000000000000eA',
264261
pushDecimals: BigInt(1e18),

packages/core/src/lib/push-chain/push-chain.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ describe('PushChain', () => {
847847
];
848848

849849
const publicClientPush = createPublicClient({
850-
transport: http('https://evm.rpc-testnet-donut-node1.push.org/'),
850+
transport: http('https://evm.donut.rpc.push.org/'),
851851
});
852852

853853
const before = (await publicClientPush.readContract({
@@ -918,7 +918,7 @@ describe('PushChain', () => {
918918
];
919919

920920
const publicClientPush = createPublicClient({
921-
transport: http('https://evm.rpc-testnet-donut-node1.push.org/'),
921+
transport: http('https://evm.donut.rpc.push.org/'),
922922
});
923923

924924
const before = (await publicClientPush.readContract({
@@ -958,7 +958,7 @@ describe('PushChain', () => {
958958
}) as `0x${string}`;
959959

960960
const publicClientPush = createPublicClient({
961-
transport: http('https://evm.rpc-testnet-donut-node1.push.org/'),
961+
transport: http('https://evm.donut.rpc.push.org/'),
962962
});
963963

964964
const before = (await publicClientPush.readContract({

packages/ui-kit/src/lib/providers/walletProviders/ethereum/chains.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ export const pushWalletDonut = defineChain({
88
name: 'Push Testnet Donut',
99
nativeCurrency: {
1010
decimals: 18,
11-
name: 'PUSH',
12-
symbol: 'PUSH',
11+
name: 'Push Chain',
12+
symbol: 'PC',
1313
},
1414
rpcUrls: {
1515
default: {

0 commit comments

Comments
 (0)