Skip to content

Commit

Permalink
feat: bump fuel-core to v0.40.0 and sdk to v0.66.9 + show checksum ad…
Browse files Browse the repository at this point in the history
…dresses in forc-deploy (#6630)

## Description

Bumps fuel-core v0.40.0 and SDK to 0.66.9.

Also updates the account selection phase of forc-deploy to show check
sum encoded address.

<img width="1721" alt="image"
src="https://github.com/user-attachments/assets/ee698b57-51ef-47f9-a1a7-4d2b00506e94">
  • Loading branch information
kayagokalp authored Oct 15, 2024
1 parent 98d821b commit 7c7f27b
Show file tree
Hide file tree
Showing 6 changed files with 266 additions and 201 deletions.
98 changes: 52 additions & 46 deletions Cargo.lock

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

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ fuel-abi-types = "0.7"
# Although ALL verions are "X.Y", we need the complete semver for
# fuel-core-client as the GitHub Actions workflow parses this value to pull down
# the correct tarball
fuel-core-client = { version = "0.37.0", default-features = false }
fuel-core-types = { version = "0.37", default-features = false }
fuel-core-client = { version = "0.40.0", default-features = false }
fuel-core-types = { version = "0.40", default-features = false }

# Dependencies from the `fuels-rs` repository:

fuels = "0.66"
fuels-core = "0.66"
fuels-accounts = "0.66"
fuels = "0.66.9"
fuels-core = "0.66.9"
fuels-accounts = "0.66.9"

# Dependencies from the `fuel-vm` repository:
fuel-asm = "0.58"
Expand All @@ -103,7 +103,7 @@ fuel-tx = "0.58"
fuel-vm = "0.58"

# Dependencies from the `forc-wallet` repository:
forc-wallet = "0.10"
forc-wallet = "0.11"

#
# External dependencies
Expand Down
8 changes: 4 additions & 4 deletions forc-plugins/forc-client/src/util/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ impl FromStr for Target {

fn from_str(s: &str) -> Result<Self, Self::Err> {
match s {
"testnet" => Ok(Target::Testnet),
"mainnet" => Ok(Target::Mainnet),
"Fuel Sepolia Testnet" => Ok(Target::Testnet),
"Ignition" => Ok(Target::Mainnet),
"local" => Ok(Target::Local),
_ => bail!(
"'{s}' is not a valid target name. Possible values: '{}', '{}', '{}'",
Expand All @@ -89,8 +89,8 @@ impl FromStr for Target {
impl std::fmt::Display for Target {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
Target::Testnet => "testnet",
Target::Mainnet => "mainnet",
Target::Testnet => "Fuel Sepolia Testnet",
Target::Mainnet => "Ignition",
Target::Local => "local",
};
write!(f, "{}", s)
Expand Down
Loading

0 comments on commit 7c7f27b

Please sign in to comment.