Skip to content

Commit 2b85971

Browse files
authored
Drop unnecessary changes from next (#1207)
Drop unnecsseray changes from next
1 parent 3f0bf0d commit 2b85971

File tree

20 files changed

+37
-255
lines changed

20 files changed

+37
-255
lines changed

Cargo.toml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,22 @@ num-traits = "0.2.15"
4040
clap = { version = "3.2.3", features = ["derive"] }
4141

4242
[features]
43-
default = [] ## translates to mainnet
43+
default = [] ## translates to mainnet
4444
mainnet = []
4545
caterpillarnet = []
4646
butterflynet = []
4747
calibrationnet = []
4848
devnet = []
4949
testing = []
5050
testing-fake-proofs = []
51-
m2-native = []
5251

5352
[workspace]
54-
members = ["actors/*", "state", "runtime", "test_vm", "actors/evm/shared"]
53+
members = [
54+
"actors/*",
55+
"state",
56+
"runtime",
57+
"test_vm",
58+
]
5559

5660
[patch.crates-io]
5761
#fvm_shared = { git = "https://github.com/filecoin-project/ref-fvm", branch = "master" }
@@ -72,20 +76,18 @@ members = ["actors/*", "state", "runtime", "test_vm", "actors/evm/shared"]
7276
#fvm_shared = { path = "../ref-fvm/shared" }
7377
#fvm_sdk = { path = "../ref-fvm/sdk" }
7478
#fvm_ipld_hamt = { path = "../ref-fvm/ipld/hamt" }
75-
#fvm_ipld_kamt = { path = "../ref-fvm/ipld/kamt" }
7679
#fvm_ipld_amt = { path = "../ref-fvm/ipld/amt" }
7780
#fvm_ipld_bitfield = { path = "../ref-fvm/ipld/bitfield"}
7881
#fvm_ipld_encoding = { path = "../ref-fvm/ipld/encoding"}
7982
#fvm_ipld_blockstore = { path = "../ref-fvm/ipld/blockstore"}
8083

81-
# Uncomment entries below when working locally on ref-fvm and this repo simultaneously.
82-
# Assumes the ref-fvm checkout is in a sibling directory with the same name.
83-
# (Valid once FVM modules are published to crates.io)
84+
## Uncomment entries below when working locally on ref-fvm and this repo simultaneously.
85+
## Assumes the ref-fvm checkout is in a sibling directory with the same name.
86+
## (Valid once FVM modules are published to crates.io)
8487
# [patch.crates-io]
8588
# fvm_shared = { path = "../ref-fvm/shared" }
8689
# fvm_sdk = { path = "../ref-fvm/sdk" }
8790
# fvm_ipld_hamt = { path = "../ref-fvm/ipld/hamt" }
88-
# fvm_ipld_kamt = { path = "../ref-fvm/ipld/kamt" }
8991
# fvm_ipld_amt = { path = "../ref-fvm/ipld/amt" }
9092
# fvm_ipld_bitfield = { path = "../ref-fvm/ipld/bitfield"}
9193
# fvm_ipld_encoding = { path = "../ref-fvm/ipld/encoding"}

actors/datacap/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ log = "0.4.14"
3434
fil_actors_runtime = { path = "../../runtime", features = ["test_utils", "sector-default"] }
3535
[features]
3636
fil-actor = ["fil_actors_runtime/fil-actor"]
37+

actors/datacap/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ use fvm_shared::address::Address;
1313
use fvm_shared::bigint::BigInt;
1414
use fvm_shared::econ::TokenAmount;
1515
use fvm_shared::error::{ErrorNumber, ExitCode};
16-
use fvm_shared::{ActorID, MethodNum, Response, METHOD_CONSTRUCTOR};
16+
use fvm_shared::Response;
17+
use fvm_shared::{ActorID, MethodNum, METHOD_CONSTRUCTOR};
1718
use lazy_static::lazy_static;
1819
use log::info;
1920
use num_derive::FromPrimitive;

actors/eam/src/ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use fvm_ipld_encoding::RawBytes;
44
use fvm_shared::address::Address;
55

66
pub mod init {
7+
78
use super::*;
89

910
pub const EXEC4_METHOD: u64 = 3;
@@ -28,7 +29,6 @@ pub mod init {
2829

2930
pub mod evm {
3031
use super::*;
31-
3232
use fil_actors_evm_shared::address::EthAddress;
3333

3434
#[derive(Serialize_tuple, Deserialize_tuple, Clone)]

actors/init/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fvm_ipld_blockstore = "0.1.1"
2828
fvm_ipld_encoding = "0.3.3"
2929

3030
[dev-dependencies]
31-
fil_actors_runtime = { path = "../../runtime", features = ["test_utils", "sector-default"] }
31+
fil_actors_runtime = { version = "10.0.0-alpha.1", path = "../../runtime", features = ["test_utils", "sector-default"] }
3232

3333
[features]
3434
fil-actor = ["fil_actors_runtime/fil-actor"]

actors/market/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ num-traits = "0.2.14"
3333
serde = { version = "1.0.136", features = ["derive"] }
3434

3535
[dev-dependencies]
36-
fil_actors_runtime = { path = "../../runtime", features = ["test_utils", "sector-default"] }
36+
fil_actors_runtime = { version = "10.0.0-alpha.1", path = "../../runtime", features = ["test_utils", "sector-default"] }
3737
fil_actor_power = { path = "../power" }
3838
fil_actor_reward = { path = "../reward" }
3939
fil_actor_verifreg = { path = "../verifreg" }

actors/miner/src/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ pub struct AdvanceDeadlineResult {
12071207
}
12081208

12091209
/// Static information about miner
1210-
#[derive(Debug, Eq, PartialEq, Serialize_tuple, Deserialize_tuple)]
1210+
#[derive(Debug, PartialEq, Eq, Serialize_tuple, Deserialize_tuple)]
12111211
pub struct MinerInfo {
12121212
/// Account that owns this miner
12131213
/// - Income and returned collateral are paid to this address

actors/miner/tests/change_beneficiary_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use fvm_shared::{address::Address, econ::TokenAmount, error::ExitCode, MethodNum
77
use num_traits::Zero;
88

99
mod util;
10-
1110
use util::*;
1211

1312
fn setup() -> (ActorHarness, MockRuntime) {

actors/miner/tests/miner_actor_test_peer_info.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ fn get_and_change_multiaddrs_restricted_correctly() {
128128
.unwrap();
129129

130130
rt.set_caller(*EVM_ACTOR_CODE_ID, h.worker);
131+
131132
// fail to call the unexported setter
132133

133134
expect_abort_contains_message(

actors/power/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fvm_ipld_blockstore = "0.1.1"
3131
fvm_ipld_encoding = "0.3.3"
3232

3333
[dev-dependencies]
34-
fil_actors_runtime = { path = "../../runtime", features = ["test_utils", "sector-default"] }
34+
fil_actors_runtime = { version = "10.0.0-alpha.1", path = "../../runtime", features = ["test_utils", "sector-default"] }
3535
fil_actor_reward = { path = "../reward" }
3636

3737
[features]

0 commit comments

Comments
 (0)