Skip to content

Commit

Permalink
Update forge example (#21)
Browse files Browse the repository at this point in the history
* Uninstall

* forge install: suave-std

* Update forge example
  • Loading branch information
ferranbt authored Jan 9, 2024
1 parent d4de94c commit 53408e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/with-forge/forge.sol
Original file line number Diff line number Diff line change
@@ -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");
}
}

0 comments on commit 53408e5

Please sign in to comment.