新手问答 Error 3080001: account using more than allotted RAM usage

Surou · 2018年05月15日 · 最后由 Surou 回复于 2018年05月16日 · 6650 次阅读

第一个终端

root@surou-C-H110M-K-Pro:~/.local/share/eosio/nodeos# cleos system delegatebw eos.cos eos.cos '250000.0000 EOS' '250000.0000 EOS' --transfer
3396462ms thread-0   main.cpp:1002                 operator()           ] act_payload: {"from":"eos.cos","receiver":"eos.cos","stake_net_quantity":"250000.0000 EOS","stake_cpu_quantity":"250000.0000 EOS","transfer":true} 
3396463ms thread-0   main.cpp:418                  create_action        ] result: {"binargs":"0000000053043055000000005304305500f902950000000004454f530000000000f902950000000004454f530000000001"} arg: {"code":"eosio","action":"delegatebw","args":{"from":"eos.cos","receiver":"eos.cos","stake_net_quantity":"250000.0000 EOS","stake_cpu_quantity":"250000.0000 EOS","transfer":true}} 
Error 3080001: account using more than allotted RAM usage
Error Details:
account eos.cos has insufficient ram bytes; needs 4138 has 0
root@surou-C-H110M-K-Pro:~/.local/share/eosio/nodeos# cleos system buyram eos.cos eos.cos '2500.0000 EOS'
3417367ms thread-0   main.cpp:418                  create_action        ] result: {"binargs":"0000000053043055000000005304305540787d010000000004454f5300000000"} arg: {"code":"eosio","action":"buyram","args":{"payer":"eos.cos","receiver":"eos.cos","quant":"2500.0000 EOS"}} 
Failed to connect to nodeos at http://localhost:8888/; is nodeos running?

另一个正在运行 nodeos的终端

3417381ms thread-0   apply_context.cpp:29          print_debug          ] 
[(eosio,buyram)->eosio]: CONSOLE OUTPUT BEGIN =====================

 payer: eos.cos buys ram for eos.cos with 2500.0000 EOS
free ram: 68719476736
ram bytes out: 17175575

[(eosio,buyram)->eosio]: CONSOLE OUTPUT END   =====================
3417382ms thread-0   apply_context.cpp:29          print_debug          ] 
[(eosio.token,transfer)->eosio.token]: CONSOLE OUTPUT BEGIN =====================
transfer from eos.cos to eosio 2500.0000 EOS
eos.cos balance: 999997500.0000 EOS
eosio balance: 9000002500.0000 EOS

[(eosio.token,transfer)->eosio.token]: CONSOLE OUTPUT END   =====================
Floating point exception (core dumped)
root@surou-C-H110M-K-Pro:/home/surou/eos/build# nodeos
3491617ms thread-0   chain_plugin.cpp:125          plugin_initialize    ] initializing chain plugin
3491617ms thread-0   main.cpp:101                  main                 ] /home/surou/eos/libraries/chainbase/src/chainbase.cpp(106): Throw in function chainbase::database::database(const bfs::path &, chainbase::database::open_flags, uint64_t)
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >
std::exception::what: database dirty flag set (likely due to unclean shutdown) replay or resync required
共收到 2 条回复
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册