[local] fix local test no balances issue

the local net configuration was strictly throttled

the wallet -p local balances was very slow and won't even get the
balance

lifted the throttle on localnet to the same as mainnet and it works.

Signed-off-by: Leo Chen <leo@harmony.one>
pull/1432/head
Leo Chen 5 years ago
parent 4e1cb743b8
commit b457d74467
  1. 6
      internal/configs/sharding/localnet.go

@ -27,11 +27,11 @@ const (
localnetFirstCrossLinkBlock = 3
localnetRandomnessStartingEpoch = 0
localnetMaxTxAmountLimit = 1e2 // unit is in One
localnetMaxNumRecentTxsPerAccountLimit = 2
localnetMaxTxAmountLimit = 1e3 // unit is in One
localnetMaxNumRecentTxsPerAccountLimit = 1e2
localnetMaxTxPoolSizeLimit = 8000
localnetMaxNumTxsPerBlockLimit = 1000
localnetRecentTxDuration = 10 * time.Second
localnetRecentTxDuration = time.Hour
)
func (localnetSchedule) InstanceForEpoch(epoch *big.Int) Instance {

Loading…
Cancel
Save