samples's People
Forkers
oriogod monkeytest15 suyanhanx mrwolong jaraxuss anlebcoder pinelliac kuixiansheng cohen-zhang paddingme lazyrong quiz42 vvvictorlee wuchao0818 getive zhongxiangli tomixu raochuansamples's Issues
加载、发布合约脚本报错
var js_code = fs.readTextFile("./hello/hello.js");
^
Error: [2] No such file or directory
运行basic的示例部署合约一直在报错
错误内容
{"code":500,"message":"Internal Service Error","error":{"code":3070003,"name":"wasm_serialization_error","what":"Serialization Error Processing WASM","details":[]}}
主网的 p2p-peer-address,请问在那里找?
fibos.load("net", {
"p2p-listen-endpoint": "0.0.0.0:9876",
"p2p-peer-address": "????"
});
"private-key" is DEPRECATED, use "signature-provider
2018-09-01T10:15:40.681 thread-0 http_plugin.cpp:344 plugin_initialize ] configured http to listen on 0.0.0.0:8882
2018-09-01T10:15:40.682 thread-0 chain_plugin.cpp:317 plugin_initialize ] initializing chain plugin
2018-09-01T10:15:40.682 thread-0 chain_plugin.cpp:556 plugin_initialize ] Starting up fresh blockchain with default genesis state.
2018-09-01T10:15:41.830 thread-0 net_plugin.cpp:2894 plugin_initialize ] Initialize net plugin
2018-09-01T10:15:41.830 thread-0 net_plugin.cpp:2920 plugin_initialize ] host: 0.0.0.0 port: 9876
2018-09-01T10:15:41.830 thread-0 net_plugin.cpp:2991 plugin_initialize ] my node_id is 51286589671c7833ab6f9aa8d5bcc8efc58e34c8628c5b92a507180e88bc73e5
2018-09-01T10:15:41.830 thread-0 producer_plugin.cpp:566 plugin_initialize ] "private-key" is DEPRECATED, use "signature-provider=FO6emPGpbPCT4rmCtfdo1aP***********=KEY:***************************************************"
2018-09-01T10:15:41.831 thread-0 wallet_plugin.cpp:42 plugin_initialize ] initializing wallet plugin
2018-09-01T10:15:41.831 thread-0 wallet_api_plugin.cpp:123 plugin_initialize ]
!!!SECURITY ERROR!!!
-
*
- -- Wallet API -- *
-
- EXPOSED to the LOCAL NETWORK - *
-
- HTTP RPC is NOT encrypted - *
-
- Password and/or Private Keys - *
-
- are at HIGH risk of exposure - *
-
*
2018-09-01T10:15:41.867 thread-1 http_plugin.cpp:401 plugin_startup ] start listening for http requests
2018-09-01T10:15:41.868 thread-1 controller.cpp:1380 startup ] No head block in fork db, perhaps we need to replay
2018-09-01T10:15:41.868 thread-1 controller.cpp:372 initialize_fork_db ] Initializing new blockchain with genesis state
2018-09-01T10:15:41.909 thread-1 chain_plugin.cpp:648 plugin_startup ] starting chain in read/write mode
2018-09-01T10:15:41.909 thread-1 chain_plugin.cpp:652 plugin_startup ] Blockchain started; head block is #1, genesis timestamp is 2018-06-01T12:00:00.000
2018-09-01T10:15:41.910 thread-1 net_plugin.cpp:3010 plugin_startup ] starting listener, max clients is 25
2018-09-01T10:15:41.910 thread-1 producer_plugin.cpp:650 plugin_startup ] producer plugin: plugin_startup() begin
2018-09-01T10:15:41.910 thread-1 producer_plugin.cpp:672 plugin_startup ] Launching block production for 1 producers at 2018-09-01T10:15:41.910.
2018-09-01T10:15:41.910 thread-1 producer_plugin.cpp:684 plugin_startup ] producer plugin: plugin_startup() end
2018-09-01T10:15:41.910 thread-1 chain_api_plugin.cpp:77 plugin_startup ] starting chain_api_plugin
2018-09-01T10:15:41.910 thread-1 http_plugin.cpp:447 add_handler ] add api url: /v1/chain/abi_bin_to_json
2018-09-01T10:15:41.910 thread-1 http_plugin.cpp:447 add_handler ] add api url: /v1/chain/abi_json_to_bin
2018-09-01T10:15:41.910 thread-1 http_plugin.cpp:447 add_handler ] add api url: /v1/chain/get_abi
2018-09-01T10:15:41.910 thread-1 http_plugin.cpp:447 add_handler ] add api url: /v1/chain/get_account
2018-09-01T10:15:41.910 thread-1 http_plugin.cpp:447 add_handler ] add api url: /v1/chain/get_block
2018-09-01T10:15:41.910 thread-1 http_plugin.cpp:447 add_handler ] add api url: /v1/chain/get_block_header_state
2018-09-01T10:15:41.910 thread-1 http_plugin.cpp:447 add_handler ] add api url: /v1/chain/get_code
2018-09-01T10:15:41.910 thread-1 http_plugin.cpp:447 add_handler ] add api url: /v1/chain/get_currency_balance
2018-09-01T10:15:41.910 thread-1 http_plugin.cpp:447 add_handler ] add api url: /v1/chain/get_currency_stats
2018-09-01T10:15:41.910 thread-1 http_plugin.cpp:447 add_handler ] add api url: /v1/chain/get_info
2018-09-01T10:15:41.910 thread-1 http_plugin.cpp:447 add_handler ] add api url: /v1/chain/get_producer_schedule
执行fibos node.js err
按照教程在samples/hello_fibos/start_fibos目录下执行fibos node.js发生错误,输出为:
2018-08-15T06:22:49.364 thread-0 http_plugin.cpp:344 plugin_initialize ] configured http to listen on 127.0.0.1:8888
2018-08-15T06:22:49.364 thread-0 chain_plugin.cpp:271 plugin_initialize ] initializing chain plugin
database created by a different compiler, build, boost version, or operating system
Environment differences (host vs database):
Compiler Version:
342e322e3120436f6d70617469626c6520436c616e6720342e302e312028746167732f52454c454153455f3430312f66696e616c2900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 "4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final) "
vs
342e322e3120436f6d70617469626c65204170706c65204c4c564d20392e312e302028636c616e672d3930322e302e33392e3129000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 "4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1) "
Debug: 0 vs 0
Apple: 1 vs 1
Windows: 0 vs 0
Boost Version: 106700 vs 106700
2018-08-15T06:22:49.369 thread-0 chain_plugin.cpp:580 plugin_initialize ] 13 N5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE: database created by a different compiler, build, boost version, or operating system
rethrow database created by a different compiler, build, boost version, or operating system:
{"what":"database created by a different compiler, build, boost version, or operating system"}
thread-0 chain_plugin.cpp:580 plugin_initialize
libc++abi.dylib: terminating with uncaught exception of type fc::exception
[1] 99462 abort (core dumped) fibos node.js
查询资料上说是引用的eos版本过低,是你们需要升级么
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.