Skip to content

Commit

Permalink
Merge pull request #1364 from jakmeier/update-error-schema-docs
Browse files Browse the repository at this point in the history
docs: update RPC error schema update process
  • Loading branch information
andy-haynes authored Aug 5, 2024
2 parents f6b7794 + 8e45a02 commit 9d86917
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 937 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ Tests use sample contract from `near-hello` npm package, see https://github.com/

Follow next steps:

1. [Change hash for the commit with errors in the nearcore](https://github.com/near/near-api-js/blob/master/fetch_error_schema.js#L8-L9)
1. [Optionally, set a specific hash for the commit with errors in the nearcore](https://github.com/near/near-api-js/blob/master/packages/utils/fetch_error_schema.js#L4-L5)
2. Fetch new schema: `node fetch_error_schema.js`
3. `pnpm build` to update `lib/**.js` files
3. `pnpm build` and `pnpm test` to check tests still work
4. `pnpm changeset` to generate a changeset with a minor bump for the @near-js/utils package
5. commit all changes and submit a PR on GitHub

## Packages

Expand Down
Loading

0 comments on commit 9d86917

Please sign in to comment.