Skip to content

Commit 5877c30

Browse files
Removes Epirus specific code from Web3j (#1212)
* Refactors epirus account code, adds test for Epirus Platform functionality * fix failing test if no login token file * Removes epirus specific code from web3j * remove gradle lineS
1 parent 677e612 commit 5877c30

File tree

3 files changed

+0
-111
lines changed

3 files changed

+0
-111
lines changed

core/src/main/java/org/web3j/account/LocalWeb3jAccount.java

-68
This file was deleted.

core/src/main/java/org/web3j/protocol/Web3j.java

-9
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
import java.util.concurrent.ScheduledExecutorService;
1616

17-
import org.web3j.account.LocalWeb3jAccount;
1817
import org.web3j.protocol.core.Batcher;
1918
import org.web3j.protocol.core.Ethereum;
2019
import org.web3j.protocol.core.JsonRpc2_0Web3j;
@@ -23,14 +22,6 @@
2322
/** JSON-RPC Request object building factory. */
2423
public interface Web3j extends Ethereum, Web3jRx, Batcher {
2524

26-
static Web3j build() throws Exception {
27-
return new JsonRpc2_0Web3j(LocalWeb3jAccount.getOnlineServicesHttpService(Network.MAINNET));
28-
}
29-
30-
static Web3j build(Network network) throws Exception {
31-
return new JsonRpc2_0Web3j(LocalWeb3jAccount.getOnlineServicesHttpService(network));
32-
}
33-
3425
/**
3526
* Construct a new Web3j instance.
3627
*

integration-tests/src/test/java/org/web3j/protocol/CloudIT.java

-34
This file was deleted.

0 commit comments

Comments
 (0)