Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Jason Teutsch
    @teutsch

    @davidfsol5
    [10-25 20:04:38] info: Truebit OS 1.1.2 has been initialized on goerli network at block 3638930 with gas price 20.1 gwei.
    truebit-os:> task -f factorial.json submit
    [10-25 20:33:31] info: TASK GIVER: Generating task from file: factorial.json
    [10-25 20:33:32] info: TASK GIVER: Created local directory: /truebit-eth/tmp.giver_6vee4m237r00
    [10-25 20:33:33] info: TASK GIVER: Adding data files to Truebit filesystem...
    Executing: ./../wasm-client/ocaml-offchain/interpreter/wasm -m -disable-float -input -memory-size 16 -stack-size 14 -table-size 8 -globals-size 8 -call-stack-size 10 -case 0 factorial.wast
    [10-25 20:33:33] info: TASK GIVER: Calcuated task initial state. Adding code file to Truebit filesystem and finalizing bundle...

    (^C again to quit)
    truebit-os:> exit
    root@docker-desktop:/truebit-eth# cd /truebit-eth/tmp.giver_6vee4m237r00
    root@docker-desktop:/truebit-eth/tmp.giver_6vee4m237r00# ./../wasm-client/ocaml-offchain/interpreter/wasm -m -disable-float -input -memory-size 16 -stack-size 14 -table-size 8 -globals-size 8 -call-stack-size 10 -case 0 factorial.wast
    {"vm": { "code": "0x337b3651ecf0b5cd330b85ccf8e6b9edd09d14f43e8eee4ff3bd5874c855beb4", "stack": "0xb4c11951957c6f8f642c4af61cd6b24640fec6dc7fc607ee8206a99e92410d30", "memory": "0xb4c11951957c6f8f642c4af61cd6b24640fec6dc7fc607ee8206a99e92410d30", "input_size": "0xf9dc3e7fe016e050eff260334f18a5d4fe391d82092319f5964f2e2eb7c1c3a5", "input_name": "0xf9dc3e7fe016e050eff260334f18a5d4fe391d82092319f5964f2e2eb7c1c3a5", "input_data": "0xe026cc5a4aed3c22a58cbd3d2ac754c9352c5436f638042dca99034e83636516", "call_stack": "0xb4c11951957c6f8f642c4af61cd6b24640fec6dc7fc607ee8206a99e92410d30", "globals": "0xb4c11951957c6f8f642c4af61cd6b24640fec6dc7fc607ee8206a99e92410d30", "calltable": "0x7bf9aa8e0ce11d87877e8b7a304e8e7105531771dbff77d1b00366ecb1549624", "calltypes": "0xb4c11951957c6f8f642c4af61cd6b24640fec6dc7fc607ee8206a99e92410d30", "pc": 0, "stack_ptr": 0, "call_ptr": 0, "memsize": 0 }, "hash": "0x0f767c050d4d2835b0b4853ba0c6e01e14363314747c6222249fecf114c9986d"}
    root@docker-desktop:/truebit-eth/tmp.giver_6vee4m237r00# cd ..
    root@docker-desktop:/truebit-eth

    davidfsol5
    @davidfsol5
    @teutsch Thanks. I'll see if I can repeat this on my side.
    Jason Teutsch
    @teutsch
    @mzargham [10-25 14:42:13] warn: Unable to connect to /ip6/fe80::9b25:6dd5:3efd:b294/udp/4001/quic/p2p/QmfNx7TLdrk3EAnjSkL3RScERsjuVarEJjXtRiWALSd7f5. Error: connect QmfNx7TLdrk3EAnjSkL3RScERsjuVarEJjXtRiWALSd7f5 failure: failed to dial QmfNx7TLdrk3EAnjSkL3RScERsjuVarEJjXtRiWALSd7f5: no good addresses
    [10-25 14:42:13] warn: Unable to connect to /ip4/127.0.0.1/tcp/4001/p2p/QmdvsNAqmk6UQMYC7UgZCH9DZrssDKFxSdoGufQL9iWoj5. Error: connect QmdvsNAqmk6UQMYC7UgZCH9DZrssDKFxSdoGufQL9iWoj5 failure: dial to self attempted
    [10-25 14:42:13] warn: Unable to connect to /ip4/127.0.0.1/tcp/4001/ipfs/QmR54msip5tHHhU1wHkFtU1rzYuhzV3hC6LYon22coqf4C. Error: connect QmR54msip5tHHhU1wHkFtU1rzYuhzV3hC6LYon22coqf4C failure: failed to dial QmR54msip5tHHhU1wHkFtU1rzYuhzV3hC6LYon22coqf4C: no good addresses
    [10-25 14:42:13] warn: Unable to connect to /ip4/73.98.83.46/udp/24005/quic/p2p/QmdvsNAqmk6UQMYC7UgZCH9DZrssDKFxSdoGufQL9iWoj5. Error: connect QmdvsNAqmk6UQMYC7UgZCH9DZrssDKFxSdoGufQL9iWoj5 failure: dial to self attempted
    [10-25 14:42:13] warn: Unable to connect to /ip6/::1/tcp/4001/p2p/QmdvsNAqmk6UQMYC7UgZCH9DZrssDKFxSdoGufQL9iWoj5. Error: connect QmdvsNAqmk6UQMYC7UgZCH9DZrssDKFxSdoGufQL9iWoj5 failure: dial to self attempted
    [10-25 14:42:13] warn: Unable to connect to /ip6/::1/udp/4001/quic/p2p/QmdvsNAqmk6UQMYC7UgZCH9DZrssDKFxSdoGufQL9iWoj5. Error: connect QmdvsNAqmk6UQMYC7UgZCH9DZrssDKFxSdoGufQL9iWoj5 failure: dial to self attempted
    [10-25 14:42:13] warn: Unable to connect to /ip4/10.0.0.150/udp/4001/quic/p2p/QmdvsNAqmk6UQMYC7UgZCH9DZrssDKFxSdoGufQL9iWoj5. Error: connect QmdvsNAqmk6UQMYC7UgZCH9DZrssDKFxSdoGufQL9iWoj5 failure: dial to self attempted
    [10-25 14:42:13] warn: Unable to connect to /ip4/127.0.0.1/tcp/4001/ipfs/QmRbj4hMwWVou23sdBZH2pv6S5y8PpusEWmAgnD82nJcuJ. Error: connect QmRbj4hMwWVou23sdBZH2pv6S5y8PpusEWmAgnD82nJcuJ failure: failed to dial QmRbj4hMwWVou23sdBZH2pv6S5y8PpusEWmAgnD82nJcuJ: no good addresses
    [10-25 14:42:13] info: Successfully connected to /ip4/173.232.146.200/tcp/4001/p2p/QmTgM2PzYUKWBeRTqWqv7bmr2D3HUUY9qpD7cxATBw4RQV.
    [10-25 14:42:14] info: Successfully connected to /ip4/109.123.70.141/tcp/4001/ipfs/QmZNxPgjivmoT52CiyppFgfSB8tAbeBeCXqrX4aQdgXC1f.
    [10-25 14:42:14] info: Successfully connected to /ip4/23.254.227.151/tcp/4001/ipfs/QmTfrtbUYnDSc9aSzCaV9uM8dxPjB31wwcvaLUCKejXvSZ.
    [10-25 14:42:14] info: Successfully connected to /ip4/165.227.144.202/tcp/4001/ipfs/QmSRg4CQN4aSTKDahNSjwE2BnMRjZkthS5mdmcnau85FM5.
    Michael Zargham
    @mzargham
    @teutsch here is the id and addresses for the IPFS node I am running in my truebit containter: ipfs id
    {
    "ID": "QmYFs2nxBYFB3YELoZAxu5MqXqPdBxLzoWjAyw8b7horgs",
    "PublicKey": "CAASpgIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDV3+90CUhVtP20A2Hvqe3U34yOeQGo8yzMnEQRphx4tz0TglYjuCXSy/dePtoOwaJ1IwAx6s4Mm5IupWh181ABVFV9XoLezlsFUT4m2UEyHiSiVrphxfIC6ImUDmJpO1M963uwUVR8I1Tq5ZwI4dBjbJc8o1mLmG54xY6ikpJOPkmwmQNHB8XQEpv7Mk9GyYSl7K9ygy+Fpr8gTby0hJlXl66zhHEpo48lJ6lsX/YBhdewknMO63fv8lnbDHq7HSs9nTcEF2CRaoSWMS6LJAjDxa6mIB4Hql54Vb5Ifr8p0f3Y7ymgzGy8kSU29cvA2MLQHDaG75LHEx4a0uxLluL5AgMBAAE=",
    "Addresses": [
    "/ip4/127.0.0.1/tcp/4001/ipfs/QmYFs2nxBYFB3YELoZAxu5MqXqPdBxLzoWjAyw8b7horgs",
    "/ip4/192.168.65.3/tcp/4001/ipfs/QmYFs2nxBYFB3YELoZAxu5MqXqPdBxLzoWjAyw8b7horgs",
    "/ip4/172.17.0.1/tcp/4001/ipfs/QmYFs2nxBYFB3YELoZAxu5MqXqPdBxLzoWjAyw8b7horgs",
    "/ip6/::1/tcp/4001/ipfs/QmYFs2nxBYFB3YELoZAxu5MqXqPdBxLzoWjAyw8b7horgs"
    ],
    "AgentVersion": "go-ipfs/0.4.19/",
    "ProtocolVersion": "ipfs/0.1.0"
    davidfsol5
    @davidfsol5
    And here'smine
    {
    id: 'QmV2sFvqduEb2ueEv1a2MoQx6HdvGCkxEke5g8QscuR9CP',
    publicKey: 'CAASpgIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCl1vXQoW71UtzSz1C2GJp8sP670MxCpj8+Y7l3zWUCVQ131UTlMdP9oj483BaNWhMVfsf+oOg8GCu++T/BHEuKterbi5/zJg43yHR0iygnsQRTxbJNouj48+07LxFSQm8z+JMuDLawjCSTOMqzub8ym9rWjcauwRbQ54yW5Sz5o1IlKvusNdCWPlDZIxjPn+IUlQE6p6u5lGJQGxFhvXkDfLtTRjNxfhYccjkb4x1T7QIMlaZPo/qqwY05mVvBEhbnPnfIL+gzlgyQ4Q2ZThuwQZgemakpLlO9xXPs/Lbl/KiZX9eS69+Y8mnTSQOuWSK6HKcywlzGnQzcUgSEeTvhAgMBAAE=',
    addresses: [
    '/ip6/::1/tcp/4001/ipfs/QmV2sFvqduEb2ueEv1a2MoQx6HdvGCkxEke5g8QscuR9CP',
    '/ip4/127.0.0.1/tcp/4001/ipfs/QmV2sFvqduEb2ueEv1a2MoQx6HdvGCkxEke5g8QscuR9CP',
    '/ip4/192.168.65.3/tcp/4001/ipfs/QmV2sFvqduEb2ueEv1a2MoQx6HdvGCkxEke5g8QscuR9CP',
    '/ip4/172.17.0.1/tcp/4001/ipfs/QmV2sFvqduEb2ueEv1a2MoQx6HdvGCkxEke5g8QscuR9CP'
    ],
    agentVersion: 'go-ipfs/0.4.19/',
    protocolVersion: 'ipfs/0.1.0'
    }
    Jason Teutsch
    @teutsch
    [10-25 14:48:09] info: TASK GIVER: Total cost for Task Submitter is 8 TRU. Task requires 10 TRU deposit for each Solver or Verifier.
    [10-25 14:48:09] error: TASK GIVER: Cannot create task: TypeError: Cannot read property 'call' of undefined
    Jason Teutsch
    @teutsch
    @davidfsol5 @mzargham We're good to go...
    George Roman
    @georgeroman
    (node:536) UnhandledPromiseRejectionWarning: Error: execution aborted (timeout = 5s)
    at Object.InvalidResponse (/snapshot/truebit/node_modules/truffle-contract/node_modules/web3/lib/web3/errors.js)
    at /snapshot/truebit/node_modules/truffle-contract/node_modules/web3/lib/web3/requestmanager.js
    at Object.onreadystatechange (/snapshot/truebit/node_modules/web3-providers-http/src/index.js)
    at Object.dispatchEvent (/snapshot/truebit/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25)
    at setState (/snapshot/truebit/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:610:14)
    at IncomingMessage.<anonymous> (/snapshot/truebit/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13)
    at IncomingMessage.emit (events.js:327:22)
    at endReadableNT (_stream_readable.js:1221:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
    (node:536) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
    (node:536) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    George Roman
    @georgeroman
    0xb9dAF3F9549A148F92bE31Ce55a7F789A0ec6Cc9
    Jason Teutsch
    @teutsch
    [10-27 16:48:15] info: VERIFIER [TASK 0x96a]: Setting up VM and retrieving files.
    Getting file { name: 'task.wasm', size: 358333, type: 'IPFS' }
    16:49:05.368 ERROR bitswap: Ended request for cid (QmQAMEhpmzmgVSRrXMGavNPmTQiZCPovhJZGGUianihknT) not in progress providerquerymanager.go:358
    Getting file { name: 'input.data', size: 12, type: 'bytes' }
    Getting file { name: 'output.data', size: 0, type: 'contract' }
    smfang
    @smfang
    Error for starting Geth:
    Fatal: Failed to read password file: open /root/.ethereum/supersecret.txt: no such file or directory
    root@docker-desktop:/# geth --goerli --rpc --unlock "0,1,2,3" --password /root/.ethereum/supersecret.txt --syncmode "light" --allow-insecure-unlock console
    INFO [10-27|17:17:34.004] Starting Geth on Görli testnet...
    INFO [10-27|17:17:34.004] Dropping default light client cache provided=1024 updated=128
    INFO [10-27|17:17:34.006] Maximum peer count ETH=0 LES=10 total=50
    WARN [10-27|17:17:34.006] The flag --rpc is deprecated and will be removed in the future, please use --http
    INFO [10-27|17:17:34.007] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
    ERROR[10-27|17:17:34.028] Failed to enumerate USB devices hub=ledger vendor=11415 failcount=1 err="failed to initialize libusb: libusb: unknown error [code -99]"
    ERROR[10-27|17:17:34.029] Failed to enumerate USB devices hub=trezor vendor=21324 failcount=1 err="failed to initialize libusb: libusb: unknown error [code -99]"
    ERROR[10-27|17:17:34.029] Failed to enumerate USB devices hub=trezor vendor=4617 failcount=1 err="failed to initialize libusb: libusb: unknown error [code -99]"
    ERROR[10-27|17:17:34.029] Failed to enumerate USB devices hub=ledger vendor=11415 failcount=2 err="failed to initialize libusb: libusb: unknown error [code -99]"
    ERROR[10-27|17:17:34.029] Failed to enumerate USB devices hub=trezor vendor=21324 failcount=2 err="failed to initialize libusb: libusb: unknown error [code -99]"
    ERROR[10-27|17:17:34.029] Failed to enumerate USB devices hub=trezor vendor=4617 failcount=2 err="failed to initialize libusb: libusb: unknown error [code -99]"
    INFO [10-27|17:17:34.039] Starting peer-to-peer node instance=Geth/v1.9.14-stable-6d74d1e5/linux-amd64/go1.14.2
    INFO [10-27|17:17:34.039] Allocated cache and file handles database=/root/.ethereum/goerli/geth/lightchaindata cache=64.00MiB handles=524288
    INFO [10-27|17:17:34.103] Allocated cache and file handles database=/root/.ethereum/goerli/geth/lespay cache=16.00MiB handles=16
    INFO [10-27|17:17:34.176] Persisted trie from memory database nodes=361 size=51.17KiB time="628.5µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
    INFO [10-27|17:17:34.182] Initialised chain configuration config="{ChainID: 5 Homestead: 0 DAO: <nil> DAOSupport: true EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: 1561651, Muir Glacier: <nil>, Engine: clique}"
    INFO [10-27|17:17:34.188] Added trusted checkpoint block=2654207 hash="b33267…4b0938"
    INFO [10-27|17:17:34.189] Loaded most recent local header number=0 hash="bf7e33…b88c1a" td=1 age=1y9mo6d
    INFO [10-27|17:17:34.189] Configured checkpoint registrar address=0x18CA0E045F0D772a851BC7e48357Bcaab0a0795D signers=5 threshold=2
    INFO [10-27|17:17:34.244] UDP listener up net=enode://a9ed131aae4f07e4be14ef7e6afdb0961f020d055b321c30c5d009e680a4300be47431fd01e862f89553e760c72c3892fba7f10533b7e1f99b2408f7f0beec02@[::]:30303
    Jason Teutsch
    @teutsch
    geth --goerli -syncmode "light"
    Surya Bakshi
    @sbaks0820
    hello
    :fire:
    Jason Teutsch
    @teutsch
    Welcome @sbaks0820 ! I didn't realize that Gitter supports emoticons :o
    J Cai
    @caiyuxi
    Hi, I was recently trying to follow the quick start guide. Does this line: source /emsdk/emsdk_env.sh assume a prerequisite of installing emscripten?
    If that's the case, it may be nice to have it on the guide.
    Jason Teutsch
    @teutsch

    @caiyuxi You'll need Emscripten (and the command above) when compiling new tasks, however it's not necessary if you just want to run a Solver, Verifier, or Task Giver. Note that compiling tasks also requires an LLVM installation. Both Emscripten and LLVM come pre-installed in the Docker container, which is the easiest place to compile your tasks.

    If you want to compile on your native machine, you can follow lines 9-36 of the Dockerfile: https://github.com/TruebitProtocol/truebit-eth/blob/master/Dockerfile
    If you manage to get the Truebit compiler working on a system other than Ubuntu, please make a pull request with detailed instructions on how you did it!

    J Cai
    @caiyuxi
    @teutsch Thanks, it works fine when running on docker. I was running it on an ubuntu machine.
    I was able to follow the instruction and run a solver on the network. The guide is well-written and easy to follow. One small suggestion is maybe consider putting it into a wiki as the page is getting long.
    It was a good experience and thanks for the hard work
    Jason Teutsch
    @teutsch
    Great @caiyuxi ! Happy decentralized computing :)