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

soroban-rpc: Consider enforcing Diagnostic Events in captive core #806

Closed
2opremio opened this issue Jul 26, 2023 · 1 comment
Closed

soroban-rpc: Consider enforcing Diagnostic Events in captive core #806

2opremio opened this issue Jul 26, 2023 · 1 comment

Comments

@2opremio
Copy link
Contributor

2opremio commented Jul 26, 2023

Right now it's up to the end user to enable Diagnostic events in soroban-rpc's captive core instance.

In order to enable them then need to add ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=true to the captive core configuration file passed through --captive-core-config-path.

We should consider enforcing ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=true in the final configuration file passed to captive core (which is already mixture of the configuration in --captive-core-config-path and baked in options).

This will require changing generateConfigFile() at https://github.com/stellar/go/blob/master/ingest/ledgerbackend/stellar_core_runner.go#L158

@2opremio
Copy link
Contributor Author

I think that, in order to offer users a way out, we should pass on ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=true unless the users explicitly pass ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=false

2opremio added a commit to 2opremio/go-2 that referenced this issue Jul 27, 2023
…aptive core backend

The configuration parameter (`EnforceSorobanDiagnosticEvents`)is optional and makes sure `ENABLE_SOROBAN_DIAGNOSTIC_EVENTS` is set to true for captive core unless the user explicitly sets `ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=false` in the appendix file.

This fixes stellar/stellar-cli#806 (when `EnforceSorobanDiagnosticEvents` is set to true)
2opremio added a commit to 2opremio/go-2 that referenced this issue Jul 27, 2023
…aptive core backend

The configuration parameter (`EnforceSorobanDiagnosticEvents`)is optional and makes sure `ENABLE_SOROBAN_DIAGNOSTIC_EVENTS` is set to true for captive core unless the user explicitly sets `ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=false` in the appendix file.

This fixes stellar/stellar-cli#806 (when `EnforceSorobanDiagnosticEvents` is set to true)
2opremio added a commit to 2opremio/go-2 that referenced this issue Jul 28, 2023
…aptive core backend

The configuration parameter (`EnforceSorobanDiagnosticEvents`)is optional and makes sure `ENABLE_SOROBAN_DIAGNOSTIC_EVENTS` is set to true for captive core unless the user explicitly sets `ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=false` in the appendix file.

This fixes stellar/stellar-cli#806 (when `EnforceSorobanDiagnosticEvents` is set to true)
2opremio added a commit to 2opremio/go-2 that referenced this issue Jul 28, 2023
…aptive core backend

The configuration parameter (`EnforceSorobanDiagnosticEvents`)is optional and makes sure `ENABLE_SOROBAN_DIAGNOSTIC_EVENTS` is set to true for captive core unless the user explicitly sets `ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=false` in the appendix file.

This fixes stellar/stellar-cli#806 (when `EnforceSorobanDiagnosticEvents` is set to true)
2opremio added a commit to 2opremio/go-2 that referenced this issue Jul 29, 2023
…aptive core backend

The configuration parameter (`EnforceSorobanDiagnosticEvents`)is optional and makes sure `ENABLE_SOROBAN_DIAGNOSTIC_EVENTS` is set to true for captive core unless the user explicitly sets `ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=false` in the appendix file.

This fixes stellar/stellar-cli#806 (when `EnforceSorobanDiagnosticEvents` is set to true)
2opremio added a commit to stellar/go that referenced this issue Jul 29, 2023
…aptive core backend (#4985)

The configuration parameter (`EnforceSorobanDiagnosticEvents`)is optional and makes sure `ENABLE_SOROBAN_DIAGNOSTIC_EVENTS` is set to true for captive core unless the user explicitly sets `ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=false` in the appendix file.

This fixes stellar/stellar-cli#806 (when `EnforceSorobanDiagnosticEvents` is set to true)
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