Skip to content

Commit 4085676

Browse files
committed
x
1 parent 22086a5 commit 4085676

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tools/minicluster/create_buckets.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ func injectBuckets() {
4848

4949
rand.Seed(time.Now().Unix())
5050

51-
// Create 3 new accounts
52-
for i := 0; i < 3; i++ {
51+
// Create 100 new accounts
52+
for i := 0; i < 10; i++ {
5353
private, err := crypto.GenerateKey()
5454
if err != nil {
5555
log.L().Fatal("Failed to generate new key for a new account", zap.Error(err))
@@ -78,7 +78,7 @@ func injectBuckets() {
7878

7979
startNonce := uint64(1)
8080
count := uint64(4)
81-
for startNonce <= 20 {
81+
for startNonce <= 50 {
8282
for nonce := startNonce; nonce < startNonce+count; nonce++ {
8383
fixedAmount := unit.ConvertIotxToRau(100).String()
8484
candidateName := candidateNames[rand.Intn(len(candidateNames))]

tools/minicluster/create_candidates.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func getAllCandidateNames(chainClient iotexapi.APIServiceClient) ([]string, erro
119119
ProtocolID: []byte("staking"),
120120
MethodName: methodName,
121121
Arguments: [][]byte{arg},
122-
Height: "8",
122+
Height: "30",
123123
}
124124
res, err := chainClient.ReadState(context.Background(), request)
125125
if err != nil {

0 commit comments

Comments
 (0)