Holochain Forum

[Tryorama] How to initialize app in tests with alice as progenitor?

Following https://github.com/holochain/tryorama/issues/23, I don’t know where I can get the answer faster, we are under a bit of pressure and this is blocking us.

I’m developing the tests for https://github.com/eyss/hc_zome_roles. In this library, the use of the progenitor pattern is required. I know how to get the property from inside the DNA code, but how can I initialize the DNA in tryorama with alice as its progenitor?

I only need alice’s address as a progenitor property of the DNA. Thanks!

@guillemcordoba I’m really sorry I missed this message; I hope I’m not too late! I’m not 100% sure how to do this either; I haven’t seen any examples of inserting a property into the DNA from Tryorama. I’ll try to get an answer ASAP.

1 Like

Hi, Guillem — I got a response, and apparently you can’t pass arbitrary properties into a DNA config via Tryorama yet. Michael, the main Tryorama dev, says that’s a gap in the ability to configure the conductor itself.

1 Like