wetware / pkg

Peer-to-peer cloud environment
https://wetware.run
Other
38 stars 7 forks source link

Bugfix: ensure Vat.Host is decorated with DHT routing. #116

Closed lthibault closed 1 year ago

lthibault commented 1 year ago

While helping Evan with his demo, I noticed that DHT routing is not enabled for Wetware hosts. This is because of a bug in pkg/runtime. The fx.Decorator that wraps host.Host with a routedhost.Host was not being called because we don't actually declare a constructor for host.Host. This has been fixed by decorating casm.Vat instead.