Skip to content

Add some way to override collator keystore path #2095

@tmpolaczyk

Description

@tmpolaczyk

Is your feature request related to a problem? Please describe.

Zombienet generates the keys and puts them into the expected path here:

const keystoreDir = `${path}/keystore`;

I am using zombienet to test a node that has a different keystore path, so currently what I do is to manually copy the keystore files to the path I expect. But it would be really nice if zombienet allowed me to override the default path.

My use case:

// path used by zombienet:
/tmp/zombie-asdf/Collator1000-01/data/chains/simple_container_2000/keystore
// the custom path I want:
/tmp/zombie-asdf/Collator1000-01/relay-data/chains/dancelight_local_testnet/keystore

Describe the solution you'd like

Add an optional field under "parachains.collators", customKeystorePath.

I need the path to depend on the node dir, so maybe we need something similar to #2077

I can implement it if you tell me whats the easiest way to do it.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions