Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

FM-13: Message interpreter #14

Merged
merged 16 commits into from
Feb 6, 2023
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ license-file = "LICENSE-APACHE"


[workspace.dependencies]
anyhow = "1"
async-trait = "0.1"
async-stm = "0.1.2"
futures = "0.3"
tokio = { version = "1", features = ["rt-multi-thread"] }
tempfile = "3.3"
anyhow = "1"
thiserror = "1"
serde = { version = "1", features = ["derive"] }
serde_tuple = "0.5"
cid = { version = "0.8", default-features = false, features = ["serde-codec", "std", "arb"] }
Expand All @@ -28,3 +30,7 @@ fvm_ipld_car = "0.6"
# The following are on crates.io but as pre-releases.
fvm = { version = "3.0.0-alpha.21", default-features = false } # no opencl or it fails on CI
fvm_shared = "3.0.0-alpha.17"

# Tendermint dependencies are forked because we are building against 0.37 release candidates.
tower-abci = { git = "https://github.com/consensus-shipyard/tower-abci.git", branch = "tendermint-v0.37" }
tendermint = { git = "https://github.com/aakoshh/tendermint-rs.git", branch = "mikhail/multi-tc-version-support" }
6 changes: 3 additions & 3 deletions fendermint/abci/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ async-trait = { workspace = true }
futures = { workspace = true }
tower = "0.4"

tower-abci = { git = "https://github.com/consensus-shipyard/tower-abci.git", branch = "tendermint-v0.37" }
tendermint = { git = "https://github.com/aakoshh/tendermint-rs.git", branch = "mikhail/multi-tc-version-support" }
tower-abci = { workspace = true }
tendermint = { workspace = true }


[dev-dependencies]
async-stm = "0.1.2"
async-stm = { workspace = true }
im = "15.1.0"
structopt = "0.3"
tokio = { version = "1" }
Expand Down
20 changes: 16 additions & 4 deletions fendermint/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,32 @@ edition.workspace = true
license.workspace = true

[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
tokio = { workspace = true }
tendermint = { workspace = true }

fendermint_abci = { path = "../abci" }
fendermint_vm_interpreter = { path = "../vm/interpreter" }
fendermint_vm_message = { path = "../vm/message" }

cid = { workspace = true }
fvm = { workspace = true }
fvm_ipld_blockstore = { workspace = true }
fvm_ipld_car = { workspace = true }
tokio = { workspace = true }
fvm_ipld_encoding = { workspace = true }
fvm_shared = { workspace = true }

# The current 0.2.0 version of forest_db is not published to crates.io.
# Using the `tag` of the `forest` repo rather than the `version` of just `forest_db` so we don't get a random commit in `main`.
forest_db = { git = "https://github.com/ChainSafe/forest.git", tag = "v0.6.0", features = ["rocksdb"] }

[dev-dependencies]
tempfile = { workspace = true }

# Load the same built-in actor bundle as the ref-fvm integration tests. We'll probably need built-in actors,
# for example to deploy Solidity code. We can compile Wasm actors and deploy them too, but certain functions
# in `ref-fvm` like looking up actor addresses depend on built-in actors like the `InitActor` maintaining state.
# TODO: This is dev-dependency for testing - in prod it whould be taken from a file, not packaged with the app, so the release cycle is independent.
# TODO: Figure out how to load only what we need, and nothing else.
actors-v10 = { package = "fil_builtin_actors_bundle", git = "https://github.com/filecoin-project/builtin-actors", branch = "next", features = ["m2-native"] }

[dev-dependencies]
tempfile = { workspace = true }
Loading