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

Remove requirement for write ledger in read-only mode. #2836

Merged

Conversation

esune
Copy link
Member

@esune esune commented Mar 14, 2024

Resolves #2829

This change removes the requirement for the list of ledgers to specify at least a ledger with attribute is_write when running the agent in read-only mode.

I initially tried to mock the parsed argument in the tests as one was failing, however having attributes from different groups made mocking very complicated so I opted for moving this setting onto LedgerGroup as well, as it seems appropriate.

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@swcurran swcurran merged commit 74d12db into openwallet-foundation:main Mar 15, 2024
8 checks passed
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

Successfully merging this pull request may close these issues.

🐛[Bug] - When running in read-only mode, a write ledger is still required in the ledgers.yaml configuration
3 participants