Skip to content

Commit 159f04c

Browse files
authored
Merge pull request #3190 from ProvableHQ/stream_plugin_testing
Slipstream Plugin Integration/Interface
2 parents 71773f2 + 951cb1b commit 159f04c

15 files changed

Lines changed: 1150 additions & 10 deletions

File tree

Cargo.lock

Lines changed: 85 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ members = [
8787
"synthesizer/snark",
8888
"utilities",
8989
"utilities/derives",
90-
"wasm"
90+
"wasm",
91+
"plugins/slipstream_plugin_interface",
92+
"plugins/slipstream_plugin_manager"
9193
]
9294

9395
[lib]
@@ -129,6 +131,7 @@ async = [ "snarkvm-ledger/async", "snarkvm-synthesizer/async" ]
129131
cuda = [ "snarkvm-algorithms/cuda" ]
130132
history = [ "snarkvm-synthesizer/history" ]
131133
history-staking-rewards = [ "snarkvm-synthesizer/history-staking-rewards" ]
134+
slipstream-plugins = [ "snarkvm-synthesizer/slipstream-plugins" ]
132135
parameters_no_std_out = [ "snarkvm-parameters/no_std_out" ]
133136
locktick = [
134137
"snarkvm-console?/locktick",
@@ -390,6 +393,14 @@ default-features = false
390393
path = "ledger/store"
391394
version = "=4.6.0"
392395

396+
[workspace.dependencies.snarkvm-slipstream-plugin-interface]
397+
path = "plugins/slipstream_plugin_interface"
398+
version = "=4.6.0"
399+
400+
[workspace.dependencies.snarkvm-slipstream-plugin-manager]
401+
path = "plugins/slipstream_plugin_manager"
402+
version = "=4.6.0"
403+
393404
[workspace.dependencies.snarkvm-ledger-test-helpers]
394405
path = "ledger/test-helpers"
395406
version = "=4.6.0"

ledger/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ history-staking-rewards = [
7070
"snarkvm-ledger-store/history-staking-rewards",
7171
"snarkvm-synthesizer/history-staking-rewards",
7272
]
73+
slipstream-plugins = [
74+
"snarkvm-ledger-store/slipstream-plugins",
75+
"snarkvm-synthesizer/slipstream-plugins",
76+
]
7377
locktick = [
7478
"dep:locktick",
7579
"snarkvm-ledger-puzzle/locktick",

ledger/store/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ edition = "2024"
2020
default = [ "indexmap/rayon" ]
2121
history = [ ]
2222
history-staking-rewards = [ ]
23+
slipstream-plugins = [ "dep:snarkvm-slipstream-plugin-manager" ]
2324
locktick = [ "dep:locktick", "snarkvm-ledger-puzzle/locktick" ]
2425
rocks = [ "rocksdb", "smallvec" ]
2526
serial = [
@@ -42,6 +43,10 @@ wasm = [
4243
]
4344
test = [ ]
4445

46+
[dependencies.snarkvm-slipstream-plugin-manager]
47+
workspace = true
48+
optional = true
49+
4550
[dependencies.snarkvm-console]
4651
workspace = true
4752

0 commit comments

Comments
 (0)