feat(state): add --local flag for offline state generation#835
feat(state): add --local flag for offline state generation#835
Conversation
Allow state generate to use local datastore files when the domain is configured for catalog but the catalog service is unreachable. Introduces WithLocalDatastoreFallback environment option and wires it through state generate. Add tests for the option and for Load with fallback when domain has datastore: catalog.
🦋 Changeset detectedLatest commit: b08eae6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
👋 giogam, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
Use shorter flag for local datastore fallback
35f12b2 to
bd165e4
Compare
…atalog-is-enabled
|
| "chainlink-deployments-framework": minor | ||
| --- | ||
|
|
||
| feat(state): add --local-datastore flag for offline state generation |
There was a problem hiding this comment.
| feat(state): add --local-datastore flag for offline state generation | |
| feat(state): add --local flag for offline state generation |
There was a problem hiding this comment.
But i also commented my thoughts on the flag naming - https://chainlink-core.slack.com/archives/C08J9V29GP4/p1773109595129119?thread_ts=1772803251.564089&cid=C08J9V29GP4




Allow state generate to use local datastore files when the domain is configured for catalog but the catalog service is unreachable.