Closed LuqiPan closed 6 months ago
It's a vestige of ag-solo / sim chain / beta architecture. @sufyaankhan has asked that we omit that stuff from the docs.
I presume it's OK to close this. Feel free to re-open it if that seems in order.
For reference, an earlier PR where I started flagging such stuff:
that reminds me: yarn create @agoric/dapp ...
fails without an _agstate
dir. That's the only reason dapp-offer-up has one. We should fix that:
I think I tried to start up dapp-offer-up
without the _agstate
dir and I wasn't able to start the dapp, might be I did something dumb though.
Right; there are some vestigial things that break when _agstate
is removed. https://github.com/Agoric/agoric-sdk/issues/8817 is about getting rid of those.
_agstate
and_agstate/agoric-servers
folders are present in almost all dApps that I looked at, for example, https://github.com/Agoric/dapp-offer-up/tree/main/_agstate. However it's not clear to me, a developer new to Agoric platform, why_agstate
is needed, especially considering it only contains a boilerplatepackage.json
file.This commit seems to suggest
_agstate
is here to makeagoric install
happy, but some explanation around why it's needed, what's its purpose, and when should a developer use it would be great!