-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: new provider.yaml and new contracts v2 [JS-850, JS-851] (#1082)
* feat: new provider.yaml * feat: new provider.yaml * use 1.1.1.1 * Apply automatic changes * use 2, fix offerName * Apply automatic changes * improve validation, try some ideas * Apply automatic changes * use ones again * Apply automatic changes * group resource names by type, rename vcpu to cpu * Apply automatic changes * feat: add balance keeper * feat: use registerMarketOfferV2 * move over the rest of v2 I could find * improve resource definition in provider.yaml * Apply automatic changes * rename nox to computePeer * Apply automatic changes * product review fixes * fix integer * Apply automatic changes * add resource validation and autocomplete * use snapshot * prepare for getting resources from chain * Apply automatic changes * fix offer-create * more offer update functionality * use containers * use chain to get resources, temporary remove resource validation, temporary hardcode subgraph * use latest containers * add ip validation across compute peers * add 2x when creating offer, check enough ram per core * Apply automatic changes * fix storage description * Apply automatic changes * fix add, remove and display CU * remove type assertions * fix * fix * convert stuff * Apply automatic changes * use megabytes and megabits per second for network * up containers and snapshot * fix some update problems * fix provider test * fix test * fix change CU? * Add docker login to docs job * another fix for CU update * improve resource update? * use supply to 0 instead of removePeerResource * first update ram then CPU * first remove resources then add and check if details changed * fix update * use mebibytes, fix cpu price so it is per VCPU on chain but is still per physical core in config, add descriptions for prices in config * Apply automatic changes * fix offer update --------- Co-authored-by: shamsartem <shamsartem@users.noreply.github.com> Co-authored-by: Anatolios Laskaris <github_me@nahsi.dev>
- Loading branch information
1 parent
7668819
commit 3894079
Showing
30 changed files
with
3,352 additions
and
832 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
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
Large diffs are not rendered by default.
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
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
Oops, something went wrong.