MCPcopy Create free account
hub / github.com/DOSNetwork/core / TestReadEthKey

Function TestReadEthKey

onchain/eth_helpers_test.go:16–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

14)
15
16func TestReadEthKey(t *testing.T) {
17 _, err := ReadEthKey(credentialPath, passphrase)
18 if err != nil {
19 t.Errorf("ReadEthKey Error: %s.", err.Error())
20 }
21}
22
23func TestDialToEth(t *testing.T) {
24 urls = []string{"http://123.123.123.123", "http://18.236.117.126:8545"}

Callers

nothing calls this directly

Calls 2

ReadEthKeyFunction · 0.85
ErrorMethod · 0.65

Tested by

no test coverage detected