@@ -80,10 +80,10 @@ export const vmDependenciesAndCacheArtifactsCommand = (zKeyPath: string, potPath
80
80
"sudo yum update -y" ,
81
81
"sudo yum install -y nodejs" ,
82
82
"npm install -g snarkjs" ,
83
- "wget https://github.com/BLAKE3-team/BLAKE3/releases/download/1.4.0/b3sum_linux_x64_bin -O /var/tmp/blake3.bin" ,
84
- "chmod +x /var/tmp/blake3.bin" ,
85
83
`aws s3 cp s3://${ zKeyPath } /var/tmp/genesisZkey.zkey` ,
86
- `aws s3 cp s3://${ potPath } /var/tmp/pot.ptau`
84
+ `aws s3 cp s3://${ potPath } /var/tmp/pot.ptau` ,
85
+ "wget https://github.com/BLAKE3-team/BLAKE3/releases/download/1.4.0/b3sum_linux_x64_bin -O /var/tmp/blake3.bin" ,
86
+ "chmod +x /var/tmp/blake3.bin"
87
87
]
88
88
89
89
/**
@@ -99,11 +99,11 @@ export const vmContributionVerificationCommand = (
99
99
lastZkeyStoragePath : string ,
100
100
verificationTranscriptStoragePathAndFilename : string
101
101
) : Array < string > => [
102
- `aws s3 cp s3://${ bucketName } /${ lastZkeyStoragePath } /var/tmp/lastZKey.zkey > /dev/null` ,
102
+ `aws s3 cp s3://${ bucketName } /${ lastZkeyStoragePath } /var/tmp/lastZKey.zkey &> /dev/null` ,
103
103
`snarkjs zkvi /var/tmp/genesisZkey.zkey /var/tmp/pot.ptau /var/tmp/lastZKey.zkey > /var/tmp/verification_transcript.log` ,
104
- `aws s3 cp /var/tmp/verification_transcript.log s3://${ bucketName } /${ verificationTranscriptStoragePathAndFilename } > /dev/null` ,
104
+ `aws s3 cp /var/tmp/verification_transcript.log s3://${ bucketName } /${ verificationTranscriptStoragePathAndFilename } &> /dev/null` ,
105
105
`./var/tmp/blake3.bin /var/tmp/verification_transcript.log | awk '{print $1}'` ,
106
- `rm /var/tmp/lastZKey.zkey /var/tmp/verification_transcript.log > /dev/null`
106
+ `rm /var/tmp/lastZKey.zkey /var/tmp/verification_transcript.log &> /dev/null`
107
107
]
108
108
109
109
/**
0 commit comments