From 811bdd911f1591cf67995dee5fa2aed466397a61 Mon Sep 17 00:00:00 2001 From: tamirms Date: Wed, 6 Dec 2023 12:25:11 +0000 Subject: [PATCH] add comment explaining testutils feature --- cmd/soroban-rpc/lib/preflight/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/soroban-rpc/lib/preflight/Cargo.toml b/cmd/soroban-rpc/lib/preflight/Cargo.toml index 11cbb48aa..936ecc2f0 100644 --- a/cmd/soroban-rpc/lib/preflight/Cargo.toml +++ b/cmd/soroban-rpc/lib/preflight/Cargo.toml @@ -12,5 +12,7 @@ base64 = { workspace = true } thiserror = { workspace = true } libc = "0.2.147" sha2 = { workspace = true } +# we need the testutils feature in order to get backtraces in the preflight library +# when soroban rpc is configured to run with --preflight-enable-debug soroban-env-host = { workspace = true, features = ["recording_auth", "testutils"]} rand = "0.8.5"