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

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoAtwill committed Oct 17, 2023
2 parents cdbcf10 + 54dc974 commit a3efa28
Show file tree
Hide file tree
Showing 20 changed files with 330 additions and 244 deletions.
70 changes: 40 additions & 30 deletions Cargo.lock

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

11 changes: 7 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,21 @@ rand = "0.8"
hex = "0.4.3"
tempfile = "3.4.0"
serde_json = { version = "1.0.91", features = ["raw_value"] }
ipc_actors_abis = { path = "../ipc-solidity-actors/binding" }

ipc_actors_abis = { git = "https://github.com/consensus-shipyard/ipc-solidity-actors.git", branch = "dev" }

libipld = { version = "0.14", default-features = false, features = ["dag-cbor"] }
ethers = "2.0.8"
ethers-contract = "2.0.8"

ipc-sdk = { path = "./ipc/sdk" }

fvm_ipld_blockstore = "0.1.1"
fvm_ipld_encoding = "0.3.3"
fvm_ipld_hamt = "0.6"
fvm_shared = { version = "=3.2.0", default-features = false, features = ["crypto"] }
fil_actors_runtime = { git = "https://github.com/consensus-shipyard/fvm-utils", features = ["fil-actor"] }
libipld = { version = "0.14", default-features = false, features = ["dag-cbor"] }
primitives = { git = "https://github.com/consensus-shipyard/fvm-utils" }
ethers = "2.0.8"
ethers-contract = "2.0.8"

# Uncomment to point to you local versions
# [patch."https://github.com/consensus-shipyard/fvm-utils"]
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ In order to use the IPC agent with Calibration we need to have access to a full
# Default configuration for Filecoin Calibration
[[subnets]]
id = "/r314159"
network_name = "calibration"
[subnets.config]
accounts = []
gateway_addr = "0x5fBdA31a37E05D8cceF146f7704f4fCe33e2F96F"
network_type = "fevm"
provider_http = "https://api.calibration.node.glif.io/rpc/v1"
Expand Down Expand Up @@ -135,7 +133,6 @@ The `/r31415926` section of the agent's `config.toml` must be updated to connect
```toml
[[subnets]]
id = "/r31415926"
network_name = "root"

[subnets.config]
network_type = "fvm"
Expand Down
1 change: 0 additions & 1 deletion docs/quickstart-calibration.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ id = "/r314159"
network_name = "calibration"

[subnets.config]
accounts = []
gateway_addr = "0x5fBdA31a37E05D8cceF146f7704f4fCe33e2F96F"
network_type = "fevm"
provider_http = "https://api.calibration.node.glif.io/rpc/v1"
Expand Down
8 changes: 4 additions & 4 deletions ipc/cli/src/commands/subnet/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ impl CreateSubnet {
.create_subnet(
from,
parent,
arguments.name.clone(),
arguments.min_validators,
f64_to_token_amount(arguments.min_validator_stake)?,
f64_to_token_amount(arguments.min_cross_msg_fee)?,
arguments.bottomup_check_period,
arguments
.active_validators_limit
Expand Down Expand Up @@ -74,10 +74,10 @@ pub struct CreateSubnetArgs {
pub from: Option<String>,
#[arg(long, short, help = "The parent subnet to create the new actor in")]
pub parent: String,
#[arg(long, short, help = "The name of the subnet")]
pub name: String,
#[arg(long, help = "The minimal validator stake amount (in whole FIL units)")]
#[arg(long, short, help = "The minimal validator stake")]
pub min_validator_stake: f64,
#[arg(long, short, help = "The minimal cross message fee")]
pub min_cross_msg_fee: f64,
#[arg(long, help = "The minimal number of validators")]
pub min_validators: u64,
#[arg(long, help = "The bottom up checkpoint period in number of blocks")]
Expand Down
Loading

0 comments on commit a3efa28

Please sign in to comment.