File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ GITHUB_MINIMUM_FOLLOWERS="1"
23
23
GITHUB_MINIMUM_FOLLOWING = " 5"
24
24
# # Minimum amount of public repos for the GitHub account
25
25
GITHUB_MINIMUM_PUBLIC_REPOS = " 2"
26
+ # # The access token used for rate limiting purposes
27
+ AUTH_GITHUB_ACCESS_TOKEN = " YOUR-GITHUB-ACCESS-TOKEN"
26
28
27
29
# The email address of the user who is going to be the coordinator of all ceremonies.
28
30
# nb. right now, only one user could be a coordinator for all ceremonies deployed within the same instance.
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ const coordinate = async (
124
124
else if ( participantIsNotCurrentContributor ) {
125
125
printLog ( `Coordinate - executing scenario B - single - participantIsNotCurrentContributor` , LogLevel . DEBUG )
126
126
127
+ newCurrentContributorId = currentContributor
127
128
newParticipantStatus = ParticipantStatus . WAITING
128
129
newContributors . push ( participant . id )
129
130
}
@@ -148,6 +149,9 @@ const coordinate = async (
148
149
LogLevel . DEBUG
149
150
)
150
151
152
+ newParticipantStatus = ParticipantStatus . CONTRIBUTING
153
+ newContributionStep = ParticipantContributionStep . DOWNLOADING
154
+
151
155
// Remove from waiting queue of circuit X.
152
156
newContributors . shift ( )
153
157
@@ -164,7 +168,9 @@ const coordinate = async (
164
168
165
169
// Prepare update tx.
166
170
batch . update ( newCurrentContributorDocument . ref , {
167
- status : ParticipantStatus . WAITING , // need to be refreshed.
171
+ status : newParticipantStatus ,
172
+ contributionStep : newContributionStep ,
173
+ contributionStartedAt : getCurrentServerTimestampInMillis ( ) ,
168
174
lastUpdated : getCurrentServerTimestampInMillis ( )
169
175
} )
170
176
You can’t perform that action at this time.
0 commit comments