( nonce pi.AccountNonce, signer *asymmetric.PrivateKey, contract proto.AccountAddress, )
| 68 | } |
| 69 | |
| 70 | func newProvideService( |
| 71 | nonce pi.AccountNonce, signer *asymmetric.PrivateKey, |
| 72 | contract proto.AccountAddress, |
| 73 | ) ( |
| 74 | t *types.ProvideService, err error, |
| 75 | ) { |
| 76 | t = types.NewProvideService(&types.ProvideServiceHeader{ |
| 77 | Nonce: nonce, |
| 78 | }) |
| 79 | err = t.Sign(signer) |
| 80 | return |
| 81 | } |
| 82 | |
| 83 | func TestChain(t *testing.T) { |
| 84 | Convey("Given a new block producer chain", t, func() { |
no test coverage detected