@@ -1171,9 +1171,25 @@ func (s *FlashbotsRPCTestSuite) TestFlashbotsGetBundleStats() {
1171
1171
"isSimulated": true,
1172
1172
"isSentToMiners": true,
1173
1173
"isHighPriority": true,
1174
- "simulatedAt": "2021-08-06T21:36:06.317Z",
1175
- "submittedAt": "2021-08-06T21:36:06.250Z",
1176
- "sentToMinersAt": "2021-08-06T21:36:06.343Z"
1174
+ "simulatedAt": "2022-10-06T21:36:06.317Z",
1175
+ "submittedAt": "2022-10-06T21:36:06.250Z",
1176
+ "sentToMinersAt": "2022-10-06T21:36:06.343Z",
1177
+ "consideredByBuildersAt": [
1178
+ {
1179
+ "pubkey": "0x81babeec8c9f2bb9c329fd8a3b176032fe0ab5f3b92a3f44d4575a231c7bd9c31d10b6328ef68ed1e8c02a3dbc8e80f9",
1180
+ "timestamp": "2022-10-06T21:36:06.343Z"
1181
+ },
1182
+ {
1183
+ "pubkey": "0x81beef03aafd3dd33ffd7deb337407142c80fea2690e5b3190cfc01bde5753f28982a7857c96172a75a234cb7bcb994f",
1184
+ "timestamp": "2022-10-06T21:36:06.394Z"
1185
+ }
1186
+ ],
1187
+ "sealedByBuildersAt": [
1188
+ {
1189
+ "pubkey": "0x81beef03aafd3dd33ffd7deb337407142c80fea2690e5b3190cfc01bde5753f28982a7857c96172a75a234cb7bcb994f",
1190
+ "timestamp": "2022-10-06T21:36:07.742Z"
1191
+ }
1192
+ ]
1177
1193
}`
1178
1194
1179
1195
s .registerResponse (response , func (body []byte ) {
@@ -1188,9 +1204,25 @@ func (s *FlashbotsRPCTestSuite) TestFlashbotsGetBundleStats() {
1188
1204
IsSimulated : true ,
1189
1205
IsSentToMiners : true ,
1190
1206
IsHighPriority : true ,
1191
- SimulatedAt : time .Date (2021 , 8 , 6 , 21 , 36 , 6 , 317000000 , time .UTC ),
1192
- SubmittedAt : time .Date (2021 , 8 , 6 , 21 , 36 , 6 , 250000000 , time .UTC ),
1193
- SentToMinersAt : time .Date (2021 , 8 , 6 , 21 , 36 , 6 , 343000000 , time .UTC ),
1207
+ SimulatedAt : time .Date (2022 , 10 , 6 , 21 , 36 , 6 , 317000000 , time .UTC ),
1208
+ SubmittedAt : time .Date (2022 , 10 , 6 , 21 , 36 , 6 , 250000000 , time .UTC ),
1209
+ SentToMinersAt : time .Date (2022 , 10 , 6 , 21 , 36 , 6 , 343000000 , time .UTC ),
1210
+ ConsideredByBuildersAt : []* BuilderPubkeyWithTimestamp {
1211
+ {
1212
+ Pubkey : "0x81babeec8c9f2bb9c329fd8a3b176032fe0ab5f3b92a3f44d4575a231c7bd9c31d10b6328ef68ed1e8c02a3dbc8e80f9" ,
1213
+ Timestamp : time .Date (2022 , 10 , 6 , 21 , 36 , 6 , 343000000 , time .UTC ),
1214
+ },
1215
+ {
1216
+ Pubkey : "0x81beef03aafd3dd33ffd7deb337407142c80fea2690e5b3190cfc01bde5753f28982a7857c96172a75a234cb7bcb994f" ,
1217
+ Timestamp : time .Date (2022 , 10 , 6 , 21 , 36 , 6 , 394000000 , time .UTC ),
1218
+ },
1219
+ },
1220
+ SealedByBuildersAt : []* BuilderPubkeyWithTimestamp {
1221
+ {
1222
+ Pubkey : "0x81beef03aafd3dd33ffd7deb337407142c80fea2690e5b3190cfc01bde5753f28982a7857c96172a75a234cb7bcb994f" ,
1223
+ Timestamp : time .Date (2022 , 10 , 6 , 21 , 36 , 7 , 742000000 , time .UTC ),
1224
+ },
1225
+ },
1194
1226
}
1195
1227
s .Require ().Equal (expected , bundleStats )
1196
1228
}
0 commit comments