Skip to content

Commit

Permalink
Bump dependencies. (FuelLabs#886)
Browse files Browse the repository at this point in the history
* Bump dependencies.

* Bump fuel-core in CI to 0.4.1

* Bump deps for sway-core
  • Loading branch information
adlerjohn authored Mar 6, 2022
1 parent 7ccd8be commit 52929ec
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
services:
fuel-core:
image: ghcr.io/fuellabs/fuel-core:v0.3.1
image: ghcr.io/fuellabs/fuel-core:v0.4.1
ports:
- 4000:4000
steps:
Expand Down
59 changes: 47 additions & 12 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions forc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ anyhow = "1.0.41"
clap = { version = "3.1.2", features = ["env", "derive"] }
clap_complete = "3.1"
dirs = "3.0.2"
fuel-asm = "0.1"
fuel-gql-client = { version = "0.3", default-features = false }
fuel-tx = "0.5"
fuel-vm = "0.4"
fuel-asm = "0.2"
fuel-gql-client = { version = "0.4", default-features = false }
fuel-tx = "0.6"
fuel-vm = "0.5"
futures = "0.3"
git2 = "0.14"
hex = "0.4.3"
Expand Down
4 changes: 2 additions & 2 deletions sway-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ clap = { version = "3.1.2", features = ["derive"], optional = true }
derivative = "2.2.0"
dirs = "3.0"
either = "1.6"
fuel-asm = "0.1"
fuel-vm = "0.4"
fuel-asm = "0.2"
fuel-vm = "0.5"
hex = { version = "0.4", optional = true }
lazy_static = "1.4"
nanoid = "0.4"
Expand Down
5 changes: 3 additions & 2 deletions sway-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ repository = "https://github.com/FuelLabs/sway"
description = "Sway core types."

[dependencies]
fuel-asm = "0.1"
fuel-tx = "0.5"
fuel-asm = "0.2"
fuel-crypto = "0.3"
fuel-tx = "0.6"
pest = { version = "3.0.4", package = "fuel-pest" }
pest_derive = { version = "3.0.4", package = "fuel-pest_derive" }
serde = { version = "1.0", features = ["derive"] }
5 changes: 3 additions & 2 deletions sway-types/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use fuel_asm::Word;
use fuel_tx::{crypto, Bytes32, ContractId};
use fuel_crypto::Hasher;
use fuel_tx::{Bytes32, ContractId};
use serde::{Deserialize, Serialize};
use std::path::{Path, PathBuf};
use std::{io, iter, slice};
Expand Down Expand Up @@ -298,7 +299,7 @@ impl Context {
pub fn id_from_repr<'a>(bytes: impl Iterator<Item = &'a u8>) -> Id {
let bytes: Vec<u8> = bytes.copied().collect();

*crypto::Hasher::hash(bytes.as_slice())
*Hasher::hash(bytes.as_slice())
}

pub const fn id(&self) -> &Id {
Expand Down
5 changes: 3 additions & 2 deletions test-sig-gen-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ publish = false

[dependencies]
anyhow = "1.0.39"
fuel-tx = "0.5"
fuel-vm = "0.4"
fuel-crypto = "0.3"
fuel-tx = "0.6"
fuel-vm = "0.5"
hex = "0.4"
secp256k1 = { version = "0.20", features = ["recovery"] }
2 changes: 1 addition & 1 deletion test-sig-gen-util/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! This utility generates data used for testing Sway's ec_recover function (stdlib/ecr.sw).
//! NOT to be used for key-generation as this is NEITHER SECURE NOR RANDOM !!!
use fuel_tx::crypto::Hasher;
use fuel_crypto::Hasher;

use fuel_vm::crypto;
use fuel_vm::prelude::*;
Expand Down
6 changes: 3 additions & 3 deletions test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ publish = false
[dependencies]
anyhow = "1.0.41"
forc = { version = "0.5.0", path = "../forc", features = ["test"], default-features = false }
fuel-asm = "0.1"
fuel-tx = "0.5"
fuel-vm = { version = "0.4", features = ["random"] }
fuel-asm = "0.2"
fuel-tx = "0.6"
fuel-vm = { version = "0.5", features = ["random"] }
rand = "0.8"
regex = "1"
tokio = "1.12"
Expand Down

0 comments on commit 52929ec

Please sign in to comment.