区块链技能学习,只谈技术,不扯币! QQ群:791420381

Set contract eosio.system error 3080006: transaction took too long (2)

$ 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

先部署eosio.token合约,发SYS代币后,再部署 eosio.system合约

EOS Error 3080006: transaction took too long

cd eos/build
make install
cleos set contract build/contracts/eosio eosio.system -x 1000


EOS 重置依赖项 重新编译 MAC

brew remove --force boostbrew 
remove --force llvmcd /path/to/eos
rm -rf build/
git pull
git submodule update --init --recursive
./eosio_build.sh


EOS ERROR: Linking /usr/local/Cellar/python/3.6.5… Error: Permission denied @ dir_s_mkdir – /usr/local/Frameworks

解决方案,终端执行以下命令

sudo mkdir /usr/local/Frameworks
sudo chown $(whoami):admin /usr/local/Frameworks


EOS ERROR:’stdint.h’ file not found when running the example of smart contract “xxxx”

解决方案,终端执行以下命令

cd ~/eos/build
sudo make install