tari-project / tari-dan

BSD 3-Clause "New" or "Revised" License
7 stars 18 forks source link

[swarm] Register templates on startup if not already registered #1158

Open sdbondi opened 2 months ago

sdbondi commented 2 months ago

Nice to have. Suggest a cli arg that points to a wasm file or directory containing .wasm files.

When registering VNs initially, before mining the VNs into the epoch, register the provided wasm file(s) and mine everything in.

This avoids having to manually upload templates each time we start from fresh during development. This helps with tari swap bench which requires some templates to exist.