Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0000000015.csrs #25

Closed
mkc0602 opened this issue Jun 7, 2024 · 28 comments
Closed

0000000015.csrs #25

mkc0602 opened this issue Jun 7, 2024 · 28 comments
Assignees
Labels
contribution New Contribution

Comments

@mkc0602
Copy link

mkc0602 commented Jun 7, 2024

Contributor: Manoj
SSH Public key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG6yC67KGe1B2YYm6BbFF6x7DDba//zLH0EOwhTDiJFw
Attestation: [any form of attestation for contribution (e.g., signature) - Optional]

@mkc0602 mkc0602 added the contribution New Contribution label Jun 7, 2024
Copy link

github-actions bot commented Jun 7, 2024

Thank you for your interest in contributing to the Zircuit Ceremony!

Begin the following process only after receiving notification that it is your turn to contribute through a message in this issue. Please follow instructions only from the issue's assignee.

Once notified, you have 1 hour to confirm by posting a message in this issue that you have started your contribution. If you do not confirm within one hour, your contribution slot might be suspended.

Prerequisites

Get sources

git clone https://github.com/zircuit-labs/ceremony.git
cd ceremony

Generate an SSH Key - Optional

Contributors are required to provide an SSH public key to upload their contributions to our servers.

If you don't have one, you can generate a new SSH public key as:

ssh-keygen -t ed25519 -b 256 -f ./id_ceremony -N "" -C ""

Next, edit the issue description and report as SSH Public key the output of the command:

cat ./id_ceremony.pub

Please note that if you use Docker to compute your contribution, the key will be automatically added to the Docker image during the build process and available in the working directory. If you already have an SSH key and prefer not to generate a new one, you will need to import your existing key manually.

Build

To contribute, you will need a total of at least 33 GiB of combined RAM and SWAP memory available. If you are using Docker, ensure that sufficient resources are allocated when running images.

From sources

cargo install --locked --path . --root .
export PATH="./bin:${PATH}"
chmod +x download.sh

With Docker

docker build . -t "ceremony"

Contribute

Before proceeding, please post a comment on this issue to notify us that you have started your contribution.

Only in the case you are using Docker, you need to first run the built image:

docker run -it "ceremony"

Download the latest contribution:

./download.sh

and verify that the hash of the downloaded contribution matches the one reported here.

Then, compute your contribution:

export RUST_LOG=info
contribute -c ./contributions

The last command will create a contribution using the default settings. For additional options and configurations, please refer to instructions.

If you don't plan to actively use your computer during the contribution phase, please read this section to avoid performance degradation due to power-saving settings.

Upload Contribution

After completing your contribution, upload it to our server using your SSH key:

sftp -i ./id_ceremony contributor@sftp.ceremony.zircuit.com
put ./contributions/[YOUR_CONTRIBUTION_ID].csrs
quit

If your upload is interrupted, you can use reput in place of put to resume it.

Once the upload is complete, post a comment on this issue to notify us that your contribution has been uploaded.

@mkc0602
Copy link
Author

mkc0602 commented Jun 7, 2024

hi @zvorcuit any idea when my slot will be ? Just waiting for hours and dont want to miss the 1 hour window.

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

hi @zvorcuit any idea when my slot will be ? Just waiting for hours and dont want to miss the 1 hour window.

Hi @zvorcuit waiting for my turn :)

@zvorcuit
Copy link
Collaborator

@mkc0602, you can now proceed with your contribution!

Please notify us with a comment on this issue after each of the following steps is completed:

  • Your contribution process begins.
  • Your upload is finished.

Please note that if you do not acknowledge the start of the contribution process within 15 minutes, your contribution slot will be suspended.

@zvorcuit zvorcuit changed the title New Contribution New Contribution - Pending Jun 10, 2024
@zvorcuit zvorcuit self-assigned this Jun 10, 2024
@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

@zvorcuit Starting the contribution now

@zvorcuit zvorcuit changed the title New Contribution - Pending New Contribution - Active Jun 10, 2024
@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

Downloading contribution 0000000014.csrs

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

Computing hashes for downloaded contributions..

0000000014.csrs 138557a82019c4ac80c676dd29e4a96bce6c7789d196d4177a46794db5d9ff46

starting the computation

[2024-06-10T17:11:04Z INFO ceremony::contribution] Reading contribution from "./contributions/0000000014.csrs"
[2024-06-10T17:12:47Z INFO ceremony::check] Checking contribution with id 14
[2024-06-10T17:12:47Z INFO ceremony::check] Contribution's k and n are correct
[2024-06-10T17:12:47Z INFO ceremony::check] > SRS Check #1 Succeded: srs uses hardcoded group generators
[2024-06-10T17:12:48Z INFO ceremony::check] > SRS Check #2 Succeded: g2 and s_g2 have order r
[2024-06-10T17:12:48Z INFO ceremony::check] > SRS Check #3 Succeded: the g vector has expected size
[2024-06-10T17:26:17Z INFO ceremony::check] > SRS Check #4 Succeded: srs is well-formed
[2024-06-10T17:26:17Z INFO ceremony::check] > SRS Check #5 Succeded: srs is non-degenerative
[2024-06-10T17:26:18Z INFO ceremony::check] SRS is valid
[2024-06-10T17:26:18Z INFO ceremony::check] Contribution with id 14 is valid
[2024-06-10T17:26:18Z INFO ceremony::secrets] Generating secrets ..
[2024-06-10T17:26:18Z INFO ceremony::secrets] Generating and hashing 1073741824 random bytes
[2024-06-10T17:26:24Z INFO ceremony::secrets] Hashing hasher's state 1048576 times
[2024-06-10T17:26:25Z INFO ceremony::secrets] Extracting secrets
[2024-06-10T17:26:25Z INFO ceremony::contribute] Rescaling powers of tau..

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

Hi @zvorcuit does it take this time ? its still on the above screen. Or quickly I should try from my other VM even with very high capacity ? If so, I can immediately send you the new SSH Public key. I already have the machine and can do it immediately. What you suggest ? wait or continue with new machine ?

@zvorcuit
Copy link
Collaborator

If process is alive, leave it for 30 more minutes, then report back with status please.

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

If process is alive, leave it for 30 more minutes, then report back with status please.

Ok sure. I will do that. I am constantly watching the screen. Will update in 30 mins

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

Hi @zvorcuit its the same. Still the process is running ! Without any further updates. Should i continue the process in new machine with updates capacity ?

@zvorcuit
Copy link
Collaborator

Please do so

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG6yC67KGe1B2YYm6BbFF6x7DDba//zLH0EOwhTDiJFw

Downloading contribution 0000000014.csrs

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

Download completed.

starting the computation

[2024-06-10T20:28:36Z INFO ceremony::contribution] Reading contribution from "./contributions/0000000014.csrs"

[2024-06-10T20:29:30Z INFO ceremony::check] Checking contribution with id 14
[2024-06-10T20:29:30Z INFO ceremony::check] Contribution's k and n are correct
[2024-06-10T20:29:30Z INFO ceremony::check] > SRS Check #1 Succeded: srs uses hardcoded group generators
[2024-06-10T20:29:30Z INFO ceremony::check] > SRS Check #2 Succeded: g2 and s_g2 have order r
[2024-06-10T20:29:30Z INFO ceremony::check] > SRS Check #3 Succeded: the g vector has expected size

@zvorcuit
Copy link
Collaborator

Dear @mkc0602 what is the current status?

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

Hi @zvorcuit in the computing phase

[2024-06-10T20:34:50Z INFO ceremony::check] > SRS Check #4 Succeded: srs is well-formed
[2024-06-10T20:34:50Z INFO ceremony::check] > SRS Check #5 Succeded: srs is non-degenerative
[2024-06-10T20:34:50Z INFO ceremony::check] SRS is valid
[2024-06-10T20:34:50Z INFO ceremony::check] Contribution with id 14 is valid
[2024-06-10T20:34:50Z INFO ceremony::secrets] Generating secrets ..
[2024-06-10T20:34:50Z INFO ceremony::secrets] Generating and hashing 1073741824 random bytes
[2024-06-10T20:34:54Z INFO ceremony::secrets] Hashing hasher's state 1048576 times
[2024-06-10T20:34:54Z INFO ceremony::secrets] Extracting secrets
[2024-06-10T20:34:54Z INFO ceremony::contribute] Rescaling powers of tau..

@zvorcuit
Copy link
Collaborator

@mkc0602 ok, let's give it another 15 minutes, if it is not completed by then, please paste your current configuration (ram/swap/cpu cores).

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

@mkc0602 ok, let's give it another 15 minutes, if it is not completed by then, please paste your current configuration (ram/swap/cpu cores).

ok sure

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

Hi @zvorcuit here are the details

root@ubuntu:# free -h
total used free shared buff/cache available
Mem: 34Gi 32Gi 237Mi 1.0Mi 1.4Gi 1.2Gi
Swap: 2.0Gi 0B 2.0Gi
root@ubuntu:
# cat /proc/cpuinfo | grep process| wc -l
24 cores

34 GB RAM and 24 cores

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

oh wow now changed :)
[2024-06-10T22:19:08Z INFO ceremony::contribute] Computing contribution proof..

@zvorcuit
Copy link
Collaborator

great, please let me know ETA when it completes and you start upload

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

@zvorcuit its done

[2024-06-10T22:20:20Z INFO ceremony::contribution] Contribution written to "./contributions/0000000015.csrs"

I will start the upload now

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

Uploading ./contributions/0000000015.csrs to /0000000015.csrs

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

ETA 2 mins

@mkc0602
Copy link
Author

mkc0602 commented Jun 10, 2024

@zvorcuit Upload completed.

0000000015.csrs 100% 16GB 86.1MB/s

Thanks a ton for your patience. Appreciate it. Thanks again

@zvorcuit
Copy link
Collaborator

Contribution has been successfully verified.

The hash of contribution is 5492ade6e7803c7cb15acab18f2a28468be3b6408b6489edce193023c6253381.

Added to the contribution list with ID 0000000015.csrs.

Thanks for your contribution!

@zvorcuit zvorcuit changed the title New Contribution - Active 0000000015.csrs Jun 10, 2024
@zvorcuit
Copy link
Collaborator

Dear @mkc0602,

We would like to reward your efforts in the ceremony by sending you Zircuit Points!

If you're interested, please provide an Ethereum address within 7 days. We will then transfer the Zircuit Points to the address you provide in the following days.

Thanks once more for your participation in the ceremony!

@mkc0602
Copy link
Author

mkc0602 commented Jun 28, 2024

Dear @zvorcuit that's wonderful. Here is my Ethereum address

0xF2019C719303513133d41113D6d40353745aAC4D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution New Contribution
Projects
None yet
Development

No branches or pull requests

2 participants