Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 25 2020 17:32

    teutsch on master

    update (compare)

  • Dec 12 2019 04:03
    mrsmkl edited as member
  • Dec 12 2019 04:03
    hswick edited as member
  • Dec 12 2019 04:03
    bloodstalker edited as member
  • Dec 12 2019 04:01
    mrsmkl edited as member
  • Dec 12 2019 03:54
    mrsmkl edited as member
  • Dec 12 2019 03:54
    mrsmkl edited as member
  • Dec 12 2019 03:53
    mrsmkl edited as member
  • Nov 08 2019 07:23

    teutsch on master

    Update README.md (compare)

  • Oct 03 2019 12:42
    mrsmkl unassigned #70
  • Oct 03 2019 06:56

    mrsmkl on rollback

    (compare)

  • Oct 03 2019 06:56

    mrsmkl on rollback2

    (compare)

  • Oct 03 2019 06:56

    mrsmkl on master

    (compare)

  • Oct 03 2019 06:56

    mrsmkl on master

    (compare)

  • Oct 03 2019 06:52

    mrsmkl on rollback2

    (compare)

  • Oct 02 2019 14:10

    mrsmkl on master

    (compare)

  • Oct 02 2019 14:09

    mrsmkl on master

    (compare)

  • Oct 02 2019 14:08

    mrsmkl on master

    (compare)

  • Oct 02 2019 14:07

    mrsmkl on two-layer-dispute

    (compare)

  • Oct 02 2019 06:35

    mrsmkl on v2gp

    (compare)

komalklr
@komalklr
Ipfs daemon is on. Exact error I got is Assertion failed :undefined export.
Jason Teutsch
@teutsch
Do you get this same error when running from the Docker container? mrsmkl/wasm-ports:20-05-12
komalklr
@komalklr
Same error on this image also.
I am getting the error undefined export .
Is there something I am missing here.I am using rust version 1.25.0
komalklr
@komalklr
Out folder is created but generating info is giving this error
Sami Mäkelä
@mrsmkl
the docker images won't work with rust because they use llvm wasm backend, but the old versions of rust required the asm.js backend
Jason Teutsch
@teutsch
@georgeroman Which pipeline did you use for your Rust task?
George Roman
@georgeroman
@komalklr I had the same error when writing a Rust task to run on Truebit. The issue is that, for newer versions of Rust, the wasm32-unknown-emscripten target will generate WASM that depends on WASI exports. At the moment, Truebit's WASM interpreter doesn't support WASI, so those exports will be reported as undefined. I've managed to overcome this by manually changing the WASI exports in the WASM file so that they point to custom made implementations (provided in filesystem.c from emscripten-module-wrapper). This is a very hacky way to solve the issue, but it works. Here is a a fork of emscripten-module-wrapper that I've used for this: https://github.com/georgeroman/emscripten-module-wrapper. I'll update it so that you can find in the README all necessary info to have your task compiled and runnable on Truebit.
komalklr
@komalklr
Thanks :) @georgeroman
George Roman
@georgeroman
Just added the instructions in the README, feel free to ping me if you get into any issue or something doesn't work out the way it should.
komalklr
@komalklr
Hii...I am getting out of gas error in truebit-os while task submitting..error: TASK SUBMITTER: Cannot create task: Error: VM Exception while processing transaction: out of gas
Jason Teutsch
@teutsch
@komalklr I believe @georgeroman had a fix for this in depositHelper.js: { from: account, gasPrice: web3.gp } -> { from: account, gas: 3000000, gasPrice: web3.gp }
komalklr
@komalklr
Thanks @teutsch , he gave me the solution.
Aaron Foster
@pythonpete32
hey guys, I have a problem and I'm wondering if Truebit can help. essentially, I want to know the state of a vanilla ERC20 at a particular block height, the results need to be available on-chain and be as cheap as possible. for context, voting in an Aragon DAO requires a MiniMe token. this is a regular ERC20 token that includes logic that takes a snapshot of the contract at a block height. This prevents double voting, ie. voting and then transferring the tokens to another account and voting again. It is possible to lock tokens a regular ERC20 in a contract for the duration of a vote, however, this increases friction and is unpractical for most projects with existing tokens. Questions:
How would I submit a task to Truebit requesting the state of a token contract at a particular heigh?
How much would this cost?
Jason Teutsch
@teutsch

Hey @pythonpete32, it's good to hear from you! The challenge here, of course, is to reach a global consensus on the ERC20 token contract at the desired block. How can one distinguish between an arbitrary sequence of n blocks representing the "true" Ethereum blockchain and an n-block sequence that ends with an orphaned block? Let's first consider a simpler case where n is close to the current length of the Ethereum blockchain. The most recent 256 blocks are readable by smart contracts, so in this case consensus on the EVM state should be possible. Moreover, one can record it into permanent smart contract storage. With this record on file, a Merkle proof should suffice to prove an account balance or total supply, and one might appeal to Truebit for more complex statistics. So I guess the answer depends on what exactly you're trying to do?

If you were to build the ERC-20 from scratch (which it seems you wish to avoid), I recommend checking out Open Zeppelin's slick, new, "mini-me"-inspired template:

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20Snapshot.sol

Ziyad Alagla
@alagla
if we need to know the result of the computation to challenge its integrity, then why would someone outsource a computation to the cloud when they know the result to begin with?
Jason Teutsch
@teutsch
@alagla That's just the gist of smart contracts. For some computations, consensus and public verifiability matter.
Ziyad Alagla
@alagla
so truebit contracts are expected to be replicated on more than one machine
Jason Teutsch
@teutsch
Each task requires enough verifiers to establish confidence that at least one of them performed the verification correctly.
Luke Tchang
@ltchang2019
Does Truebit support running of python scripts for computation (as opposed to C/C++ or Rust)?
Also, this project seems really awesome and I'm excited to play around more with it. Looking to use it for part of the final project for the Consensys bootcamp.
Jason Teutsch
@teutsch
@ltchang2019 You can't compile Python scripts to Truebit tasks. Just C, C++, or Rust. When's the bootcamp?
Naveen Raina
@rainanav_gitlab
hi , just joined today , going through the details. Nice to be here .
Naveen Raina
@rainanav_gitlab
oops , seems nobody here
Jason Teutsch
@teutsch
Welcome @rainanav_gitlab! Let us know if you have any questions.
jkvoulgaridis
@jkvoulgaridis
Hello, I just discover Truebit and I was wondering if there is a scala interface to use. Does any one know anything?
Jason Teutsch
@teutsch
Hi @jkvoulgaridis, You might be able to do something like this for Scala on Truebit:
https://github.com/shadaj/scala-native-wasm
What are you building? Please join us here: https://gitter.im/TruebitProtocol/community
Ying Chan
@yc5915
hello! I've been reading up on the Truebit protocol and got a query: in the main loop which iteratively tries to determine the first computation step where the Solver and Challenger differs, the Solver has to present c configurations equally spaced apart in time. Each of these configurations are a merkle root of a merkle tree which contains the entire machine state at that time point... I've got a few questions:
  1. Does the entire machine state mean a snapshot of the entire stack needs to be merklised?
  2. How practical is revealing the entire machine state of even a single configuration on-chain?
  3. Is there any example code showing what gets captured in the machine state?
Ghost
@ghost~608c67e96da03739847b66bb
i want access
i need to mint now
@teutsch
adlis
@adlis_twitter
Sorry if this isn't the appropriate place to ask but I can't seem to find answers anywhere.

Can anyone confirm if this contract addy listed on coingecko and under your name is legit and not scam?

0xf65B5C5104c4faFD4b709d9D60a185eAE063276c

minozero
@minozero1_twitter
Hi everyone, where can I find the tokenomics of Truebit? THX!
Amir Baboosh
@amirbaboosh_gitlab
Just bought some on Uniswap with MetaMask
It was really easy
adamoo1
@adamoo1
.
palladidrago
@palladidrago
Hi, i have a couple of questions about the protocol.
From what i understand there is some sort of additional program that is needed to mine truebit, but is that open source? I can't seem to find it on github.
I heard people talking about it on other chats, I would love to have a look at the code to figure how the protocol works.
palladidrago
@palladidrago
@teutsch
JA
@cryptoartsy
@palladidrago Hi, This is not the current Truebit Gitter channel. we invite you to join the new one. https://gitter.im/TruebitProtocol/community
@palladidrago The latest version of Truebit OS is open to limited developer access. Users can request access via devs@truebit.io with a brief description stating your interest in Truebit along with a link to your Github. As noted for the time being, developers must have access permissions to the repo, otherwise an error message will be displayed when accessing the repository.
JA
@cryptoartsy

@minozero1_twitter Please join our active Gitter channel: https://gitter.im/TruebitProtocol/community You will find quicker answers there.

regarding your question, this should be a good place to start:
https://medium.com/truebit/getting-started-with-truebit-on-ethereum-ac1c7cdb0907

Papa Freedom
@papafreedom_gitlab

TRU TO 2 usd

there is a major buyer

srom23
@srom231_twitter
I have tried installing https://github.com/TrueBitFoundation/truebit-os But tail -F ~/goerli_log show 0/25 Peers
JA
@cryptoartsy
@/all please join us at https://gitter.im/TruebitProtocol/community for our latest updates!
JA
@cryptoartsy
@srom231_twitter Hi! https://github.com/TrueBitFoundation/truebit-os is a deprecated account that we have only as archive. same with this Gitter room. Please join our active Gitter room her https://gitter.im/TruebitProtocol/community Also, here is a Medium post that may help youget started in the right direction: https://medium.com/truebit/getting-started-with-truebit-on-ethereum-ac1c7cdb0907