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

Method SetUpTest

core/state/state_test.go:89–92  ·  view source on GitHub ↗
(c *checker.C)

Source from the content-addressed store, hash-verified

87}
88
89func (s *StateSuite) SetUpTest(c *checker.C) {
90 s.db = database.NewMemDatabase()
91 s.state, _ = New(common.Hash{}, NewDatabase(s.db))
92}
93
94func (s *StateSuite) TestNull(c *checker.C) {
95 address := common.HexToAddress("0x823140710bf13990e4500136726d8b55")

Callers

nothing calls this directly

Calls 2

NewDatabaseFunction · 0.85
NewFunction · 0.70

Tested by

no test coverage detected