-
Notifications
You must be signed in to change notification settings - Fork 0
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
HCaptcha, Favicon #26
Conversation
Integrate HCaptcha IDE failed to add these * Fix tests for hcaptcha * Some renames to reflect the switch Update .env.example
a52a29a
to
ca54072
Compare
@@ -0,0 +1,18 @@ | |||
import { Captcha } from "./Captcha"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was actually renamed.
{ amount: "999999999", expected: "999999999000000000000" }, | ||
{ amount: "999999999.9", expected: "999999999900000000000" }, | ||
{ amount: "999999999999999.9", expected: "999999999999999900000000000" }, | ||
{ amount: "1", expected: "10000000000" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Substituted rococo here with paseo, which has 2 fewer decimals.
@@ -31,7 +31,7 @@ jobs: | |||
- run: yarn run test | |||
- run: yarn run build | |||
env: | |||
PUBLIC_CAPTCHA_KEY: 6LesXHomAAAAAGVVTCgc467t8hvBbmK7IlYZCc8O | |||
PUBLIC_CAPTCHA_KEY: 0f68a804-860e-4f9a-962a-39789afc8792 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Read the code. Looked good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bug report: (running LOCAL, not testnet)
If you enter a wallet address, then answer the hCaptcha, the UI behaves as expected & the "Get some XRQCYs" button enables.
If you do it in reverse order (answer the hCaptcha, then enter an address), the button does not enable, and only a page reload gets you back to a useable state.
Co-authored-by: Aramik <[email protected]>
@JoeCap08055 Yeah I noticed that too, thanks for the nudge, I meant to make a bug report for it. |
So now if in the root
.env
file, you setIt will use a locally running chain and the seed you provided (which defaults to
//Alice
)for fauceting.
Closes #17
Closes #18
To Verify:
Please follow the updated Server and Client READMEs to launch server + client and test integration with either Paseo or local chain, bonus if both.