Skip to content

Commit 8b36faa

Browse files
committed
Document sender, psender
1 parent 43096f2 commit 8b36faa

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

program-analysis/echidna/configuration.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,20 @@ contract to test. Echidna will error if the deployment fails.
130130
| --------- | ----------------------------------- | ------------ | -------------- |
131131
| [Address] | `["0x10000", "0x20000", "0x30000"]` | \* | `--sender` |
132132

133-
List of addresses to (randomly) use for the transactions sent during testing.
133+
List of addresses to (randomly) use as `msg.sender` for the transactions sent
134+
during testing. These addresses are used as the sender for all transactions
135+
produced by Echidna, except for property evaluation in `property` mode (see
136+
`psender` below).
134137

135138
## `psender`
136139

137140
| Type | Default | Available in |
138141
| ------- | ----------- | ------------ |
139142
| Address | `"0x10000"` | \* |
140143

141-
Address of the sender of the property to test.
144+
Address of `msg.sender` to use for property evaluation. This address is only
145+
used to evaluate properties (functions with the configured `prefix`) while
146+
executing Echidna in `property` mode.
142147

143148
## `prefix`
144149

0 commit comments

Comments
 (0)