From 01353d08f64136442197a7a12e4be8626256eef6 Mon Sep 17 00:00:00 2001 From: LuizAsFight Date: Thu, 7 Dec 2023 17:20:38 -0300 Subject: [PATCH] fix: forc version --- Forc.lock | 31 +++++++------------ .../bridge-fungible-token/Forc.toml | 4 ++- scripts/build.sh | 2 +- 3 files changed, 15 insertions(+), 22 deletions(-) diff --git a/Forc.lock b/Forc.lock index d3a9bac0..88defd33 100644 --- a/Forc.lock +++ b/Forc.lock @@ -5,54 +5,45 @@ dependencies = [ "contract_message_receiver", "reentrancy", "src_20", - "std git+https://github.com/fuellabs/sway?branch=feat/transaction-policies#e3ef7732aff53be0bb56deb84881586695b22c0e", + "std", ] [[package]] name = "contract_message_receiver" source = "member" -dependencies = ["std git+https://github.com/fuellabs/sway?tag=v0.47.0#34265301c6037d51444899a99df1cfc563df6016"] +dependencies = ["std"] [[package]] name = "contract_message_test" source = "member" dependencies = [ "contract_message_receiver", - "std git+https://github.com/fuellabs/sway?tag=v0.47.0#34265301c6037d51444899a99df1cfc563df6016", + "std", ] [[package]] name = "core" -source = "path+from-root-3F0B325F69DCDC1F" - -[[package]] -name = "core" -source = "path+from-root-AC247AEA3D39B916" +source = "path+from-root-B77DA2F383183718" [[package]] name = "reentrancy" -source = "git+https://github.com/FuelLabs/sway-libs?branch=ls/feat/std-policies-branch#2cb5cc2ccb1e26d99568530e84e42ffcc0e6f338" -dependencies = ["std git+https://github.com/fuellabs/sway?branch=feat/transaction-policies#e3ef7732aff53be0bb56deb84881586695b22c0e"] +source = "git+https://github.com/FuelLabs/sway-libs?tag=v0.17.2#5d69f665207158517eba14c35c7d28cb1cb93aa9" +dependencies = ["std"] [[package]] name = "src_20" -source = "git+https://github.com/FuelLabs/sway-standards?branch=ls/feat/std-policies-branch#8a7843052c93887a1bb341bceafdf370d66b18d6" -dependencies = ["std git+https://github.com/fuellabs/sway?branch=feat/transaction-policies#e3ef7732aff53be0bb56deb84881586695b22c0e"] - -[[package]] -name = "std" -source = "git+https://github.com/fuellabs/sway?branch=feat/transaction-policies#e3ef7732aff53be0bb56deb84881586695b22c0e" -dependencies = ["core path+from-root-3F0B325F69DCDC1F"] +source = "git+https://github.com/FuelLabs/sway-standards?tag=v0.2.2#6989cf8224b0d8aabea62f3d3c648fc754948705" +dependencies = ["std"] [[package]] name = "std" -source = "git+https://github.com/fuellabs/sway?tag=v0.47.0#34265301c6037d51444899a99df1cfc563df6016" -dependencies = ["core path+from-root-AC247AEA3D39B916"] +source = "git+https://github.com/fuellabs/sway?tag=v0.48.1#6886ef050ce62afd3fe3186ed562fd33bd76bffa" +dependencies = ["core"] [[package]] name = "test_deposit_recipient_contract" source = "member" dependencies = [ "contract_message_receiver", - "std git+https://github.com/fuellabs/sway?branch=feat/transaction-policies#e3ef7732aff53be0bb56deb84881586695b22c0e", + "std", ] diff --git a/packages/fungible-token/bridge-fungible-token/Forc.toml b/packages/fungible-token/bridge-fungible-token/Forc.toml index 9960296e..6fedac66 100644 --- a/packages/fungible-token/bridge-fungible-token/Forc.toml +++ b/packages/fungible-token/bridge-fungible-token/Forc.toml @@ -5,4 +5,6 @@ license = "Apache-2.0" name = "bridge_fungible_token" [dependencies] -contract_message_receiver = { path = "../../message-predicates/contract-message-receiver" } \ No newline at end of file +contract_message_receiver = { path = "../../message-predicates/contract-message-receiver" } +reentrancy = { git = "https://github.com/FuelLabs/sway-libs", tag = "v0.17.2" } +src_20 = { git = "https://github.com/FuelLabs/sway-standards", tag = "v0.2.2" } \ No newline at end of file diff --git a/scripts/build.sh b/scripts/build.sh index 3cd00bad..0e482925 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -forc build +pnpm fuels-forc build cargo run turbo run build