From 53408e52f5e7a20f9dd79702c21a9438cad54d16 Mon Sep 17 00:00:00 2001 From: Ferran Borreguero Date: Tue, 9 Jan 2024 11:47:41 +0100 Subject: [PATCH] Update forge example (#21) * Uninstall * forge install: suave-std * Update forge example --- examples/with-forge/forge.sol | 6 +++--- lib/suave-std | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/with-forge/forge.sol b/examples/with-forge/forge.sol index 001b89c..4d806a3 100644 --- a/examples/with-forge/forge.sol +++ b/examples/with-forge/forge.sol @@ -1,13 +1,13 @@ // SPDX-License-Identifier: MIT pragma solidity ^0.8.8; -import "suave-std/suavelib/SuaveForge.sol"; +import "suave-std/Test.sol"; import "forge-std/Script.sol"; -contract Forge is Script { +contract Forge is Script, SuaveEnabled { address[] public addressList = [0xC8df3686b4Afb2BB53e60EAe97EF043FE03Fb829]; function run() public { - Suave.DataRecord memory bid = SuaveForge.newDataRecord(0, addressList, addressList, "namespace"); + Suave.DataRecord memory bid = Suave.newDataRecord(0, addressList, addressList, "namespace"); } } diff --git a/lib/suave-std b/lib/suave-std index 29416d4..11e5d72 160000 --- a/lib/suave-std +++ b/lib/suave-std @@ -1 +1 @@ -Subproject commit 29416d462e7746df4441a911d08d52577ab2e75a +Subproject commit 11e5d72238e1daf2b6465c55aa386ee8054180a3