EOS交易ram,net和cpu资源不足问题解决
香茶苦咖啡
post on 2022-11-7 17:26:01
34
0
0
./cleos.sh transfer eosioddztest trustwallets "0.0001 EOS" "issue"
报错如下
此报错为账号余额不足或者输入的金额不符合EOS规定的要求,EOS要求为必须满足小数后4位。
通过其他账号转了一笔EOS过去,再次运行交易报如下错误
//购买ram
cleos system buyram trustwallets eosioddztest "0.0001 EOS"
再次进行交易,提示网络资源或者CPU资源不足
购买资源
./cleos.sh system delegatebw trustwallets eosioddztest '0.1000 EOS' '0.1000 EOS' -p trustwallets
报错如下
支付账号资源不足,查询支付帐号资源
./cleos.sh get account trustwallets
支付帐号购买资源
./cleos.sh system delegatebw trustwallets trustwallets '0.1000 EOS' '0.1000 EOS' -p trustwallets
再次进行交易
./cleos.sh transfer eosioddztest trustwallets "0.0001 EOS" "issue"
成功
注意:当账号没有资源时是不允许自己给自己购买ram或者抵押获得NET和CPU,因为这本身就是一次交易,需要消耗资源,第一次的操作需要通过其他账号进行。
BitMere.com is Information release platform,just provides information storage space services.
The opinions expressed are solely those of the author,Does not constitute advice, please treat with caution.
The opinions expressed are solely those of the author,Does not constitute advice, please treat with caution.
Write the first review