Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use VMError instead of String in FunctionCall error * some progress on errors * errors refactor * revert changes (rename fields) * test pass * error view update * WIP * make it compile * tests pass * action index added to ActionError * action index added: test pass * merge statging * FunctionCall(String) -> FunctionCall(VMError) * rpctypegen start * continue with RpcError derive_macro * continue working * errors JSON schema generation done * Do not rewrite the schema file. Merge error schemas instead. * small fix * VMErrors refactoring * expose errors schema * rename rpc_errors_schema.json * merge staging * specify a nearlib revision to test against * fix tests * fix merge * fix rpctypegen build * Merge branch 'staging' into fckt/rpc-errors * fix ci: exclude near_rpc_error_macro from tests * Merge branch 'staging' into fckt/rpc-errors * Merge branch 'staging' into fckt/rpc-errors * add Errors docs, rename error types fix Balance formatting * fix formatting * Merge branch 'staging' into fckt/rpc-errors * make schema deterministic * Update core/primitives/src/errors.rs Co-Authored-By: Evgeny Kuzyakov <ek@nearprotocol.com> * Update core/primitives/src/errors.rs Co-Authored-By: Evgeny Kuzyakov <ek@nearprotocol.com> * Update core/primitives/src/errors.rs Co-Authored-By: Evgeny Kuzyakov <ek@nearprotocol.com> * Apply suggestions from code review Co-Authored-By: Evgeny Kuzyakov <ek@nearprotocol.com> * return ActionErrorKind::ActorNoPermission on AccountDelete and not sir * Merge branch 'fckt/rpc-errors' of github.com:nearprotocol/nearcore into fckt/rpc-errors * StorageError doc comment addition * update BalanceMismatch doc comment * Apply suggestions from code review Co-Authored-By: Evgeny Kuzyakov <ek@nearprotocol.com> * Merge branch 'staging' into fckt/rpc-errors * ActionError index doc added * Merge branch 'fckt/rpc-errors' of github.com:nearprotocol/nearcore into fckt/rpc-errors * fix check_actor_permissions for DeleteAccount * no cargo clean in build_errors_schema.sh and move to scripts * feature-gated schema dump generation * Merge branch 'staging' into fckt/rpc-errors * Update tools/rpctypegen/Cargo.toml Co-Authored-By: Maksym Zavershynskyi <35039879+nearmax@users.noreply.github.com> * removed rpc_error_variant attribute * split rpctypegen into core and macro crated + tests added * Merge branch 'staging' into fckt/rpc-errors * ServerError Display impl * moved build_errors_schema.sh and res/rpc_errors_schema.json to a json-rpc crate * fix rpc-errors test * ActionError -> RequiresFullAccess * Merge branch 'staging' into fckt/rpc-errors * fix comment Co-Authored-By: Evgeny Kuzyakov <ek@nearprotocol.com>
- Loading branch information