File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+
3
+ ### formatting ds-test logs
4
+ () https://github.com/dapphub/dapptools/blob/728a9245fa5f78589b0cedec0ade2da5433ad792/src/hevm/src/EVM/UnitTest.hs#L830
5
+ 1 . https://github.com/gakonst/foundry/blob/master/evm-adapters/src/sputnik/cheatcodes/mod.rs#L68-L88
6
+ 2 . https://github.com/gakonst/foundry/blob/master/evm-adapters/src/sputnik/cheatcodes/cheatcode_handler.rs#L76-L109
7
+ 3 . https://github.com/gakonst/foundry/blob/master/evm-adapters/src/sputnik/cheatcodes/cheatcode_handler.rs#L263
8
+
9
+
10
+
11
+ ### VSCode Config
12
+
13
+ > https://github.com/gakonst/dapptools-template/blob/master/.vscode/settings.json
14
+
15
+ ``` json
16
+
17
+ {
18
+ "settings" : {
19
+ "solidity.remappings" : [
20
+ " ds-test/=$HOME/forge-example/forge-test/lib/ds-test/src/"
21
+ ]
22
+ }
23
+ }
24
+
25
+ ```
26
+
27
+ ## Remappings
28
+
29
+ ``` sh
30
+ ds-test/=$( pwd) /lib/ds-test/src/
31
+ ```
32
+
33
+ ### passing state to ` ds-test `
34
+
35
+ ``` sh
36
+ export DAPP_LIBRARIES=$( dapp --library-addresses)
37
+ export DAPP_TEST_STATE=$( dapp --make-library-state)
You can’t perform that action at this time.
0 commit comments