File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -266,9 +266,15 @@ The python representation can be found in [src/ethereum_test_tools/common/types.
266266It can verify the following properties of an account:
267267- ` nonce ` : the scalar value equal to a) the number of transactions sent by
268268 an Externally Owned Account, b) the amount of contracts created by a contract.
269+
269270- ` balance ` : the amount of Wei (10<sup >-18</sup > Eth) the account has.
271+
270272- ` code ` : Bytecode contained by the account. To verify that an account contains
271273 no code, this property needs to be set to "0x" or "".
274+
275+ It is not recommended to verify Yul compiled code in the output account,
276+ because the bytecode can change from version to version.
277+
272278- ` storage ` : Storage within the account represented as a ` dict ` object.
273279 All storage keys that are expected to be set must be specified, and if a
274280 key is skipped, it is implied that its expected value is zero.
Original file line number Diff line number Diff line change @@ -51,8 +51,6 @@ def test_yul(fork):
5151
5252 post = {
5353 "0x1000000000000000000000000000000000000000" : Account (
54- code = """0x6010565b6000828201905092915050565b
55- 601a600260016003565b60005560206000f3""" ,
5654 storage = {
5755 0x00 : 0x03 ,
5856 },
You can’t perform that action at this time.
0 commit comments