filecoin-project / fvm-workbench

Tooling for developing actors on the FVM
Other
6 stars 0 forks source link

More robust/explicit blockstore handles #15

Open alexytsu opened 1 year ago

alexytsu commented 1 year ago

https://github.com/anorth/fvm-workbench/pull/14#discussion_r1246197762

Currently, it is advised to have short-lived scope and usage of the blockstore returned by Wrangler (and get fresh references when needed) but this still lives a subtle footgun in the current implementation.

anorth commented 12 months ago

We might explore patterns like accessing the Store from Bench/Wrangler in a callback, if that can help remove footguns.