Skip to content

Commit 895cbb9

Browse files
committed
bump deps
Signed-off-by: Sam Batschelet <[email protected]>
1 parent b92aed3 commit 895cbb9

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

spacesvm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ name = "spacesvm"
1515
path = "src/bin/spaces/main.rs"
1616

1717
[dependencies]
18-
avalanche-types = { version = "0.0.143", features = ["subnet"] }
18+
avalanche-types = { version = "0.0.144", features = ["subnet"] }
1919
byteorder = "1.4.3"
2020
chrono = "0.4.22"
2121
crossbeam-channel = "0.5.6"

spacesvm/src/bin/spaces/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async fn main() -> Result<()> {
4545
) = tokio::sync::broadcast::channel(1);
4646

4747
info!("starting spacesvm-rs");
48-
let vm_server = subnet::rpc::vm::server::Server::new(Box::new(vm::ChainVm::new()), stop_ch_tx);
48+
let vm_server = subnet::rpc::vm::server::Server::new(vm::ChainVm::new(), stop_ch_tx);
4949

5050
subnet::rpc::plugin::serve(vm_server, stop_ch_rx)
5151
.await

spacesvm/tests/vm/mod.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ async fn test_api() {
2626

2727
// setup stop channel for grpc services.
2828
let (stop_ch_tx, stop_ch_rx): (Sender<()>, Receiver<()>) = tokio::sync::broadcast::channel(1);
29-
let vm_server = avalanche_types::subnet::rpc::vm::server::Server::new(
30-
Box::new(vm::ChainVm::new()),
31-
stop_ch_tx,
32-
);
29+
let vm_server =
30+
avalanche_types::subnet::rpc::vm::server::Server::new(vm::ChainVm::new(), stop_ch_tx);
3331

3432
// start Vm service
3533
let vm_addr = utils::new_socket_addr();
@@ -112,7 +110,7 @@ async fn test_api() {
112110
.await
113111
.unwrap();
114112

115-
let mut client = spacesvm::api::client::Client::new(http::Uri::from_static("http://test.url"));
113+
let client = spacesvm::api::client::Client::new(http::Uri::from_static("http://test.url"));
116114

117115
// ping
118116
let (_id, json_str) = client.raw_request("ping", &Params::None).await;

tests/e2e/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ homepage = "https://avax.network"
1313
[dev-dependencies]
1414
avalanche-installer = "0.0.8"
1515
avalanche-network-runner-sdk = "0.3.0" # https://crates.io/crates/avalanche-network-runner-sdk
16-
avalanche-types = { version = "0.0.140", features = ["client", "subnet"] } # https://crates.io/crates/avalanche-types
16+
avalanche-types = { version = "0.0.144", features = ["client", "subnet"] } # https://crates.io/crates/avalanche-types
1717
env_logger = "0.10.0"
1818
log = "0.4.17"
1919
random-manager = "0.0.1"

0 commit comments

Comments
 (0)