@@ -89,15 +89,15 @@ and then invoke it in your [test setup](https://book.getfoundry.sh/forge/writing
8989Now you can use Hedera Token Services and remote tokens as if they were deployed locally when fork testing.
9090For example
9191
92- ``` solidity examples/foundry-hts/USDC.t.sol
92+ ``` solidity examples/foundry-hts/src/ USDC.t.sol
9393// SPDX-License-Identifier: Apache-2.0
9494pragma solidity ^0.8.0;
9595
9696import {Test} from "forge-std/Test.sol";
97- import {htsSetup} from "hedera-forking/contracts/ htsSetup.sol";
98- import {IERC20} from "hedera-forking/contracts/ IERC20.sol";
99- import {IHederaTokenService} from "hedera-forking/contracts/ IHederaTokenService.sol";
100- import {HederaResponseCodes} from "hedera-forking/contracts/ HederaResponseCodes.sol";
97+ import {htsSetup} from "hedera-forking/htsSetup.sol";
98+ import {IERC20} from "hedera-forking/IERC20.sol";
99+ import {IHederaTokenService} from "hedera-forking/IHederaTokenService.sol";
100+ import {HederaResponseCodes} from "hedera-forking/HederaResponseCodes.sol";
101101
102102contract USDCExampleTest is Test {
103103 // https://hashscan.io/mainnet/token/0.0.456858
@@ -148,13 +148,13 @@ forge test --fork-url https://mainnet.hashio.io/api --fork-block-number 72433403
148148
149149You can use all the tools and cheatcodes Foundry provides, _ e.g._ , ` console.log `
150150
151- ``` solidity examples/foundry-hts/USDCConsole.t.sol
151+ ``` solidity examples/foundry-hts/src/ USDCConsole.t.sol
152152// SPDX-License-Identifier: Apache-2.0
153153pragma solidity ^0.8.0;
154154
155155import {Test, console} from "forge-std/Test.sol";
156- import {htsSetup} from "hedera-forking/contracts/ htsSetup.sol";
157- import {IERC20} from "hedera-forking/contracts/ IERC20.sol";
156+ import {htsSetup} from "hedera-forking/htsSetup.sol";
157+ import {IERC20} from "hedera-forking/IERC20.sol";
158158
159159contract USDCConsoleExampleTest is Test {
160160 function setUp() external {
@@ -527,7 +527,7 @@ This allow us to ensure that all examples and tables are never outdated (if we c
527527Code fences that contains a file name after the language definition, _ e.g._ ,
528528
529529```` markdown
530- ``` solidity examples/foundry-hts/USDC.t.sol
530+ ``` solidity examples/foundry-hts/src/ USDC.t.sol
531531 ```
532532````
533533
0 commit comments