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

Always enable Soroban diagnostic events on local #510

Merged
merged 4 commits into from
Oct 12, 2023

Conversation

leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented Oct 12, 2023

What

Always enable Soroban diagnostic events on local, unless explicitly disabled.

Why

Most of the time when folks are using quickstart in local mode they're developing locally or running quickstart in CI. In these modes diagnostic events are critical for understanding what's happening when things go wrong, and debugging during testing and development.

Much like how we enable other test capabilities in local, we should enable diagnostics because that's the most sensible default for developing in local.

We shouldn't change the default for testnet/pubnet, because diagnostics cause unmetered execution and on testnet/pubnet there's no guarantee other peoples contracts being executed would not cause unreasonable resource consumption.

The addition of the ability to disable on local is so that the Digital Ocean template can turn it off since that is a deployed local instance.

Close #474

@leighmcculloch leighmcculloch marked this pull request as ready for review October 12, 2023 17:32
README.md Show resolved Hide resolved
@leighmcculloch leighmcculloch enabled auto-merge (squash) October 12, 2023 18:46
@leighmcculloch
Copy link
Member Author

fyi @tyvdh

@leighmcculloch leighmcculloch merged commit 5ba9c1c into master Oct 12, 2023
@leighmcculloch leighmcculloch deleted the dahlia-irredenta branch October 12, 2023 19:22
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.

enable soroban diagnostic events by default
2 participants