You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LOW: too much complexity for every getCurrentPrice() recalculation, you can use let currentPrice = getCurrentPrice() and use it as global variable once calculated (drops 7773 -> 3904 complexity for example https://waves-ide.com/s/6571a30ea0bc9700314de3c8)
contracts/ride/l2mp_staking.ride
Line 407 in 766890c
contracts/ride/l2mp_staking.ride
Line 398 in 766890c
contracts/ride/l2mp_staking.ride
Line 417 in 766890c
contracts/ride/l2mp_staking.ride
Line 414 in 766890c
nodeAddressunnoticed by usercontracts/ride/l2mp_staking.ride
Line 389 in 766890c
contracts/ride/l2mp_staking.ride
Line 236 in 766890c
contracts/ride/l2mp_staking.ride
Lines 306 to 307 in 766890c
throwinstead of bypass)contracts/ride/l2mp_staking.ride
Lines 207 to 213 in 766890c
let currentPrice = getCurrentPrice()and use it as global variable once calculated (drops 7773 -> 3904 complexity for example https://waves-ide.com/s/6571a30ea0bc9700314de3c8)