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
Copy file name to clipboardExpand all lines: simulators/ethereum/engine/suites/withdrawals/README.md
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,4 +151,28 @@ This test suite verifies behavior of the Engine API on each client after the Sha
151
151
- Verify that `TxB` returns error on `eth_sendRawTransaction` and also should be absent from the transaction pool of the client
152
152
- Request a new payload from the client and verify that the payload built only includes `TxA`, and `TxB` is not included, nor the contract it could create is present in the `stateRoot`.
153
153
- Create a modified payload where `TxA` is replaced by `TxB` and send using `engine_newPayloadV2`
154
-
- Verify that `engine_newPayloadV2` returns `INVALID` nad `latestValidHash` points to the latest valid payload in the canonical chain.
154
+
- Verify that `engine_newPayloadV2` returns `INVALID` nad `latestValidHash` points to the latest valid payload in the canonical chain.
155
+
156
+
## GetPayloadBodies Tests
157
+
158
+
- Payload Bodies By Range - Shanghai Fork on Block 16 - 16 Withdrawal Blocks
159
+
- Launch client `A` and create a canonical chain consisting of 32 blocks, where the first shanghai block is number 17
160
+
- Payloads produced of the following characteristics
161
+
-[x] 16 Transactions, 16 Withdrawals
162
+
-[x] 0 Transactions, 0 Withdrawals
163
+
- Make multiple requests to obtain the payload bodies from the canonical chain (see `./tests.go` for full list).
164
+
- Verify that:
165
+
- Payload bodies of blocks before the Shanghai fork contain `withdrawals==null`
166
+
- All transactions and withdrawals are in the correct format and order.
167
+
- Requested payload bodies past the highest known block are ignored and absent from the returned list
168
+
169
+
- Payload Bodies By Hash - Shanghai Fork on Block 16 - 16 Withdrawal Blocks
170
+
- Launch client `A` and create a canonical chain consisting of 32 blocks, where the first shanghai block is number 17
171
+
- Payloads produced of the following characteristics
172
+
-[x] 16 Transactions, 16 Withdrawals
173
+
-[x] 0 Transactions, 0 Withdrawals
174
+
- Make multiple requests to obtain the payload bodies from the canonical chain (see `./tests.go` for full list).
175
+
- Verify that:
176
+
- Payload bodies of blocks before the Shanghai fork contain `withdrawals==null`
177
+
- All transactions and withdrawals are in the correct format and order.
178
+
- Requested payload bodies of unknown hashes are returned as null in the returned list
0 commit comments