MCPcopy Create free account
hub / github.com/Sifchain/sifnode / main

Function main

scripts/cli_tests/main.go:62–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62func main() {
63 SetConfig(true)
64 tests := []TestCase{CreateDispensationTx{}}
65 cArgs := CommonArgs{}
66 for _, test := range tests {
67 msg, args := test.GetMsgAndArgs(cArgs)
68 txf, clientCtx := getClientAndFactory(args)
69 res := BroadCast(txf, clientCtx, msg)
70 test.Assert(res, &cArgs)
71 }
72}

Callers

nothing calls this directly

Calls 5

getClientAndFactoryFunction · 0.85
BroadCastFunction · 0.85
SetConfigFunction · 0.70
GetMsgAndArgsMethod · 0.65
AssertMethod · 0.65

Tested by

no test coverage detected