Skip to content

Commit

Permalink
Cleanup and rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
SirTyson committed Nov 11, 2024
1 parent 594a04e commit 36fc351
Show file tree
Hide file tree
Showing 7 changed files with 647 additions and 645 deletions.
2 changes: 1 addition & 1 deletion src/bucket/BucketOutputIterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ BucketOutputIterator<BucketT>::BucketOutputIterator(std::string const& tmpDir,
bme.metaEntry() = mMeta;
put(bme);
}
else
else if constexpr (std::is_same_v<BucketT, HotArchiveBucket>)
{
releaseAssertOrThrow(protocolVersionStartsFrom(
meta.ledgerVersion,
Expand Down
6 changes: 4 additions & 2 deletions src/main/CommandLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1927,9 +1927,11 @@ runApplyLoad(CommandLineArgs const& args)

for (size_t i = 0; i < 100; ++i)
{
app.getBucketManager().getBucketList().resolveAllFutures();
app.getBucketManager()
.getLiveBucketList()
.resolveAllFutures();
releaseAssert(app.getBucketManager()
.getBucketList()
.getLiveBucketList()
.futuresAllResolved());
al.benchmark();
}
Expand Down
12 changes: 6 additions & 6 deletions src/rust/src/dep-trees/p22-expect.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
soroban-env-host v22.0.0 (src/rust/soroban/p22/soroban-env-host)
soroban-env-host v22.0.0-rc.3 (src/rust/soroban/p22/soroban-env-host)
├── ark-bls12-381 v0.4.0
│ ├── ark-ec v0.4.2
│ │ ├── ark-ff v0.4.2
Expand Down Expand Up @@ -222,17 +222,17 @@ soroban-env-host v22.0.0 (src/rust/soroban/p22/soroban-env-host)
│ ├── digest v0.10.7 (*)
│ └── keccak v0.1.4
│ └── cpufeatures v0.2.8 (*)
├── soroban-builtin-sdk-macros v22.0.0 (proc-macro) (src/rust/soroban/p22/soroban-builtin-sdk-macros)
├── soroban-builtin-sdk-macros v22.0.0-rc.3 (proc-macro) (src/rust/soroban/p22/soroban-builtin-sdk-macros)
│ ├── itertools v0.10.5
│ │ └── either v1.8.1
│ ├── proc-macro2 v1.0.69 (*)
│ ├── quote v1.0.33 (*)
│ └── syn v2.0.39 (*)
├── soroban-env-common v22.0.0 (src/rust/soroban/p22/soroban-env-common)
├── soroban-env-common v22.0.0-rc.3 (src/rust/soroban/p22/soroban-env-common)
│ ├── ethnum v1.5.0
│ ├── num-derive v0.4.1 (proc-macro) (*)
│ ├── num-traits v0.2.17 (*)
│ ├── soroban-env-macros v22.0.0 (proc-macro) (src/rust/soroban/p22/soroban-env-macros)
│ ├── soroban-env-macros v22.0.0-rc.3 (proc-macro) (src/rust/soroban/p22/soroban-env-macros)
│ │ ├── itertools v0.10.5 (*)
│ │ ├── proc-macro2 v1.0.69 (*)
│ │ ├── quote v1.0.33 (*)
Expand All @@ -245,7 +245,7 @@ soroban-env-host v22.0.0 (src/rust/soroban/p22/soroban-env-host)
│ │ │ ├── itoa v1.0.6
│ │ │ ├── ryu v1.0.13
│ │ │ └── serde v1.0.192 (*)
│ │ ├── stellar-xdr v22.0.0
│ │ ├── stellar-xdr v22.0.0-rc.1.1
│ │ │ ├── escape-bytes v0.1.1
│ │ │ ├── hex v0.4.3
│ │ │ └── stellar-strkey v0.0.9
Expand Down Expand Up @@ -275,7 +275,7 @@ soroban-env-host v22.0.0 (src/rust/soroban/p22/soroban-env-host)
│ │ └── wasmparser-nostd v0.100.2
│ │ └── indexmap-nostd v0.4.0
│ ├── static_assertions v1.1.0
│ ├── stellar-xdr v22.0.0
│ ├── stellar-xdr v22.0.0-rc.1.1
│ │ ├── base64 v0.13.1
│ │ ├── escape-bytes v0.1.1
│ │ ├── hex v0.4.3
Expand Down
4 changes: 2 additions & 2 deletions src/simulation/test/LoadGeneratorTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -870,9 +870,9 @@ TEST_CASE("apply load", "[loadgen][applyload]")
cpuInsRatioExclVm.Clear();
for (size_t i = 0; i < 100; ++i)
{
app->getBucketManager().getBucketList().resolveAllFutures();
app->getBucketManager().getLiveBucketList().resolveAllFutures();
releaseAssert(
app->getBucketManager().getBucketList().futuresAllResolved());
app->getBucketManager().getLiveBucketList().futuresAllResolved());

al.benchmark();
}
Expand Down
Loading

0 comments on commit 36fc351

Please sign in to comment.