Skip to content

Commit

Permalink
generalize curr-and-prev, use a single shared module
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon committed Aug 12, 2024
1 parent 1944ec0 commit d1ce220
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 710 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ members = [
[workspace.package]
rust-version = "1.74.0"

[workspace.dependencies.soroban-env-host-21]
[workspace.dependencies.soroban-env-host-prev]
package = "soroban-env-host"
version = "=21.2.0"

[workspace.dependencies.soroban-env-host]
[workspace.dependencies.soroban-env-host-curr]
package = "soroban-env-host"
version = "=22.0.0"
git = "https://github.com/stellar/rs-soroban-env"
rev = "b01e79899ceeeb3d39f9531bbc09b39bf0149da8"

[workspace.dependencies.soroban-simulation-21]
[workspace.dependencies.soroban-simulation-prev]
package = "soroban-simulation"
version = "=21.2.0"

[workspace.dependencies.soroban-simulation]
[workspace.dependencies.soroban-simulation-curr]
package = "soroban-simulation"
version = "=22.0.0"
git = "https://github.com/stellar/rs-soroban-env"
Expand Down
8 changes: 4 additions & 4 deletions cmd/soroban-rpc/lib/preflight/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ libc = { workspace = true }
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-21 = { workspace = true, features = ["recording_mode", "testutils", "unstable-next-api"]}
soroban-simulation-21 = { workspace = true }
soroban-env-host = { workspace = true, features = ["recording_mode", "testutils", "unstable-next-api"]}
soroban-simulation = { workspace = true }
soroban-env-host-prev = { workspace = true, features = ["recording_mode", "testutils", "unstable-next-api"]}
soroban-simulation-prev = { workspace = true }
soroban-env-host-curr = { workspace = true, features = ["recording_mode", "testutils", "unstable-next-api"]}
soroban-simulation-curr = { workspace = true }
anyhow = { workspace = true }
rand = { workspace = true }
Loading

0 comments on commit d1ce220

Please sign in to comment.