Skip to content

Commit

Permalink
Fix localhost url for foundry (#49)
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Radomski <[email protected]>
  • Loading branch information
sz-piotr and mateuszradomski authored Oct 9, 2023
1 parent a67b1f6 commit ed931c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/node/src/config/config.local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function getLocalConfig(): Config {

return {
chain: localNetwork,
rpcUrl: process.env.LOCAL_RPC_URL ?? 'http://localhost:8545',
rpcUrl: process.env.LOCAL_RPC_URL ?? 'http://127.0.0.1:8545',
contractAddress: EthereumAddress(
'0x5FbDB2315678afecb367f032d93F642f64180aa3',
),
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/src/localNetwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const localNetwork: Chain = {
symbol: 'ETH',
},
rpcUrls: {
public: { http: ['http://localhost:8545'] },
default: { http: ['http://localhost:8545'] },
public: { http: ['http://127.0.0.1:8545'] },
default: { http: ['http://127.0.0.1:8545'] },
},
}

0 comments on commit ed931c4

Please sign in to comment.