Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Institutions in config file short names and instances #89

Open
Kmccabe opened this issue Jul 14, 2022 · 0 comments
Open

Institutions in config file short names and instances #89

Kmccabe opened this issue Jul 14, 2022 · 0 comments

Comments

@Kmccabe
Copy link

Kmccabe commented Jul 14, 2022

Would be nice to have the ability to specify more than one instance of an institution as we do with agents, i.e.,
{"institution": "amm.AMM", "number": 2}
would create two instances of the AMM institution.

Also, short names of institutions should not end with sequential numbers, but instead, start renumbering for each institution type. For example,
[
{"institution": "amm.AMM", "number": 2},
{"institution": "proposer.Proposer", "number": 1},
{"institution": "account.Account", "number": 2}
]
should result in short names: amm.AMM 1, amm.AMM 2, proposer.Proposer 1, account.Account 1, account.Account 2. If a naming conflict occurs it suggests a serious problem with naming unique institutions and throw an exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant