Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Adria Massanet
    @adria0
    Hi. I'm trying to serialize/deserialize affine/projective ECs (https://github.com/matter-labs/pairing/blob/e93d939ae001f8ff97c862542f6e2e2e4d52e217/src/bn256/ec.rs#L14) but fields are crate-protected and I cannot find any way to do it (Zokrates, prints and parses using the Display trait, but only to serialize). Is there any proposal to make this fields accessible or to create a builder/getters for these structs?
    Alex Gluchowski
    @gluk64
    Hey @adria0, feel free to create a pull request
    What are you working on?
    Adria Massanet
    @adria0
    Ok, nice, I'll do it.
    I'm working in https://github.com/iden3/rust-circom-experimental, just another "toy project to learn rust" that becomes bigger.
    Adria Massanet
    @adria0
    @gluk64 I'm been trying to pass the tests (cargo test) in pairing, but bn256::ec::g2::g2_generator fails for me in B256 release tags (0.16.0,0.16.1,0.16.2) in stable and nightly. Any idea?
    ---- bn256::ec::g2::g2_generator stdout ----
    thread 'bn256::ec::g2::g2_generator' panicked at 'assertion failed: `(left == right)`
      left: `G2Affine { x: Fq2 { c0: Fq(0x0000000000000000000000000000000000000000000000000000000000000000), c1: Fq(0x0000000000000000000000000000000000000000000000000000000000000000) }, y: Fq2 { c0: Fq(0x2b3f3cefd5b17961811cfc2249abeed27cc5cf2d4f4489570c45f1ccbc09d5c8), c1: Fq(0x0c7adfb22a86647eb1ccb21f2c1cb4b4b5394eaf87993b22deb5f230309f910b) }, infinity: false }`,
     right: `G2Affine { x: Fq2 { c0: Fq(0x1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed), c1: Fq(0x198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c2) }, y: Fq2 { c0: Fq(0x12c85ea5db8c6deb4aab71808dcb408fe3d1e7690c43d37b4ce6cc0166fa7daa), c1: Fq(0x090689d0585ff075ec9e99ad690c3395bc4b313370b38ef355acdadcd122975b) }, infinity: false }`', src/bn256/ec.rs:1413:21
    Adria Massanet
    @adria0
    (also fails for last 0.18.0, btw is not git tagged)
    Alexander
    @shamatar
    It may have been failing from the beginning, I did use test as a notebook/calculator and may have forgotten to remove those
    Adria Massanet
    @adria0
    @shamatar ok!
    Jacob Phillips
    @JacobPPhillips_twitter
    Hey Matter Labs, Really cool project you guys are working on! Other than the ZK podcast, is there anywhere else I can look for more info on the Franklin Network?
    LB_mike
    @whdqkf88_twitter
    Hi!
    Antoine De Vuyst
    @antron3000
    hello, anyone I can ask about the zksync.io tutorial?
    getting a jrpc error when I try to read my committed eth balanance
    balance*
    jenstark
    @jenstark

    Hi Matter Labs. I'm a curious developer. Looking at ZKSync - focused on the privacy aspect of it. I want to ask a question if you don't mind: I noticed in the transactions on the explorer (ZKSync explorer) that the recipient addresses have 0 transactions onchain? I'm assuming these addresses are "1 off destinations" for privacy/confidentiality purposes to preserve the real identity of the receiving address?

    If I were to commit multiple token transfers (separate transactions) to one address, would it show different recipient address on each transaction receipt?

    Thanks and happy new year.
    Alex Gluchowski
    @gluk64
    Hi @jenstark, and happy New Year!
    Privacy is not in scope of the current version
    jenstark
    @jenstark
    Ok thank you.
    Is there a roadmap for ZKSync?
    Alex Gluchowski
    @gluk64
    We will publish updates as they appear
    Maciej Zieliński
    @zie1ony
    Hi. Is it possible to compile bellman_ce as no_std package?
    Alexander
    @shamatar
    No, at the moment Vec type is used a lot and GlobalAllocator trait is not stable to be able to use existing collections in no-std environment. You can nevertheless compile it for WASM if it’s what you are interested in
    Maciej Zieliński
    @zie1ony
    Actually I want to use it as WASM file, but without panic handler.
    Alexander
    @shamatar
    Maciej Zieliński
    @zie1ony
    I use https://github.com/paritytech/wasmi so I can use only no_std.
    Alexander
    @shamatar
    I suppose it’s a part of substrate work? Unfortunately I’m not a wasm specialist
    Steve Chen
    @scheneclk_gitlab
    @gluk64 is it possible to include some arbitrary data in the transfer within ZKSync network? some notes attached to a token transfer?
    Alex Gluchowski
    @gluk64
    @scheneclk_gitlab it will be, but not right now. How do you intend to use it?
    Steve Chen
    @scheneclk_gitlab
    I plan to use it for decentralized token exchange