-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue/75 update captcha to latest version of contract with provider c…
…ommit (#84) * Create test runner in dev package and load all workspace tests. Run via dev cli * Fix env dependencies * build the cli package * remove old commands. try to run tests from workspace root * run stuff from dev package * build all packages in one commadn * fix import * remove debug * Update polkadot dependencies and abi JSON * finish updating typescript * make sure all packages have typescript as a dev dependency * Update demo dependencies * Don't import api-augment in provider. Should be included in contract * Upgrade extension dependencies * Single eslint config. New contract sources generated by typechain. Types updated everywhere. Build scripts added. * revert to relative imports * Add command for importing contract to contract package * Create contract import script in dev * Fix contract importer * fixup procaptcha, procaptcha-react and provider tests * Most tests passing * Fix type * lint fix * linting * fix log level * Use correct log in dev CLI. Update polkadot dependency for aura image * See how many tests failed * Update docker image files. Update tests so that commitments have signatures. Error on contract errors. Update provider workflow to use contracts node because aura node not working with signature method * Create env.test template file * remove extra slash * Use proper logger in protocol deploy * Update contract sources in contract package * Fix tests * remove debug * add debug * Add some debug * Use test docker file in workflow * Use docker files in monorepo * Add mongo to test docker image * cat right file * down right docker file * cd correct dir * Update package-lock.json * Add types for api urls and api params to ensure things don't go out of sync. Save user signature as single string * Fix tests * Add types for API parameter names * Fix provider API methods * Fix login in client-example-server and fix Typography descendent issue
- Loading branch information
Showing
179 changed files
with
10,505 additions
and
9,616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
**/artifacts/* | ||
packages/**/dist/* | ||
**/.eslintrc.js | ||
**/dist/* | ||
demos/**/dist/* | ||
demos/**/scripts/* | ||
demos/**/next.config.js | ||
**/*bundle*.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
], | ||
"references": [ | ||
{ | ||
"path": "../packages/procaptcha-react" | ||
"path": "../../packages/procaptcha-react" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
CAPTCHA_WASM_PATH=./src/contract/sources/captcha/48321f627ee7320c69287dcc94e4071f474a5983/captcha.wasm | ||
CAPTCHA_ABI_PATH=./src/contract/sources/captcha/48321f627ee7320c69287dcc94e4071f474a5983/captcha.json | ||
DAPP_WASM_PATH=./src/contract/sources/dapp/411053b7ec79cc77f5ec9f5eb18610b24daaaaf0/dapp.wasm | ||
DAPP_ABI_PATH=./src/contract/sources/dapp/411053b7ec79cc77f5ec9f5eb18610b24daaaaf0/dapp.json | ||
DAPP_CONTRACT_ADDRESS=5Fh6SXrofhT9tgPJwUDbpWEGSiSom3mkgFt2rAVdDpek2hGc | ||
PROTOCOL_CONTRACT_ADDRESS=5GpseHvrNBARmkgAVFyn4tV8eAMvHy1iF8RkaPedKNVmKTxH | ||
DATABASE_PASSWORD=root | ||
DATABASE_USERNAME=root | ||
DATABASE_NAME=prosopo | ||
DATABASE_HOST=127.0.0.1 | ||
DATABASE_PORT=27017 | ||
SUBSTRATE_NODE_URL=ws://localhost:9944 | ||
API_BASE_URL=http://localhost:8282 | ||
API_PORT=8282 | ||
PAIR_TYPE=sr25519 | ||
SS58_FORMAT=42 | ||
PROVIDER_ADDRESS=5EjTA28bKSbFPPyMbUjNtArxyqjwq38r1BapVmLZShaqEedV | ||
PROVIDER_MNEMONIC=puppy cream effort carbon despair leg pyramid cotton endorse immense drill peasant | ||
NODE_ENV=test | ||
LOG_LEVEL=Info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.