Skip to content

Commit

Permalink
Merge branch 'dev' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
glamperd committed Aug 23, 2024
2 parents 21824a7 + e312890 commit 49f0841
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions packages/actions/src/helpers/vm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ export const createEC2Instance = async (
const { amiId, instanceProfileArn } = getAWSVariables()

// Parametrize the VM EC2 instance.
console.log("\nLAUNCHING AWS EC2 INSTANCE\n")
const params: RunInstancesCommandInput = {
ImageId: amiId,
InstanceType: instanceType as _InstanceType,
Expand Down Expand Up @@ -199,7 +200,7 @@ export const createEC2Instance = async (
},
{
Key: "ProjectName",
Value: process.env.AWS_TAG_VALUE
Value: "trusted-setup"
}
]
},
Expand All @@ -208,7 +209,7 @@ export const createEC2Instance = async (
Tags: [
{
Key: "ProjectName",
Value: process.env.AWS_TAG_VALUE
Value: "trusted-setup"
}
]
}
Expand Down
3 changes: 1 addition & 2 deletions packages/backend/src/functions/timeout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ export const checkAndRemoveBlockingContributor = functions
timeoutExpirationDateInMsForBlockingContributor < currentServerTimestamp &&
(contributionStep === ParticipantContributionStep.DOWNLOADING ||
contributionStep === ParticipantContributionStep.COMPUTING ||
contributionStep === ParticipantContributionStep.UPLOADING ||
contributionStep === ParticipantContributionStep.COMPLETED)
contributionStep === ParticipantContributionStep.UPLOADING)
)
timeoutType = TimeoutType.BLOCKING_CONTRIBUTION

Expand Down
6 changes: 4 additions & 2 deletions packages/phase2cli/src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,9 @@ export const generateCustomUrlToTweetAboutParticipation = (
ceremonyName: string,
gistUrl: string,
isFinalizing: boolean
) =>
isFinalizing
) => {
ceremonyName = ceremonyName.replace(/ /g, "%20")
return isFinalizing
? `https://twitter.com/intent/tweet?text=I%20have%20finalized%20the%20${ceremonyName}${
ceremonyName.toLowerCase().includes("trusted") ||
ceremonyName.toLowerCase().includes("setup") ||
Expand All @@ -330,6 +331,7 @@ export const generateCustomUrlToTweetAboutParticipation = (
? "!"
: "%20Phase%202%20Trusted%20Setup%20ceremony!"
}%20You%20can%20view%20the%20steps%20to%20contribute%20here:%20https://ceremony.pse.dev%20You%20can%20view%20my%20attestation%20here:%20${gistUrl}%20#Ethereum%20#ZKP`
}

/**
* Return a custom progress bar.
Expand Down

0 comments on commit 49f0841

Please sign in to comment.