Skip to content

Commit cb25d21

Browse files
committed
Remove mistaken 'static' from LoadGenerator soroban state.
1 parent 0f06403 commit cb25d21

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/simulation/LoadGenerator.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,11 @@ class LoadGenerator
282282

283283
// Internal loadgen state gets reset after each run, but it is impossible to
284284
// regenerate contract instance keys for DB lookup. Due to this we maintain
285-
// a static list of instances and the wasm entry which we use to rebuild
285+
// a list of instances and the wasm entry which we use to rebuild
286286
// mContractInstances at the start of each SOROBAN_INVOKE run
287-
inline static UnorderedSet<LedgerKey> mContractInstanceKeys = {};
288-
inline static std::optional<LedgerKey> mCodeKey = std::nullopt;
289-
inline static uint64_t mContactOverheadBytes = 0;
287+
UnorderedSet<LedgerKey> mContractInstanceKeys = {};
288+
std::optional<LedgerKey> mCodeKey = std::nullopt;
289+
uint64_t mContactOverheadBytes = 0;
290290

291291
// Maps account ID to it's contract instance, where each account has a
292292
// unique instance

0 commit comments

Comments
 (0)