You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All tests pass at the expense of cardboarded and duck-taped code. This needs some serious refactoring, perhaps more tests, then squashing all these WIP commits.
* Hexidecimal values **must** be text (not byte) strings. The `0x` prefix is optional.
132
156
* Any address which contains mixed-case alpha characters will be validated as a checksummed address as specified by [EIP-55](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-55.md)
133
-
* 32-byte hashes **must** be hexidecimal encoded.
157
+
* 32-byte hashes **must** be hexadecimal encoded.
134
158
* Numeric values **must** be in their integer representation.
135
159
136
160
Similarly, ethereum tester ensures that return values conform to similar rules.
137
161
138
-
* 32-byte hashes will be returned in their hexidecimal encoded representation.
139
-
* Addresses will be returned in their hexidecimal representation and EIP55 checksummed.
162
+
* 32-byte hashes will be returned in their hexadecimal encoded representation.
163
+
* Addresses will be returned in their hexadecimal representation and EIP55 checksummed.
140
164
* Numeric values will be returned as integers.
141
165
142
166
@@ -164,8 +188,8 @@ The `EthereumTester` object is the sole API entrypoint. Instantiation of this
164
188
object accepts the following parameters.
165
189
166
190
-`backend`: The chain backend being used. See the [chain backends](#backends)
167
-
-`validator`: The validator to used. See the [validators](#validation)
168
-
-`normalizer`: The normalizer to used. See the [normalizers](#normalization)
191
+
-`validator`: The validator being used. See the [validators](#validation)
192
+
-`normalizer`: The normalizer being used. See the [normalizers](#normalization)
169
193
-`auto_mine_transactions`: If *truthy* transactions will be automatically mined at the time they are submitted. See [`enable_auto_mine_transactions`](#api-enable_auto_mine_transactions) and [`disable_auto_mine_transactions`](#api-disable_auto_mine_transactions).
170
194
-`fork_blocks`: configures which block numbers the various network hard fork rules will be activated. See [fork-rules](#fork-rules)
171
195
@@ -181,7 +205,7 @@ object accepts the following parameters.
181
205
### Fork Rules
182
206
<aid="fork-rules"></a>
183
207
184
-
Ethereum tester uses the Byzantium rules, starting at block 0.
208
+
Ethereum tester uses the London fork rules, starting at block 0.
185
209
186
210
### Time Travel
187
211
<aid="time-travel"></a>
@@ -201,7 +225,7 @@ of the latest block.
201
225
### Mining
202
226
203
227
Manually mining blocks can be done with the following API. The `coinbase`
204
-
parameter of these methods **must** be a hexidecimal encoded address.
228
+
parameter of these methods **must** be a hexadecimal encoded address.
205
229
206
230
<aid="api-mine_blocks"></a>
207
231
@@ -221,7 +245,7 @@ Mines a single new block, returning the mined block's hash.
221
245
222
246
#### Auto-mining transactions
223
247
224
-
By default all transactions are mined immediately. This means that each transaction you send will result in a new block being mined, and that all blocks will only ever have at most a single transaction. This behavior can be controlled with the following methods.
248
+
By default, all transactions are mined immediately. This means that each transaction you send will result in a new block being mined, and that all blocks will only ever have at most a single transaction. This behavior can be controlled with the following methods.
225
249
226
250
<aid="api-enable_auto_mine_transactions"></a>
227
251
@@ -239,7 +263,7 @@ Turns **off** auto-mining of transactions.
239
263
### Accounts
240
264
241
265
The following API can be used to interact with account data. The `account`
242
-
parameter in these methods **must** be a hexidecimal encode address.
266
+
parameter in these methods **must** be a hexadecimal encode address.
0 commit comments