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

New Contribution - Suspended #47

Closed
Pelz01 opened this issue Jun 7, 2024 · 68 comments
Closed

New Contribution - Suspended #47

Pelz01 opened this issue Jun 7, 2024 · 68 comments
Assignees
Labels
contribution New Contribution

Comments

@Pelz01
Copy link

Pelz01 commented Jun 7, 2024

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

@Pelz01 Pelz01 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 [email protected]
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.

@zvorcuit
Copy link
Collaborator

@Pelz01 are you ready to start contribution?

@zvorcuit zvorcuit self-assigned this Jun 10, 2024
@Pelz01
Copy link
Author

Pelz01 commented Jun 10, 2024

yes i’m ready

@zvorcuit
Copy link
Collaborator

@Pelz01, 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
@Pelz01
Copy link
Author

Pelz01 commented Jun 10, 2024

contribution process begins

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

Pelz01 commented Jun 10, 2024

Computing hashes for downloaded contributions..
0000000015.csrs a6c27a67cc1e69d66b68277cecb472b2dc408c29838b8070a696ea911fcee7fd

@Pelz01
Copy link
Author

Pelz01 commented Jun 10, 2024

im downloading already, please confirm

@zvorcuit
Copy link
Collaborator

zvorcuit commented Jun 10, 2024

@Pelz01 when download completes, hash of the file should be 5492ade6e7803c7cb15acab18f2a28468be3b6408b6489edce193023c6253381, if it is please run contribution.

shasum -a 256 0000000015.csrs

@Pelz01
Copy link
Author

Pelz01 commented Jun 10, 2024

okay ser

@Pelz01
Copy link
Author

Pelz01 commented Jun 10, 2024

Computing hashes for downloaded contributions..
0000000015.csrs 5492ade6e7803c7cb15acab18f2a28468be3b6408b6489edce193023c6253381
Before proceeding, please visit https://ceremony.zircuit.com and verify that all contribution hashes match!

@zvorcuit
Copy link
Collaborator

@Pelz01 great, you can proceed with your contribution

@Pelz01
Copy link
Author

Pelz01 commented Jun 10, 2024

running contribution

@Pelz01
Copy link
Author

Pelz01 commented Jun 11, 2024

[2024-06-10T23:48:29Z INFO ceremony::contribution] Reading contribution from "./contributions/0000000015.csrs"

it has been like this for the past hour, is it normal?

@zvorcuit
Copy link
Collaborator

it is not expected, what is your ram, swap, number of cores?

@Pelz01
Copy link
Author

Pelz01 commented Jun 11, 2024

the vps im using is 60gb ram. i got this
[2024-06-10T23:48:29Z INFO ceremony::contribution] Reading contribution from "./contributions/0000000015.csrs"
Killed

can i switch server and start the contribution again?

@zvorcuit
Copy link
Collaborator

are you able to use same ssh public key?

@Pelz01
Copy link
Author

Pelz01 commented Jun 11, 2024

i dont know the command to use same ssh public key on another server

@zvorcuit
Copy link
Collaborator

zvorcuit commented Jun 11, 2024

ok, please paste new ssh public key and start contribution on new machine

@Pelz01
Copy link
Author

Pelz01 commented Jun 11, 2024

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOKP9hL7hXaG48F82ZxgfyI54HG24zMcktJxGrfTct/l

@zvorcuit
Copy link
Collaborator

please paste output a minute after you start contribute

@zvorcuit
Copy link
Collaborator

@Pelz01 what is the status now?

@Pelz01
Copy link
Author

Pelz01 commented Jun 11, 2024

i’m unable to contribute right now, i don’t know if it’s possible to do it later when my server is fully set up in the morning

@zvorcuit
Copy link
Collaborator

No problem, I am suspending your contribution. Please let us know when you are able to contribute again.

@zvorcuit zvorcuit changed the title New Contribution - Active New Contribution - Suspended Jun 11, 2024
@Pelz01
Copy link
Author

Pelz01 commented Jun 11, 2024

i now have a 4 cpu core, 8gb ram and 160gb storage set up on linode. i think that should do

ready to contribute.

@Pelz01
Copy link
Author

Pelz01 commented Jun 11, 2024

another suggestion, please ask what server and plans the users that were able to contribute easily are using.

@zvorcuit
Copy link
Collaborator

@Pelz01 thank you, proceed.

@Pelz01
Copy link
Author

Pelz01 commented Jun 12, 2024

okay

@Pelz01
Copy link
Author

Pelz01 commented Jun 12, 2024

[2024-06-12T18:31:30Z INFO ceremony::contribution] Reading contribution from "./contributions/0000000019.csrs"

getting this, can i proceed?

@Pelz01
Copy link
Author

Pelz01 commented Jun 12, 2024

@zvorcuit

@zvorcuit
Copy link
Collaborator

@Pelz01 it shouldn’t be 19, it should be 20. Was 20 downloaded?

@Pelz01
Copy link
Author

Pelz01 commented Jun 12, 2024

Computing hashes for downloaded contributions..
0000000020.csrs f1616034820cd7a393b79533e1e92adbed583ad67ae3042e80a59253288d1865

@zvorcuit
Copy link
Collaborator

zvorcuit commented Jun 12, 2024

Is there file ./contributions/0000000019.csrs? If so, how large is it? Can you please remove it and then try again (without download, as hash matches for ./contributions/0000000020.csrs)

@Pelz01
Copy link
Author

Pelz01 commented Jun 12, 2024

yes, just deleted.
reading contribution now

@Pelz01
Copy link
Author

Pelz01 commented Jun 12, 2024

[2024-06-12T19:02:25Z INFO ceremony::contribution] Reading contribution from "./contributions/0000000020.csrs"
[2024-06-12T19:05:36Z INFO ceremony::check] Checking contribution with id 20
[2024-06-12T19:05:36Z INFO ceremony::check] Contribution's k and n are correct
[2024-06-12T19:05:36Z INFO ceremony::check] > SRS Check #1 Succeded: srs uses hardcoded group generators
[2024-06-12T19:05:36Z INFO ceremony::check] > SRS Check #2 Succeded: g2 and s_g2 have order r
[2024-06-12T19:05:36Z INFO ceremony::check] > SRS Check #3 Succeded: the g vector has expected size

@zvorcuit
Copy link
Collaborator

@Pelz01 great, proceed.

@zvorcuit
Copy link
Collaborator

Dear @Pelz01, what is the current status?

@Pelz01
Copy link
Author

Pelz01 commented Jun 12, 2024

still computing contribution proof

@zvorcuit
Copy link
Collaborator

Dear @Pelz01, are there any updates?

@Pelz01
Copy link
Author

Pelz01 commented Jun 12, 2024

nothing yet

@Pelz01
Copy link
Author

Pelz01 commented Jun 12, 2024

i’ll let you know if anything comes up please

@Pelz01
Copy link
Author

Pelz01 commented Jun 12, 2024

still on it

@Pelz01
Copy link
Author

Pelz01 commented Jun 12, 2024

my termius restarted by itself and all files was removed from my vps.

please do me a little favor because i dont to be bothering you, can you please ask for server details of anyone that would be able to contribute quickly (less than 2hrs), i will be checking the contribution if to see response.

until then kindly suspend till when i get a good one (this is my third vps)

@Pelz01
Copy link
Author

Pelz01 commented Jun 12, 2024

or if there is another alternative

@zvorcuit
Copy link
Collaborator

@Pelz01 ok, suspending your contribution for now.
Please, feel free to ask for server details from someone. I would also recommend you to run test contribution before confirming availability again.

@zvorcuit zvorcuit changed the title New Contribution - Active New Contribution - Suspended Jun 12, 2024
@Pelz01
Copy link
Author

Pelz01 commented Jun 12, 2024

am i permitted to ask for server details under someone else’s issue (comment box)?

i don’t want to disrupt anything

@zvorcuit
Copy link
Collaborator

Dear @Pelz01, contributions period will soon come to an end and we will not be able to process your contribution in time. If you still want to contribute, please add comment to next random contribution, where we gather community-generated randomness and we compute a verifiable contribution from it, before the contribution period ends.

@Pelz01
Copy link
Author

Pelz01 commented Jun 20, 2024

I will like to contribute, but i don’t have or know a strong server😢

@zvorcuit
Copy link
Collaborator

Dear @Pelz01 don’t worry, by mere comment to that issue you are contributing in randomness.

@Pelz01
Copy link
Author

Pelz01 commented Jun 20, 2024

i have dropped a comment, thank you!

@Pelz01
Copy link
Author

Pelz01 commented Jun 20, 2024

is there any way to know that it has been recorded? or just a comment is enough?

@zvorcuit
Copy link
Collaborator

Dear @Pelz01 comment is enough, once publicly verifiable contribution is created we will post the details.

@Pelz01
Copy link
Author

Pelz01 commented Jun 20, 2024

okay, thank you, let me go to bed.

@zvorcuit
Copy link
Collaborator

The ceremony ended! Thank you for your interest in being a part of it!

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