@@ -14,6 +14,7 @@ TEST_F(state_transition, touch_empty_sd)
1414 block.base_fee = 0 ;
1515 static constexpr auto EMPTY = 0xee_address;
1616
17+ tx.type = Transaction::Type::legacy;
1718 tx.to = To;
1819 pre .insert (*tx.to , {.code = call (EMPTY )});
1920 pre .insert (EMPTY , {});
@@ -28,6 +29,7 @@ TEST_F(state_transition, touch_empty_tw)
2829 block.base_fee = 0 ;
2930 static constexpr auto EMPTY = 0xee_address;
3031
32+ tx.type = Transaction::Type::legacy;
3133 tx.to = To;
3234 pre .insert (*tx.to , {.code = call (EMPTY )});
3335 pre .insert (EMPTY , {});
@@ -42,6 +44,7 @@ TEST_F(state_transition, touch_nonexistent_tw)
4244 block.base_fee = 0 ;
4345 static constexpr auto NONEXISTENT = 0x4e_address;
4446
47+ tx.type = Transaction::Type::legacy;
4548 tx.to = To;
4649 pre .insert (*tx.to , {.code = call (NONEXISTENT )});
4750
@@ -55,6 +58,7 @@ TEST_F(state_transition, touch_nonexistent_sd)
5558 block.base_fee = 0 ;
5659 static constexpr auto NONEXISTENT = 0x4e_address;
5760
61+ tx.type = Transaction::Type::legacy;
5862 tx.to = To;
5963 pre .insert (*tx.to , {.code = call (NONEXISTENT )});
6064
@@ -67,6 +71,7 @@ TEST_F(state_transition, touch_nonempty_tw)
6771 block.base_fee = 0 ;
6872 static constexpr auto WITH_BALANCE = 0xba_address;
6973
74+ tx.type = Transaction::Type::legacy;
7075 tx.to = To;
7176 pre .insert (*tx.to , {.code = call (WITH_BALANCE )});
7277 pre .insert (WITH_BALANCE , {.balance = 1 });
@@ -81,6 +86,7 @@ TEST_F(state_transition, touch_revert_empty)
8186 block.base_fee = 0 ;
8287 static constexpr auto EMPTY = 0xee_address;
8388
89+ tx.type = Transaction::Type::legacy;
8490 tx.to = To;
8591 pre .insert (*tx.to , {.code = call (EMPTY ) + revert (0 , 0 )});
8692 pre .insert (EMPTY , {});
@@ -96,6 +102,7 @@ TEST_F(state_transition, touch_revert_nonexistent_istanbul)
96102 block.base_fee = 0 ;
97103 static constexpr auto EMPTY = 0xee_address;
98104
105+ tx.type = Transaction::Type::legacy;
99106 tx.to = To;
100107 pre .insert (*tx.to , {.code = call (EMPTY ) + revert (0 , 0 )});
101108
@@ -110,6 +117,7 @@ TEST_F(state_transition, touch_revert_nonexistent_tw)
110117 block.base_fee = 0 ;
111118 static constexpr auto EMPTY = 0xee_address;
112119
120+ tx.type = Transaction::Type::legacy;
113121 tx.to = To;
114122 pre .insert (*tx.to , {.code = call (EMPTY ) + OP_INVALID });
115123
@@ -124,6 +132,7 @@ TEST_F(state_transition, touch_revert_nonempty_tw)
124132 block.base_fee = 0 ;
125133 static constexpr auto WITH_BALANCE = 0xba_address;
126134
135+ tx.type = Transaction::Type::legacy;
127136 tx.to = To;
128137 pre .insert (*tx.to , {.code = call (WITH_BALANCE ) + OP_INVALID });
129138 pre .insert (WITH_BALANCE , {.balance = 1 });
@@ -140,6 +149,7 @@ TEST_F(state_transition, touch_revert_nonexistent_touch_again_tw)
140149 static constexpr auto EMPTY = 0xee_address;
141150 static constexpr auto REVERT_PROXY = 0x94_address;
142151
152+ tx.type = Transaction::Type::legacy;
143153 tx.to = To;
144154 pre .insert (REVERT_PROXY , {.code = call (EMPTY ) + OP_INVALID });
145155 pre .insert (*tx.to , {.code = call (REVERT_PROXY ).gas (0xffff ) + call (EMPTY )});
@@ -156,6 +166,7 @@ TEST_F(state_transition, touch_touch_revert_nonexistent_tw)
156166 static constexpr auto EMPTY = 0xee_address;
157167 static constexpr auto REVERT_PROXY = 0x94_address;
158168
169+ tx.type = Transaction::Type::legacy;
159170 tx.to = To;
160171 pre .insert (REVERT_PROXY , {.code = call (EMPTY ) + OP_INVALID });
161172 pre .insert (*tx.to , {.code = call (EMPTY ) + call (REVERT_PROXY ).gas (0xffff )});
@@ -172,6 +183,7 @@ TEST_F(state_transition, touch_revert_touch_revert_nonexistent_tw)
172183 static constexpr auto EMPTY = 0xee_address;
173184 static constexpr auto REVERT_PROXY = 0x94_address;
174185
186+ tx.type = Transaction::Type::legacy;
175187 tx.to = To;
176188 pre .insert (REVERT_PROXY , {.code = call (EMPTY ) + OP_INVALID });
177189 pre .insert (*tx.to , {.code = 2 * call (REVERT_PROXY ).gas (0xffff )});
@@ -187,6 +199,7 @@ TEST_F(state_transition, touch_touch_revert_nonexistent_tw_2)
187199 block.base_fee = 0 ;
188200 static constexpr auto EMPTY = 0xee_address;
189201
202+ tx.type = Transaction::Type::legacy;
190203 tx.to = To;
191204 pre .insert (*tx.to , {.code = call (EMPTY ) + call (EMPTY ) + OP_INVALID });
192205
@@ -202,6 +215,7 @@ TEST_F(state_transition, touch_revert_selfdestruct_to_nonexistient_tw)
202215 static constexpr auto DESTRUCTOR = 0xde_address;
203216 static constexpr auto BENEFICIARY = 0xbe_address;
204217
218+ tx.type = Transaction::Type::legacy;
205219 tx.to = To;
206220 pre .insert (*tx.to , {.code = call (DESTRUCTOR ).gas (0xffff ) + OP_INVALID });
207221 pre .insert (DESTRUCTOR , {.code = selfdestruct (BENEFICIARY )});
0 commit comments