near / near-cli

General purpose command line tools for interacting with NEAR Protocol
https://docs.near.org
MIT License
195 stars 94 forks source link

Fix Check for Existing Beneficiary in Account Deletion & Repair CI #1009

Closed idea404 closed 2 years ago

idea404 commented 2 years ago

This PR seeks to address the following two unaddressed subjects from https://github.com/near/near-cli/pull/999:

  1. The conditional check during deleteAccount() now ultimately performs a view_account RPC call instead of searching for keys to determine whether a ben. account exists
  2. The test bash script is now fixed (allowing CI to pass) as deleting an account now requires user confirmation