func deployTestContract(t *testing.T) hexutil.Bytes {
	from := getAddress(t)

	param := make([]map[string]string, 1)
	param[0] = make(map[string]string)
	param[0]["from"] = "0x" + fmt.Sprintf("%x", from)
	param[0]["data"] = "0x6080604052348015600f57600080fd5b5060117f775a94827b8fd9b519d36cd827093c664f93347070a554f65e4a6f56cd73889860405160405180910390a2603580604b6000396000f3fe6080604052600080fdfea165627a7a723058206cab665f0f557620554bb45adf266708d2bd349b8a4314bdff205ee8440e3c240029"

	rpcRes, err := call(t, "eth_sendTransaction", param)
	require.NoError(t, err)

	var hash hexutil.Bytes
	err = json.Unmarshal(rpcRes.Result, &hash)
	require.NoError(t, err)

	return hash
}
// deployTestContract deploys a contract that emits an event in the constructor
deployTestContract deploys a contract that emits an event in the constructor
// deployTestContract deploys a contract that emits an event in the constructor
func deployTestContract(t *testing.T) hexutil.Bytes {
	from := getAddress(t)
	param := make([]map[string]string, 1)
	param[0] = make(map[string]string)
	param[0]["from"] = "0x" + fmt.Sprintf("%x", from)
	param[0]["data"] = "0x6080604052348015600f57600080fd5b5060117f775a94827b8fd9b519d36cd827093c664f93347070a554f65e4a6f56cd73889860405160405180910390a2603580604b6000396000f3fe6080604052600080fdfea165627a7a723058206cab665f0f557620554bb45adf266708d2bd349b8a4314bdff205ee8440e3c240029"
	rpcRes, err := call(t, "eth_sendTransaction", param)
	require.NoError(t, err)
	var hash hexutil.Bytes
	err = json.Unmarshal(rpcRes.Result, &hash)
	require.NoError(t, err)
	return hash
}
func deployTestContract ( t * testing . T ) hexutil . Bytes { from := getAddress ( t ) param := make ( [ ] map [ string ] string , 1 ) param [ 0 ] = make ( map [ string ] string ) param [ 0 ] [ " " ] = " " + fmt . Sprintf ( " " , from ) param [ 0 ] [ " " ] = " " rpcRes , err := call ( t , " " , param ) require . NoError ( t , err ) var hash hexutil . Bytes err = json . Unmarshal ( rpcRes . Result , & hash ) require . NoError ( t , err ) return hash }
deployTestContract deploys a contract that emits an event in the constructor
deployTestContract deploys a contract that emits an event in the constructor