github.com/filecoin-project/specs-actors/v4@v4.0.2/support/testing/pid.go (about)

     1  package testing
     2  
     3  import "github.com/filecoin-project/go-state-types/abi"
     4  
     5  func MakePID(input string) abi.PeerID {
     6  	return abi.PeerID([]byte(input))
     7  }