Skip to content

Commit

Permalink
change hostname from localhost to 127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mouseless-eth committed May 25, 2024
1 parent 08a665c commit e629fdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/kinto-e2e/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const runAgainstBlockHeight = async ({
forkBlockNumber: opInfo.blockNum - 1n
})

const altoRpc = `http://localhost:${altoPort}`
const altoRpc = `http://127.0.0.1:${altoPort}`
const anvilRpc = `http://${anvil.host}:${anvil.port}`

// spin up new alto instance
Expand Down
4 changes: 2 additions & 2 deletions test/kinto-e2e/src/setupAlto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ export const startAlto = async (rpc: string, altoPort: string) => {
alto.stderr.on("data", (data) => console.log(data.toString()))

await waitPort({
host: "localhost",
host: "127.0.0.1",
port: Number.parseInt(altoPort),
output: "silent"
})

while (
!(await fetch(`http://localhost:${altoPort}/health`)
!(await fetch(`http://127.0.0.1:${altoPort}/health`)
.then((res) => res.ok)
.catch(() => false))
) {
Expand Down

0 comments on commit e629fdf

Please sign in to comment.