MCPcopy Create free account
hub / github.com/CPChain/chain / TestInitDefaultValidators

Function TestInitDefaultValidators

configs/general_test.go:78–82  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

76}
77
78func TestInitDefaultValidators(t *testing.T) {
79 InitDefaultValidators(defaultDevValidatorNodes)
80 url := GetDefaultValidators()
81 assert.Equal(t, defaultDevValidatorNodes, url)
82}
83
84func TestDporConfig_String(t *testing.T) {
85 contracts := map[string]common.Address{}

Callers

nothing calls this directly

Calls 3

InitDefaultValidatorsFunction · 0.85
GetDefaultValidatorsFunction · 0.85
EqualMethod · 0.65

Tested by

no test coverage detected