File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/providers/src.ts Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1389,8 +1389,8 @@ export class BaseProvider extends Provider implements EnsProvider {
13891389 }
13901390 }
13911391
1392- const blockWithTxs = this . formatter . blockWithTransactions ( block ) ;
1393- blockWithTxs . transactions = block . transactions . map ( ( tx : TransactionResponse ) => this . _wrapTransaction ( tx ) ) ;
1392+ const blockWithTxs : any = this . formatter . blockWithTransactions ( block ) ;
1393+ blockWithTxs . transactions = blockWithTxs . transactions . map ( ( tx : TransactionResponse ) => this . _wrapTransaction ( tx ) ) ;
13941394 return blockWithTxs ;
13951395 }
13961396
Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ export class Formatter {
334334 transaction . creates = this . contractAddress ( transaction ) ;
335335 }
336336
337- if ( transaction . type === 1 && transaction . accessList == null ) {
337+ if ( ( transaction . type === 1 || transaction . type === 2 ) && transaction . accessList == null ) {
338338 transaction . accessList = [ ] ;
339339 }
340340
You can’t perform that action at this time.
0 commit comments