near / near-cli

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

dev-deploy throws error BadRequestError: Error: Sender testnet does not have enough balance #1061

Closed sweetim closed 1 year ago

sweetim commented 1 year ago

I had a simple counter smart contract, and i try to deploy using near dev-deploy, but it is returning the error as shown below

An error occured
BadRequestError: Error: Sender testnet does not have enough balance 13872657892471615564069649 for operation costing 200000848514380562500000000

may i know how to fix this issue? i have no issue deploying this smart control if i did the usual way of using near deploy my wallet in testnet has about 220 near available

Expected behavior it should be able to deploy and return a random account id

Desktop (please complete the following information):

sweetim commented 1 year ago

this could be due to testnet is being drained by some user, that caused the testnet account to be left about 20+ N coin

https://explorer.testnet.near.org/accounts/testnet

which cause this error

sweetim commented 1 year ago

this issue is resolve the testnet account has sufficient near alraedy