Skip to content

Commit

Permalink
Refactor: Actors now return Option<IpldBlock> (filecoin-project#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
arajasek authored and shamb0 committed Jan 31, 2023
1 parent 8f2a226 commit 47fee6b
Show file tree
Hide file tree
Showing 58 changed files with 767 additions and 1,669 deletions.
110 changes: 55 additions & 55 deletions Cargo.lock

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

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ members = [
#fvm_ipld_bitfield = { git = "https://github.com/filecoin-project/ref-fvm" }
#fvm_ipld_encoding = { git = "https://github.com/filecoin-project/ref-fvm" }
#fvm_ipld_blockstore = { git = "https://github.com/filecoin-project/ref-fvm" }
#fvm_actor_utils = { git = "https://github.com/helix-onchain/filecoin", branch = "main" }
#frc42_dispatch = { git = "https://github.com/helix-onchain/filecoin", branch = "main" }
#frc46_token = { git = "https://github.com/helix-onchain/filecoin", branch = "main" }

## Uncomment when working locally on ref-fvm and this repo simultaneously.
## Assumes the ref-fvm checkout is in a sibling directory with the same name.
Expand All @@ -85,6 +88,9 @@ members = [
# fvm_ipld_bitfield = { path = "../ref-fvm/ipld/bitfield"}
# fvm_ipld_encoding = { path = "../ref-fvm/ipld/encoding"}
# fvm_ipld_blockstore = { path = "../ref-fvm/ipld/blockstore"}
#fvm_actor_utils = { path = "../../filecoin/fvm_actor_utils"}
#frc42_dispatch = { path = "../../filecoin/frc42_dispatch"}
#frc46_token = { path = "../../filecoin/frc46_token"}

[profile.wasm]
inherits = "release"
Expand Down
4 changes: 2 additions & 2 deletions actors/account/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ crate-type = ["cdylib", "lib"]

[dependencies]
fil_actors_runtime = { version = "10.0.0-alpha.1", path = "../../runtime" }
frc42_dispatch = "2.0.0"
fvm_actor_utils = "2.0.0"
frc42_dispatch = "3.0.0"
fvm_actor_utils = "3.0.0"
fvm_shared = { version = "2.0.0-alpha.2", default-features = false }
serde = { version = "1.0.136", features = ["derive"] }
num-traits = "0.2.14"
Expand Down
1 change: 0 additions & 1 deletion actors/account/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: Apache-2.0, MIT

use fvm_actor_utils::receiver::UniversalReceiverParams;
use fvm_ipld_encoding::RawBytes;
use fvm_shared::address::{Address, Protocol};
use fvm_shared::crypto::signature::SignatureType::{Secp256k1, BLS};
use fvm_shared::crypto::signature::{Signature, SignatureType};
Expand Down
Loading

0 comments on commit 47fee6b

Please sign in to comment.