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

[Job Launcher] Billing system #2485

Merged
merged 13 commits into from
Nov 28, 2024
Merged

[Job Launcher] Billing system #2485

merged 13 commits into from
Nov 28, 2024

Conversation

flopez7
Copy link
Contributor

@flopez7 flopez7 commented Sep 4, 2024

Description

Abuse System to the current architecture following the MVP described here.

Summary of changes

  • Save customer's credit card in Stripe for future charges
  • Create a new webhook to receive abuse notifications from Reputation Oracle
  • Process webhooks and charge customer credit cards

How test the changes

yarn test

Related issues

#1757 #1758 #2771 #2772 #2773 #2774 #2775 #2776 #2777 #2782 #2783 #2784 #2785 #2786 #2787

Copy link

vercel bot commented Sep 4, 2024

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

Name Status Preview Comments Updated (UTC)
human-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 28, 2024 2:14pm
human-dashboard-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 28, 2024 2:14pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
escrow-dashboard ⬜️ Ignored (Inspect) Visit Preview Nov 28, 2024 2:14pm
faucet-frontend ⬜️ Ignored (Inspect) Visit Preview Nov 28, 2024 2:14pm
faucet-server ⬜️ Ignored (Inspect) Visit Preview Nov 28, 2024 2:14pm

@flopez7 flopez7 self-assigned this Sep 4, 2024
@vercel vercel bot temporarily deployed to Preview – human-dashboard-frontend September 4, 2024 11:39 Inactive
@vercel vercel bot temporarily deployed to Preview – human-dashboard-frontend September 9, 2024 11:05 Inactive
@flopez7 flopez7 changed the title [Job Launcher server] Abuse system integration [Job Launcher] Abuse system integration Sep 24, 2024
- Remove Old PaymentInfo Table and Store CustomerId in User Table
- Update Endpoint to Create Customer and Add Payment Method
- Create Endpoint to List Payment Methods
- Create Endpoint to Remove a Payment Method
- Create Endpoint to Retrieve User Billing Details
- Create Endpoint to Edit Billing Details
- Create Endpoint to Change Default Payment Method
 - Modal to add card
 - Modal to delete card
 - Set as default button
 - Modal to select card
 - Edited fiat forms to use new billing system
 - Modal for billing details
@vercel vercel bot temporarily deployed to Preview – human-dashboard-frontend November 25, 2024 09:23 Inactive
@flopez7 flopez7 changed the title [Job Launcher] Abuse system integration [Job Launcher] Billing system Nov 25, 2024
Copy link
Collaborator

@portuu3 portuu3 left a comment

Choose a reason for hiding this comment

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

I think we should comment slash code so that when it gets enabled we can see the changes in the PR

portuu3
portuu3 previously approved these changes Nov 28, 2024
@portuu3 portuu3 merged commit 430d1d3 into develop Nov 28, 2024
17 checks passed
@portuu3 portuu3 deleted the feat/job-launcher-server/abuse branch November 28, 2024 14:50
portuu3 added a commit that referenced this pull request Dec 23, 2024
* [Human App] feat: implement loading state on resign btn for a specific job (#2800)

* [Exchange Oracle] Add `iou_threshold` for polygon tasks and enable single shape mode (#2832)

* [Exchange Oracle] Add PolygonTaskBuilder

* [Exchange Oracle] Enable single shape mode for polygons

* [Exchange Oracle] Move iou_threshold to cvat config

* [Exchange Oracle] Add CVAT_QUALITY_RETRIEVAL_TIMEOUT to .env.template

* Fix the env variable name

Co-authored-by: Maxim Zhiltsov <[email protected]>

---------

Co-authored-by: Maxim Zhiltsov <[email protected]>

* Remove unused fields from job details (#2836)

* [Human App] feat: adjust status chip colors on my jobs table (#2734)

* chore(deps): bump actions/dependency-review-action from 4.4.0 to 4.5.0 (#2837)

Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump xdeployer from 3.0.0 to 3.1.6 (#2838)

Bumps [xdeployer](https://github.com/pcaversaccio/xdeployer) from 3.0.0 to 3.1.6.
- [Release notes](https://github.com/pcaversaccio/xdeployer/releases)
- [Commits](pcaversaccio/xdeployer@v3.0.0...v3.1.6)

---
updated-dependencies:
- dependency-name: xdeployer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump stripe from 17.3.1 to 17.4.0 (#2839)

Bumps [stripe](https://github.com/stripe/stripe-node) from 17.3.1 to 17.4.0.
- [Release notes](https://github.com/stripe/stripe-node/releases)
- [Changelog](https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md)
- [Commits](stripe/stripe-node@v17.3.1...v17.4.0)

---
updated-dependencies:
- dependency-name: stripe
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump react-hook-form from 7.53.1 to 7.53.2 (#2840)

Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.53.1 to 7.53.2.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](react-hook-form/react-hook-form@v7.53.1...v7.53.2)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [Human App] fix: refresh token race condition (#2824)

* [Human App] fix: metamask error from walletconnect (#2794)

* [Human App] fix: invalid imports of auth schema (#2842)

* [Human App] feat: ui-configuration endpoint (#2841)

* feat: add ui configuration module

* refactor: get rid of chain ids in oracles response

* [Human App] Implemented oracle filter (#2697)

* Implemented oracle filter

* Reverted changes in rep oracle service

* Resolved comments

* Improved oracle discrovery service

* Updated comment

* Convert all chainIds values to type ChainId (#2765)

* Updated method name

* Fixed lint

* Removed console.log

* implemented unit test for processOracleDiscovery

* Updated function name

---------

Co-authored-by: portuu3 <[email protected]>

* [Dashboard] Available networks endpoint (#2779)

* Updated configs

* Implemented available networks feature

* Updated env example

* Changed DEFAULT_NETWORK_USAGE_FILTER_MONTHS

* Lint fixed

* Added new constants

* Added check to not cache data from subgraph for disabled networks

* Migrate to network config service

* Removed unused module

* [Human App] fix: ui configuration response dto (#2846)

* fix start:prod script (#2849)

* [Human App] fix: remove token clearing on welcome page render (#2844)

* [CVAT] Allow manifest changes in recording oracle (#2850)

* Allow manifest changes in recording oracle

* Fix linter

* Fix test

* Remove .env from test dockerfile

* Ignore nonexistent .env

* [Dashboard] fix: properly filter dashboard stats values (#2847)

* Integrate Dashboard Metrics (#2853)

* [CVAT] Fix moving projects to validation (#2852)

* Fix a possible deadlock in create_escrow_validations

* Improve log message

* Don't expect projects in validation status in completed escrows

* Use limit from config

* USe a separate env var

* Polish some code

* Mark escrow validation completed after RO rejection webhook

* Fix potential deadlock on escrow validation inserts

* Satisfy linter

* Remove backward compatibility for env var

* Update tests, skip ro validation webhooks if no active validations

* Add db type check

* [Job Launcher] Implemented image polygons job type (#2845)

* Implemented image polygons job type

* Removed console.log

* feat: add image_polygons to human-app and repo (#2854)

* feat: add image_polygons to human-app

* feat: add image_polygons to ro

* [Job Launcher] Billing system (#2485)

* Abuse system integration in Job Launcher server

* Add job launcher server migrations

* Create new component to setup card details

* Merge branch 'develop' into feat/job-launcher-server/abuse

* Create endpoints for the new billing flow:
- Remove Old PaymentInfo Table and Store CustomerId in User Table
- Update Endpoint to Create Customer and Add Payment Method
- Create Endpoint to List Payment Methods
- Create Endpoint to Remove a Payment Method
- Create Endpoint to Retrieve User Billing Details
- Create Endpoint to Edit Billing Details
- Create Endpoint to Change Default Payment Method

* Billing system implementation:
 - Modal to add card
 - Modal to delete card
 - Set as default button
 - Modal to select card
 - Edited fiat forms to use new billing system
 - Modal for billing details

* Billing system in Job launcher client

* Added unit tests for new methods

* Comment abuse code and solve comments

* Restore rate.service.ts change

* remove lint error

* [CVAT] Refactor and fix honeypot rerolls (#2860)

* Refactor and fix honeypot rerolls

* Fix and satisfy linter

* Add test

* Fix and refactor tests

* [render preview] Subgraph and contract upgrades (#2576)

* [Subgraph] Removed reputation from leader entity (#2450)

* Removed reputation from leader entity

* Merge branch 'subgraph-upgrades' into feature/sdk/remove-reputation-from-leader-entity

---------

Co-authored-by: eugenvoronov <[email protected]>

* [Subgraph][SDK] Add registration data to leaders entity (#2451)

* Add registration data to leaders entity

* Add registration info to getReputationNetworkOperators

---------

Co-authored-by: Francisco López <[email protected]>

* [SDK] Added reputation networks (#2429)

* Added reputation networks

* Removed reputation network

* Handled null value

* Updated unit test

---------

Co-authored-by: portuu3 <[email protected]>

* [Human App] Add registration info to oracles discovery response (#2452)

* Add registration data to leaders entity

* Add registration info to getReputationNetworkOperators

* Add wether registration is required to oracles discovery response

* Implemented reputation networks using SDK (#2458)

* [Subgraph] Remove eth_calls (#2397)

* Add events for data being read with eth_calls in subgraph

* Create new events to allow compatibility with old events

* Remove setupEventCount and rename SetupEvent to PendingEvent in Subgraph

* feat: add events and cancel method for erc20 token support (#2408)

* feat: add events and cancel method for erc20 token support

* fix: contract changes

* feat: sdk update

* feat: update sdk doc

* update subgraph

* update doc

* update doc

* revert doc summary delete

* remove create_and_setup_escrow function

* remove abort function

* fix cvat test

* fix cvat test

* fix cvat e2e

* apply optimization

* remove Payout event

* fix docs sdk files path

* regenerate doc

* [HUMAN App client] Add registration step (#2518)

* Add logic to register users in oracles

* Fix failing tests

---------

Co-authored-by: portuu3 <[email protected]>

* [Subgraph][SDK] Refactor transactions (#2572)

* Refactor transactions in subgraph

* Update SDK

* Add compatibility with new transactions in dashboard server

* Add test for withdraw event

* Fix job launcher tests

* Solve errors on building human app frontend

* contract and subgraph deployment for sepolia

* replace subgraph deployment id

* subgraph transactions refactor

* refactor transactions indexing

* Update subgraph tests to new transactions

* Revert "[HUMAN App client] Add registration step (#2517)"

This reverts commit 26ebc9b.

* Revert "[Human App] Add registration info to oracles discovery response (#2452)"

This reverts commit 712232a.

* Revert "[Subgraph][SDK] Add registration data to leaders entity (#2451)"

This reverts commit cc79357.

* fix tests and lint errors

* add missing property to subgraph schema

* [Dashboard] Hyperlink role to oracle website (#2676)

* Hyperlink role to oracle website

* Created website field in Leader data in Subgraph and used it for hiperlink in dashboard

* [CORE][SDK] Remove allocation from Staking contract (#2651)

* Remove allocation from Staking contract and update SDK

* Updated subgraph tests

* Added withdrawFees to staking events

* enable staking events as main trx

* Update SDKs with the new transaction format

* Update Makefile

* Update docker-compose.yml

* Remove event tests for the events that have been removed

* Contracts upgrade

* Contracts upgrade

* Refactor Job Launcher to remove allocation

* Improve Staking and Escrow contracts

* Fix failing tests in python SDK

---------

Co-authored-by: portuu3 <[email protected]>

* Update payout.service.ts

* fix migration after enums conversion to lower case

* deploy contracts and subgraph on sepolia

* Update staking contract to UUPS upgradeable

* add change staking address and minimum stake to escrow factory

* Remove upgradeable from Staking contract and update openzeppelin version to others contracts

* Fix failing tests

* Improve methods usage in EscrowFactory contract

* update deployment scripts and deploy new staking contract

* undo breaking change @openzeppelin/contracts-upgradeable upgrade and redeploy sepolia contracts

* update contracts deployment cd and deploy new sepolia subgraph

* Undo openzeppelin contract-upgradeable package update

* trigger preview

* add description

* add usdc support to sepolia

* remove private key and update doc

* deploy new contracts to bsc testnet

* deploy amoy

* fix faucet test

* fix lint issues

---------

Co-authored-by: eugenvoronov <[email protected]>
Co-authored-by: Francisco López <[email protected]>
Co-authored-by: eugenvoronov <[email protected]>
Co-authored-by: Francisco López <[email protected]>
Co-authored-by: Eric Lee <[email protected]>
Co-authored-by: Eric Lee <[email protected]>

* [Human App] fix: adjust network names and filters (#2856)

* [Human App] fix: base url for refreshToken fn (#2864)

* [Human App] fix: remove status filter for available jobs on mobile (#2843)

* [Human App] fix: type assertion in web3 provider hook (#2865)

* [Fortune Exchange Oracle] Implemented rewardToken (#2869)

* Implemented rewardToken

* Updated create assignment method

* Removed token

* Removed lower case

* [Subgraph] Events indexing issue (#2870)

* fix events indexing issue and redeploy contracts and subgraph

* fix core tests

* [Dashboard] feat: add close button for menu drawer (#2866)

* fix: change yarn workspaces pattern (#2858)

* chore(deps): bump pg from 8.12.0 to 8.13.1 (#2873)

Bumps [pg](https://github.com/brianc/node-postgres/tree/HEAD/packages/pg) from 8.12.0 to 8.13.1.
- [Changelog](https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianc/node-postgres/commits/[email protected]/packages/pg)

---
updated-dependencies:
- dependency-name: pg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump secp256k1 from 4.0.4 to 5.0.1 (#2872)

Bumps [secp256k1](https://github.com/cryptocoinjs/secp256k1-node) from 4.0.4 to 5.0.1.
- [Release notes](https://github.com/cryptocoinjs/secp256k1-node/releases)
- [Commits](cryptocoinjs/secp256k1-node@v4.0.4...v5.0.1)

---
updated-dependencies:
- dependency-name: secp256k1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @stripe/react-stripe-js from 2.9.0 to 3.0.0 (#2871)

Bumps [@stripe/react-stripe-js](https://github.com/stripe/react-stripe-js) from 2.9.0 to 3.0.0.
- [Release notes](https://github.com/stripe/react-stripe-js/releases)
- [Changelog](https://github.com/stripe/react-stripe-js/blob/master/CHANGELOG.md)
- [Commits](stripe/react-stripe-js@v2.9.0...v3.0.0)

---
updated-dependencies:
- dependency-name: "@stripe/react-stripe-js"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/express from 4.17.21 to 5.0.0 (#2809)

Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.17.21 to 5.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express)

---
updated-dependencies:
- dependency-name: "@types/express"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Revert "chore(deps-dev): bump @types/express from 4.17.21 to 5.0.0 (#2809)" (#2878)

This reverts commit 28db5f8.

* [Dashboard Server] Fixed roles values (#2881)

* Fixed roles values

* Removed console log

* [Dashboard] fix: address search component hover/active state fix (#2868)

* [Dashboard] fix: double footer scroll (#2867)

* [Dashboard] feat: use BE sort order by default (#2883)

* [Dashboard] feat: update link colors for hover/visited states (#2880)

* enable whitelist and fix some UI issues for billing system (#2884)

* [Reputation Oracle] Refactoring Cron Module (#2834)

* [Dashboard] Dashboard fixes after subgraph and contract upgrades (#2879)

* add a flag to disable hcaptcha stats in dashboard server

* add log

* update if

* add logs and rename

* fix networks config

* dashboard fixes

* nullable values

* filter leaders without stake

* dashboard leaderboard fixes

* fix if condition

* fix PR comments

* fix get transactions in sdks

* use bigint for stake comparison

* resolve PR comments

* solve reduce error

* Fix slice to get 4 elements

Co-authored-by: Dmitry Nechay <[email protected]>

---------

Co-authored-by: Dmitry Nechay <[email protected]>

* [Dashboard] feat: remove address search from header (#2885)

* Show network name in job details (#2897)

* Allow direct call to complete after bulkPayOut (#2896)

* Allow direct call to complete after bulkPayOut

* redeploy contract on testnets

---------

Co-authored-by: portuu3 <[email protected]>

* chore(deps-dev): bump ts-jest from 29.2.2 to 29.2.5 (#2889)

Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.2.2 to 29.2.5.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](kulshekhar/ts-jest@v29.2.2...v29.2.5)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump typedoc from 0.26.11 to 0.27.4 (#2890)

Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.26.11 to 0.27.4.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](TypeStrong/typedoc@v0.26.11...v0.27.4)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump eslint-plugin-react-hooks from 4.6.2 to 5.1.0 (#2891)

Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.6.2 to 5.1.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks)

---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump eslint-import-resolver-typescript (#2892)

Bumps [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) from 3.6.3 to 3.7.0.
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases)
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md)
- [Commits](import-js/eslint-import-resolver-typescript@v3.6.3...v3.7.0)

---
updated-dependencies:
- dependency-name: eslint-import-resolver-typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/react-test-renderer from 18.3.0 to 19.0.0 (#2893)

Bumps [@types/react-test-renderer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-test-renderer) from 18.3.0 to 19.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-test-renderer)

---
updated-dependencies:
- dependency-name: "@types/react-test-renderer"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add debug.py for ease of local development (#2763)

* Add debug.py for ease of local development

* [Exchange Oracle] Make `generate_jwt_token` reusable in local development scripts

* [Exchange Oracle] Add local development keys to .gitignore

* [Exchange Oracle] Fix lenient_validate_oracle_webhook_signature patch

* [Exchange Oracle] Patch request signing function in debug.py

This simplifies communication between oracles when running locally.

* [Exchange Oracle] Add bucket for manifests

* [Exchange Oracle] Allow plain json as token for local development

* Add start_debug.sh and mention it in readme

* Fix linting problems

* Use url for storage from the config

* [Exchange Oracle] Support host substitution for CVAT storage config

* Add logging whenever patches happen for transparency

* Update ENV variables names

* Add circular progress when loading card data and refactor billing details modal (#2901)

* fix: hcaptcha stats request (#2900)

* [Human App] feat: filter out oracle jobs as per enabled chain id (#2886)

* [Dashboard] feat: wrap white space for network column (#2887)

* [Human App] feat: set max width for solve button (#2888)

* Upgrade uvicorn dep (#2910)

* Fix some old configuration for core scripts (#2911)

* [CVAT Recording Oracle] Fix blockchain-node healthcheck (#2914)

* Adjust the number of transactions that must take place on the blockchain node to pass the healthcheck

* Fix oracle addresses

* [CVAT] Fix parallel escrow validations (#2915)

* Use simple locks in escrow validations

* Improve parameter description

* Fix error handling logic

* Fix linter error

* [Dashboard] Transactions table (#2902)

* Update transaction table format to the new transaction schema

* Refactor colors

* Negative value for outgoing transactions

* Added links to addresses and display receiver instead of to when available

* change dist filename to snake case (#2917)

* chore(deps): bump @mui/icons-material from 6.1.9 to 6.2.0 (#2918)

Bumps [@mui/icons-material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-icons-material) from 6.1.9 to 6.2.0.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v6.2.0/packages/mui-icons-material)

---
updated-dependencies:
- dependency-name: "@mui/icons-material"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump typedoc from 0.27.4 to 0.27.5 (#2919)

Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.27.4 to 0.27.5.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](TypeStrong/typedoc@v0.27.4...v0.27.5)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump @reduxjs/toolkit from 2.3.0 to 2.5.0 (#2921)

Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 2.3.0 to 2.5.0.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](reduxjs/redux-toolkit@v2.3.0...v2.5.0)

---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Use networks avialable TTL in seconds (#2924)

* chore(deps): bump @mui/x-data-grid from 7.22.3 to 7.23.2 (#2920)

Bumps [@mui/x-data-grid](https://github.com/mui/mui-x/tree/HEAD/packages/x-data-grid) from 7.22.3 to 7.23.2.
- [Release notes](https://github.com/mui/mui-x/releases)
- [Changelog](https://github.com/mui/mui-x/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/mui-x/commits/v7.23.2/packages/x-data-grid)

---
updated-dependencies:
- dependency-name: "@mui/x-data-grid"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump prettier from 2.8.8 to 3.4.2 (#2922)

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.4.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.8...3.4.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix to use CACHE_TTL_JOB_TYPES in seconds (#2929)

* [Exchange Oracle] Refactor JwtHttpStrategy (#2930)

* Refactor  JwtHttpStrategy to query RPC instead of Subgraph to reduce the amount of request sent

* Move getFileUrlAndVerifyHash out of the constructor

* Bump human sdk to 3.0.8b0 (#2925)

* fix: unhandled errors from updateAssigmentsCache (#2932)

* [Dashboard] feat: remove tabs implementation from charts page (#2926)

* [Job Launcher] fix: get rid of job types mapping in job creation (#2907)

* [Dashboard] Implemented Network module with get operating networks logic (#2874)

* [Dashboard] feat: added EVM address validation to search (#2908)

* Added role to reputation endpoint (#2935)

* change balance label from balance of to balance (#2939)

* [Reputation Oracle] refactoring: exception handling for `kyc` module (#2937)

* refactoring: exception handling for `kyc` module

* fix: removed unused value from `KycErrorMessage`;
`userId` in `KycError` is not optional now;

* [Job Launcher] Disable fortune jobs creation in mainnets (#2942)

* Disable fortune on mainnets

* Use Web3Env enum

* [Job Launcher] Show most recent jobs first (#2943)

* Show most recent jobs first

* Remove sortable fields in jobs table and specify filter parameter in the request

* Disable billing system (#2941)

* Disable billing system

* Disable whitelist in server

* Disable whitelist tests untill it's enabled again

* Disable endpoints and reenable transactions page

* [Reputation Oracle] refactoring: error handling for `qualification` module (#2944)

* refactoring: error handling for `qualification` module;
changed API schema for `/assign` and `/unassign`

* refactor: `NO_WORKERS_FOUND` now causes 422 HTTP error

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: adrian-oleskiewicz <[email protected]>
Co-authored-by: Arseny Boykov <[email protected]>
Co-authored-by: Maxim Zhiltsov <[email protected]>
Co-authored-by: Francisco López <[email protected]>
Co-authored-by: KacperKoza343 <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mpblocky <[email protected]>
Co-authored-by: Dmitry Nechay <[email protected]>
Co-authored-by: eugenvoronov <[email protected]>
Co-authored-by: eugenvoronov <[email protected]>
Co-authored-by: Francisco López <[email protected]>
Co-authored-by: Eric Lee <[email protected]>
Co-authored-by: Eric Lee <[email protected]>
Co-authored-by: Dzeranov <[email protected]>
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