-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce project manifest version 0.0.2 (#495)
* Introduce project manifest version 0.0.2 - Define new project manifest schema - Update validator for new schema, validate chain types - Update CLI for new schema - Update `init` to create a v0.0.2 project - Update validate to validate all supported versions - Update Node for new schema - Rely on genesis hash for network identification - Add `--network-registry` flag to provide mapping from genesis hash to endpoint - Support new chain types in external file - Support new entry point for indexer sandbox * Fix up tests * Fix up prettier * Fix lint issue * Enable noImplicitAny ts setting for cli, common and validator * Update new manifest version from 0.0.2 to 0.2.0, address other minor comments * Add tests for index manager, reuse sandbox VM for same entry point * Revert CLI init changes * Update docs * Update init command to allow specifying spec version * Remove networkDictionary option and require networkEndpoint to be provided for v0.2.0 projects * Remove logging * Add validator tests to jest scrope, fix valitation when project.yaml is missing * Fix failing test * Allow specifying an optional endpoint in network config, update CLI to resolve genesis hash from url * Fix commit hook issue with prettier and partially staged files * Fix tests failing * Disable breaking tests * Remove name from datasource in v0.2.0 manifest spec
- Loading branch information
Showing
60 changed files
with
1,034 additions
and
407 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,5 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
# concurrent disabled to eslint and prettier work together | ||
npx lint-staged --concurrent false | ||
npx lint-staged |
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
Oops, something went wrong.