-
Notifications
You must be signed in to change notification settings - Fork 1
Remove signup flow #10
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
Conversation
|
you haven't touched |
cvat-ui/src/utils/web3wallets.ts
Outdated
| package: MewConnect, | ||
| options: { | ||
| infuraId: '2b78e14debb2482c8865cc1b494bc2dc', // my infura id | ||
| infuraId: '2b78e14debb2482c8865cc1b494bc2dc', |
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.
Could you do that using env variables from the config?
cvat-ui/src/utils/web3wallets.ts
Outdated
| network: 'mainnet', // optional | ||
| cacheProvider: false, // optional | ||
| providerOptions, // required | ||
| network: 'mainnet', |
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.
You're using mainnet but provider options for rinkeby. Please, do everything in rinkeby
cvat/settings/base.py
Outdated
|
|
||
| NOTIFY_JOBFLOW_URL = os.getenv('NOTIFY_JOBFLOW_URL', 'http://human-cvat:5001/notify') No newline at end of file | ||
| CVAT_URL = os.getenv('CVAT_URL', 'http://cvat:8080') | ||
| JOBFLOW_URL = os.getenv('JOBFLOW_URL', 'http://human-cvat:5001') No newline at end of file |
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.
why human-cvat in the domain?
cvat/apps/engine/notify_jobflow.py
Outdated
| "payouts": payouts | ||
| } | ||
| requests.post(NOTIFY_JOBFLOW_URL, json=payload) | ||
| requests.post(f'{JOBFLOW_URL}/notify', json=payload) |
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.
please, check response status code and response message
in case of job flow error your application won't say anything
…ling to notify exchange
…n orders to get the right network
Co-authored-by: Dmitry Kalinin <dmitry.kalinin@intel.com> Co-authored-by: Nikita Manovich <nikita.manovich@gmail.com> Co-authored-by: Boris Sekachev <b.sekachev@yandex.ru>
Motivation and context
How has this been tested?
Checklist
developbranchcvat-core, cvat-data and cvat-ui)
License
Feel free to contact the maintainers if that's a concern.