@@ -148,17 +148,18 @@ function constructLendingSetup(api: ApiPromise) {
148148 return api . tx . loans . addMarket ( token , market ) ;
149149 } ) ;
150150
151- const addRewards = [
152- api . tx . utility . dispatchAs (
153- { system : { Signed : treasuryAccount } } ,
154- api . tx . loans . addReward ( "100000000000000000000" )
155- )
156- ] ;
151+ // disabled: we test without incentives
152+ // const addRewards = [
153+ // api.tx.utility.dispatchAs(
154+ // { system: { Signed: treasuryAccount } },
155+ // api.tx.loans.addReward("100000000000000000000")
156+ // )
157+ // ];
157158
158159 const activateMarketWithRewards = markets . map ( ( [ token , _ ] ) => {
159160 return [
160161 api . tx . loans . activateMarket ( token ) ,
161- api . tx . loans . updateMarketRewardSpeed ( token , 10 , 10 ) ,
162+ // api.tx.loans.updateMarketRewardSpeed(token, 10, 10), // no incentives
162163 ]
163164 } ) . flat ( ) ;
164165
@@ -169,7 +170,7 @@ function constructLendingSetup(api: ApiPromise) {
169170 )
170171 } ) . flat ( ) ;
171172
172- return [ addMarkets , addRewards , activateMarketWithRewards , addSupply ] . flat ( )
173+ return [ addMarkets , activateMarketWithRewards , addSupply ] . flat ( )
173174}
174175
175176function constructFundingSetup ( api : ApiPromise ) {
0 commit comments