File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ impl PayloadBuilderAttributes for RollkitEnginePayloadBuilderAttributes {
6666 let ethereum_attributes = EthPayloadBuilderAttributes :: new ( parent, attributes. inner ) ;
6767
6868 // Decode transactions from bytes if provided
69- let mut transactions = Vec :: new ( ) ;
7069 let transactions = attributes
7170 . transactions
7271 . unwrap_or_default ( )
@@ -76,7 +75,6 @@ impl PayloadBuilderAttributes for RollkitEnginePayloadBuilderAttributes {
7675 . map_err ( |e| RollkitEngineError :: InvalidTransactionData ( e. to_string ( ) ) )
7776 } )
7877 . collect :: < Result < Vec < _ > , _ > > ( ) ?;
79- }
8078
8179 Ok ( Self {
8280 ethereum_attributes,
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ where
223223
224224 let gas_used = sealed_block. gas_used ;
225225 Ok ( EthBuiltPayload :: new (
226- attributes. payload_id ( ) , //TODO: make sure this works
226+ attributes. payload_id ( ) ,
227227 Arc :: new ( sealed_block) ,
228228 U256 :: from ( gas_used) ,
229229 None ,
You can’t perform that action at this time.
0 commit comments