File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ fn main_impl(mut args: Args) {
192192 args. bps = if args. testnet11 { Testnet11Bps :: bps ( ) as f64 } else { args. bps } ;
193193 let mut params = if args. testnet11 { TESTNET11_PARAMS } else { DEVNET_PARAMS } ;
194194 params. storage_mass_activation = ForkActivation :: new ( 400 ) ;
195+ params. transient_storage_activation = ForkActivation :: new ( 400 ) ;
195196 params. storage_mass_parameter = 10_000 ;
196197 params. payload_activation = ForkActivation :: always ( ) ;
197198 let mut builder = ConfigBuilder :: new ( params)
Original file line number Diff line number Diff line change @@ -157,7 +157,14 @@ impl Miner {
157157 . into_par_iter ( )
158158 . map ( |mutable_tx| {
159159 let signed_tx = sign ( mutable_tx, schnorr_key) ;
160- let mass = self . mass_calculator . calc_tx_overall_mass ( & signed_tx. as_verifiable ( ) , None , true ) . unwrap ( ) ;
160+ let mass = self
161+ . mass_calculator
162+ . calc_tx_overall_mass (
163+ & signed_tx. as_verifiable ( ) ,
164+ None ,
165+ self . params . transient_storage_activation . is_active ( virtual_state. daa_score ) ,
166+ )
167+ . unwrap ( ) ;
161168 signed_tx. tx . set_mass ( mass) ;
162169 let mut signed_tx = signed_tx. tx ;
163170 signed_tx. finalize ( ) ;
You can’t perform that action at this time.
0 commit comments