Skip to content

Commit

Permalink
GethGreeterTest fix
Browse files Browse the repository at this point in the history
Signed-off-by: Nischal Sharma <nischal@web3labs.com>
  • Loading branch information
NickSneo committed May 1, 2024
1 parent f81c7a0 commit bde95de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/web3j/container/KGenericContainer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ open class KGenericContainer(
private fun inClassPath(path: String) = this.javaClass.classLoader.getResource(path) != null

protected open fun withWaitStrategy(): WaitStrategy =
forHttp("/").forStatusCode(200).forPort(8545).withStartupTimeout(Duration.ofMinutes(3))
forHttp("/").forStatusCode(200).forPort(8545).withStartupTimeout(Duration.ofMinutes(2))
}
2 changes: 1 addition & 1 deletion src/main/resources/geth/geth_start.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
geth init ./genesis.json
geth account import --password password.txt key.txt
geth --http --http.api "eth,net,txpool" --http.addr=0.0.0.0 --allow-insecure-unlock --unlock 0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 --password /password.txt --mine --miner.etherbase 0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 --rpc.allow-unprotected-txs
geth --http --http.api "eth,net,txpool" --http.addr=0.0.0.0 --http.port 8545 --http.corsdomain '*' --allow-insecure-unlock --unlock 0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 --password /password.txt --mine --miner.etherbase 0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 --rpc.allow-unprotected-txs

0 comments on commit bde95de

Please sign in to comment.