{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package testutils\n\n## Functions\n\n```go\nfunc ConstructBytesProposalResponsePayload(chainID string, ccid *pb.ChaincodeID, pResponse *pb.Response, simulationResults []byte) ([]byte, error)\n```\nConstructBytesProposalResponsePayload constructs a ProposalResponsePayload byte for tests with a default signer.\n\n```go\nfunc ConstructSignedTxEnv(chainID string, ccid *pb.ChaincodeID, pResponse *pb.Response, simulationResults []byte, txid string, events []byte, visibility []byte, signer msp.SigningIdentity) (*common.Envelope, string, error)\n```\nConstructSignedTxEnv constructs a transaction envelop for tests\n\n```go\nfunc ConstructSignedTxEnvWithDefaultSigner(chainID string, ccid *pb.ChaincodeID, response *pb.Response, simulationResults []byte, txid string, events []byte, visibility []byte) (*common.Envelope, string, error)\n```\nConstructSignedTxEnvWithDefaultSigner constructs a transaction envelop for tests with a default signer. This method helps other modules to construct a transaction with supplied parameters\n\n```go\nfunc ConstructUnsignedTxEnv(chainID string, ccid *pb.ChaincodeID, response *pb.Response, simulationResults []byte, txid string, events []byte, visibility []byte) (*common.Envelope, string, error)\n```\nConstructUnsignedTxEnv creates a Transaction envelope from given inputs\n\n","path":"github.com/eric-erki/https-hyperledger.org/protos/testutils","name":"testutils","synopsis":"","isRedistributable":true}
