-
Notifications
You must be signed in to change notification settings - Fork 501
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ingest/ledgerbackend: tweak enforcing toml parameters and tests (#5317)
* ingest/ledgerbackend: tweak enforcing toml parameters and tests * Enable `ENABLE_DIAGNOSTICS_FOR_TX_SUBMISSION` when enforcing soroban diagnostics (needed for soroban-rpc) * Add `EnforceSorobanTransactionMetaExtV1` toml parameter, so that `EMIT_SOROBAN_TRANSACTION_META_EXT_V1` is enabled by default (needed for soroban-rpcs new `getFeeStats` endpoint). See stellar/stellar-rpc#172 * Mock core version and protocol in tests so that toml generation is more realistic * Appease go vet
- Loading branch information
Showing
7 changed files
with
100 additions
and
77 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
ingest/ledgerbackend/testdata/appendix-disable-diagnostic-events-and-metav1.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
EMIT_SOROBAN_TRANSACTION_META_EXT_V1=false | ||
ENABLE_SOROBAN_DIAGNOSTIC_EVENTS=false | ||
ENABLE_DIAGNOSTICS_FOR_TX_SUBMISSION=false |
1 change: 0 additions & 1 deletion
1
ingest/ledgerbackend/testdata/appendix-disable-diagnostic-events.cfg
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...ted-offline-enforce-diagnostic-events.cfg → ...ffline-enforce-diag-events-and-metav1.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...-online-with-no-http-port-diag-events.cfg → ...-with-no-http-port-diag-events-metav1.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters