Skip to content

Commit

Permalink
Seal trusted setup with becaon value (#3780)
Browse files Browse the repository at this point in the history
  • Loading branch information
danield9tqh authored Apr 12, 2023
1 parent 098ba1d commit 2f3ba40
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions ironfish-mpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ The results of Drand's round 2,863,343 will be listed below
From: https://api.drand.sh/8990e7a9aaed2ffed73dbd7092123d6f289930540d7651336225dc172e51b2ce/public/2863343
```json
{
"round":2863343,
"randomness":"..",
"signature":"..",
"previous_signature":".."
"round": 2863343,
"randomness": "32e360d600ece16bc0c4248eb5f3a355b4af5fefe978530480113b522c09d36c",
"signature": "823cfda3099e515022253b76e3a8ee43e0b9989b56d8aaff31d976c0dde6ba2bafc2cbd4c84d6377deef7e8bb21cb53d15af8beb1480b1ec2e541ca4bd08bc1252e7c7922256445a3b32717bb38ec894eee8017ff67218c5dbfa81576e1cf134",
"previous_signature": "a96719eb694b01dcecf6b38bae832ba425774ea35d8359f544937aad0022ca8b5fdc517fbd013f12df9ffe89c60329b5184eb8b8582b316e946ac640f2b0a3ad0c06911c0c891fb948ce9ea398f4c8b1d20195990ccbb51d75810ca7a7ee1e45"
}
```

Expand Down
4 changes: 2 additions & 2 deletions ironfish-mpc/src/bin/beacon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ fn main() {
use rand_chacha::ChaChaRng;

// Place beacon value here. The value will be the randomness generated by The League of Entropy's drand network
// (network chain hash: 8990e7a9aaed2ffed73dbd7092123d6f289930540d7651336225dc172e51b2ce) in round #2759370.
// (network chain hash: 8990e7a9aaed2ffed73dbd7092123d6f289930540d7651336225dc172e51b2ce) in round #2863343.
let beacon_value: [u8; 32] =
decode_hex("80c1cf36d080eb87853569ac5c7cb75357bec1daefb876289fa6c69472228210")
decode_hex("32e360d600ece16bc0c4248eb5f3a355b4af5fefe978530480113b522c09d36c")
.as_slice()
.try_into()
.unwrap();
Expand Down
2 changes: 1 addition & 1 deletion mainnet-parameters/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
This [params](./params) file contains the final parameters for Iron Fish mainnet along with a list of contribution hashes for each contribution of the trusted setup ceremony. To verify the parameters you can run the rust code found in [ironfish-mpc](../ironfish-mpc).

## Verification
The output of this will be the list of 8657 hashes of the public contributions from the trusted setup ceremony. If you'd like to test that the public hash of your contribution made it in to the final params you can verify by looking for it in this list.
The output of this will be the list of 2870 hashes of the public contributions from the trusted setup ceremony. If you'd like to test that the public hash of your contribution made it in to the final params you can verify by looking for it in this list.
```bash
cd ironfish-mpc
cargo run --bin verify --features="verification" --release
Expand Down
Binary file modified mainnet-parameters/params
Binary file not shown.

0 comments on commit 2f3ba40

Please sign in to comment.