Skip to content

Commit

Permalink
chore: update forc to 0.63.3 (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
DefiCake authored Sep 3, 2024
1 parent 18341c7 commit 0b6e3b1
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/purple-otters-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@fuel-bridge/fungible-token': minor
---

Update forc to 0.63.3
4 changes: 2 additions & 2 deletions Forc.lock
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies = [

[[package]]
name = "core"
source = "path+from-root-D19F39D92CA9923C"
source = "path+from-root-EF1196EF955CE54B"

[[package]]
name = "interface"
Expand Down Expand Up @@ -70,7 +70,7 @@ dependencies = ["std"]

[[package]]
name = "std"
source = "git+https://github.com/fuellabs/sway?tag=v0.63.1#169f91ae0a6a698bd1cb459c4c203bab646a38ec"
source = "git+https://github.com/fuellabs/sway?tag=v0.63.3#f55c81cce61aac31913ac0e87306cbaed7da679a"
dependencies = ["core"]

[[package]]
Expand Down
2 changes: 1 addition & 1 deletion fuel-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ channel = "testnet"

[components]
fuel-core = "0.33.0"
forc = "0.63.1"
forc = "0.63.3"
Binary file modified packages/base-asset/bin/base-asset-contract.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/base-asset/bin/base-asset-contract.hex

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/base-asset/tests/harness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use std::{fs, str::FromStr};

// Matches the README addresses
const BASE_ASSET_CONTRACT_ID: &str =
"0xf746b8dfe2a6545119b421753ab465a9c21094709f0df7926c6d33cb90797d45";
const BASE_ASSET_ID: &str = "0x2361e96b094f3bb902d53d86f3172333587054de09c7ab6c639bd3c52e252aa7";
"0xab724dea11ad246edc359338a6e3cfe6dabdf18740c3b2cf417cc4b1f9453512";
const BASE_ASSET_ID: &str = "0x157b59fb83fc65a53100dda502e6100fc6b1e28ceee3d038c5ef3084bfeae75e";
const BASE_ASSET_CONTRACT_BYTECODE_PATH: &str = "out/release/base-asset-contract.bin";
const BASE_ASSET_CONTRACT_HEX_PATH: &str = "bin/base-asset-contract.hex";
const BASE_ASSET_CONTRACT_BIN_PATH: &str = "bin/base-asset-contract.bin";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,8 @@ fn _process_deposit(message_data: DepositMessage, msg_idx: u64) {
transfer(message_data.to, asset_id, amount)
},
DepositType::ContractWithData => {
let dest_contract = abi(MessageReceiver, message_data.to.as_contract_id().unwrap().into());
let contract_id: b256 = message_data.to.as_contract_id().unwrap().into();
let dest_contract = abi(MessageReceiver, contract_id);
// TODO: Hexens Fuel1-2, if this call fails, funds may get stuck
dest_contract
.process_message {
Expand Down

0 comments on commit 0b6e3b1

Please sign in to comment.