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

Global cast configuration #2221

Open
Arcticae opened this issue Jun 19, 2024 · 1 comment · May be fixed by #2689
Open

Global cast configuration #2221

Arcticae opened this issue Jun 19, 2024 · 1 comment · May be fixed by #2689

Comments

@Arcticae
Copy link
Contributor

Which components does the task require to be changed? (think hard pls)

sncast

Description

We should consider adding a global config (perhaps like a global snfoundry.toml) that would keep our configuration which is relevant not only to one project, but also in different other contexts:

  • RPC URLs
  • accounts
  • used block explorer
  • defaults for those values

This would mean that we'd deprecate usage of profiles in favour of those, while adding a flag to declare/script for explicit "scarb profile" definition (now defaults to dev if custom profile is not release or dev).

The behavior of this should be described in a design doc, with an example usage and case study.

Related: #2212 #2220 #2218

@cptartur
Copy link
Member

We should address the issue of the interaction between local configs and global config in the design document.

@cptartur cptartur assigned cptartur and unassigned cptartur Oct 1, 2024
@cptartur cptartur changed the title Global cast configuration Global cast configuration design doc Oct 17, 2024
@cptartur cptartur assigned kkawula and unassigned cptartur Oct 28, 2024
@cptartur cptartur changed the title Global cast configuration design doc Global cast configuration Nov 4, 2024
@kkawula kkawula linked a pull request Nov 21, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

4 participants