1

EOS 使用以下方法。

  • nodeos (node + eos = nodeos) - 核心 EOSIO 节点守护进程,可以配置插件来运行节点。
  • cleos (cli + eos = cleos) - 与区块链交互和管理钱包的命令行界面。
  • keosd (key + eos = keosd) - 将 EOSIO 密钥安全地存储在钱包中的组件。

部署系统合约时抛出错误,使用 Nodeos 进行调试时发现以下错误日志。

错误日志

 `Error 3080006: Transaction took too long`.
./cleos set contract eosio ../../unittests/contracts/eosio.system -p eosio  

Reading WASM from /mnt/d/wcc/work/xeniro/snapscale/unittests/contracts/eosio.system/eosio.system.wasm...
Publishing contract...
Error 3080006: Transaction took too long
Error Details:
deadline exceeded
4

1 回答 1

0

请在开发者门户下为您正在使用的版本设置 BIOS 启动顺序 请在此处查看

Dawn 4.1下,以下成功

nodeos --max-transaction-time=1000 --resync
cleos create key  # for eosio.token 
cleos wallet import ... 
cleos create account eosio eosio.token ... 
cleos set contract eosio.token build/contracts/eosio.token 
cleos push action eosio.token create '[ "eosio", "10000000000.0000 SYS", 0, 0, 0]' -p 
eosio.token 
cleos push action eosio.token issue '[ "eosio", "1000000000.0000 SYS", "memo" ]' -p eosio

cleos set contract eosio build/contracts/eosio.system 
Reading WAST/WASM from build/contracts/eosio.system/eosio.system.wasm... 
Using already assembled WASM... 
Publishing contract... 
executed transaction: 901b98f873d67a084ed8e6ea50453e474935e44865ffcef42289e8878198a9fa  40440 byt
于 2019-11-13T06:00:58.833 回答