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

[entropy] Minor updates to parameters / docs #1131

Merged
merged 3 commits into from
Nov 1, 2023
Merged

[entropy] Minor updates to parameters / docs #1131

merged 3 commits into from
Nov 1, 2023

Conversation

jayantk
Copy link
Contributor

@jayantk jayantk commented Nov 1, 2023

Couple minor changes in here. commented inline

Copy link

vercel bot commented Nov 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
example-oracle-amm ⬜️ Ignored (Inspect) Visit Preview Nov 1, 2023 8:16pm
xc-admin-frontend ⬜️ Ignored (Inspect) Visit Preview Nov 1, 2023 8:16pm

pub secret: String,

/// The length of the hash chain to generate.
#[arg(long = "chain-length")]
#[arg(env = "FORTUNA_CHAIN_LENGTH")]
#[arg(default_value = "32")]
#[arg(default_value = "10000")]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update the default argument values to be more reasonable (and stop pointing to my test wallet)

| avalanche-fuji | 0xD42c7a708E74AD19401D907a14146F006c851Ee3 | 0x368397bDc956b4F23847bE244f350Bde4615F25E
| optimism-goerli | 0x28F16Af4D87523910b843a801454AEde5F9B0459 | 0x368397bDc956b4F23847bE244f350Bde4615F25E
| eos-evm-testnet | 0xD42c7a708E74AD19401D907a14146F006c851Ee3 | 0x368397bDc956b4F23847bE244f350Bde4615F25E
| avalanche-fuji | 0xD42c7a708E74AD19401D907a14146F006c851Ee3 | 0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD6344
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update the provider key to the new fortuna-staging key

| optimism-goerli | 0x075A5160FF6462924B4124595F6f987187496476 | https://goerli.optimism.io |
| optimism-goerli | 0x3bA217Cd7840Cc5B34FD5B7263Cebd8CD8665788 | https://goerli.optimism.io |
| avalanche-fuji | 0xE7E52C85907d59C45b2C56EF32B78F514F8c547a | https://api.avax-test.network/ext/bc/C/rpc |
| eos-evm-testnet | 0x413405Aee2db95cb028B60CBAd87FC0B932947f4 | https://api.testnet.evm.eosnetwork.com/ |
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I deployed coinflip with the new provider address

@@ -106,7 +106,7 @@ async function main() {
// Note that there is a potential race condition here: the server may not have observed the request ^
// before this HTTP response. Hence, we retry fetching the url a couple of times.
const response = await fetchWithRetry(url, 3);
const providerRandom = web3.utils.bytesToHex(response.value);
const providerRandom = `0x${response.value.data}`;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adjust example since this PR changed the API #1129

@@ -1,6 +1,6 @@
[package]
name = "fortuna"
version = "0.1.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgot to bump this version in the previous PR

@@ -16,8 +16,13 @@ These commands will build dependencies for the typescript project.
Next, choose a network to run the example on.
The example has been deployed on the following networks:

| Chain Name | Address | RPC |
| optimism-goerli | 0x075A5160FF6462924B4124595F6f987187496476 | https://goerli.optimism.io |
```
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tables don't format properly in github :(

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can actually do this with html and there’s some examples out there or GitHub flavoured markdown mixed with HTML if you really want it these.

@jayantk jayantk merged commit 8c35091 into main Nov 1, 2023
6 checks passed
@jayantk jayantk deleted the random17 branch November 1, 2023 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants