File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1269,6 +1269,8 @@ where
1269
1269
// add gas used by the transaction to cumulative gas used, before creating the receipt
1270
1270
let gas_used = result. gas_used ( ) ;
1271
1271
info. cumulative_gas_used += gas_used;
1272
+ // record tx da size
1273
+ info. cumulative_da_bytes_used += tx_da_size;
1272
1274
1273
1275
let ctx = ReceiptBuilderCtx {
1274
1276
tx : tx. inner ( ) ,
Original file line number Diff line number Diff line change @@ -1208,6 +1208,8 @@ where
1208
1208
// receipt
1209
1209
let gas_used = result. gas_used ( ) ;
1210
1210
info. cumulative_gas_used += gas_used;
1211
+ // record tx da size
1212
+ info. cumulative_da_bytes_used += tx_da_size;
1211
1213
1212
1214
// Push transaction changeset and calculate header bloom filter for receipt.
1213
1215
let ctx = ReceiptBuilderCtx {
You can’t perform that action at this time.
0 commit comments