From cbe0b0af0f166827ace173b2176e6069e0233b01 Mon Sep 17 00:00:00 2001 From: bitzoic Date: Tue, 8 Aug 2023 14:24:57 -0400 Subject: [PATCH] Update tests to use SRC-5 ownership standard --- tests/src/ownership/Forc.toml | 1 + tests/src/ownership/src/main.sw | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/src/ownership/Forc.toml b/tests/src/ownership/Forc.toml index e541ab7f..88a2f14d 100644 --- a/tests/src/ownership/Forc.toml +++ b/tests/src/ownership/Forc.toml @@ -6,3 +6,4 @@ name = "ownership_test" [dependencies] ownership = { path = "../../../libs/ownership" } +src_5 = { git = "https://github.com/FuelLabs/sway-standards", tag = "v0.1.0" } diff --git a/tests/src/ownership/src/main.sw b/tests/src/ownership/src/main.sw index 115b22a5..946c5e89 100644 --- a/tests/src/ownership/src/main.sw +++ b/tests/src/ownership/src/main.sw @@ -1,7 +1,7 @@ contract; use ownership::*; -use ownership::data_structures::State; +use src_5::{Ownership, State}; storage { owner: Ownership = Ownership::uninitialized(),