Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    sorabot
    @sorabot
    [telegram] <Stepan> while experiments with JS are still stepping on the ES6 "rake" under windows and there is already an idea to go for C # gRPC .net, so we are trying to bring everything to the server as much as possible, including the iroha-helpers functions. (re @♌︎ Leo: Makes sense if u only need a few of the iroha APIs and don’t wish to add the iroha-helpers as a dependency. But, if u need a lot more APIs, then you run the of risk reinventing the whole iroha-helpers.)
    sorabot
    @sorabot

    [telegram] <Grouvie> Is Hyperledger Burrow still supported by Iroha or is it suggested to use other solutions to implement smart contract functionality?

    The Hyperledger Burrow Github states:
    "Hyperledger Burrow has been moved to End of Life status by the original project maintainers."

    [telegram] <Sara> Hi So, we discussed this with the team and decided to not remove the code that allows to work with Burrow as for now I do not think there is an alternative (unless @baziorek has something that could help in one of his mentorship projects?). So, you can use the last version of the Burrow but we cannot guarantee it will work well because the project is being closed. (re @Grouvie: Is Hyperledger Burrow still supported by Iroha or is it suggested to use other solutions to implement smart contract functionality?

    The Hyperledger Burrow Github states:
    "Hyperledger Burrow has been moved to End of Life status by the original project maintainers.")

    sorabot
    @sorabot
    [telegram] <Grouvie> Okay. Thanks for the information. I am looking for the best way to implement a voting system into my iroha usecase.
    sorabot
    @sorabot
    [telegram] <Sara> Are you thinking about using Iroha 1 or Iroha 2? (re @Grouvie: Okay. Thanks for the information. I am looking for the best way to implement a voting system into my iroha usecase.)
    [telegram] <Sara> I think Iroha 2 should be able to work rather flexibly with trickier use-cases
    [telegram] <Grouvie> So far I have been using Iroha 1, but I'd like to switch to Iroha 2 if it is already recommended.
    [telegram] <Sara> It is not production-ready but maybe it would make more sense for you for your specific use-case (re @Grouvie: So far I have been using Iroha 1, but I'd like to switch to Iroha 2 if it is already recommended.)
    [telegram] <Sara> https://hyperledger.github.io/iroha-2-docs/ take a look at this, especially the advanced topics (re @Grouvie: So far I have been using Iroha 1, but I'd like to switch to Iroha 2 if it is already recommended.)
    sorabot
    @sorabot

    [telegram] <baziorek> No I don't have:).

    THere is iroha+burrow in iroha's official docker image. It can be used and it is working:). (re @Sara: Hi So, we discussed this with the team and decided to not remove the code that allows to work with Burrow as for now I do not think there is an alternative (unless @baziorek has something that could help in one of his mentorship projects?). So, you can use the last version of the Burrow but we cannot guarantee it will work well because the project is being closed.)

    sorabot
    @sorabot
    [telegram] <Yasir> Hi, I am planning to upgrade iroha nodes that I have for our company. I've seen a bug in it for some reason asset balances are slightly different on different nodes. +-1 difference. Wanted to ask which is the latest stable release?
    sorabot
    @sorabot
    [telegram] <baziorek> Hi,
    Latest stable release is Iroha 1.5:
    https://github.com/hyperledger/iroha/releases
    EDIT: About the bug - please describe some details, maybe somebody would be able to fix its (if the bug still exists in newest versions) (re @Yasir: Hi, I am planning to upgrade iroha nodes that I have for our company. I've seen a bug in it for some reason asset balances are slightly different on different nodes. +-1 difference. Wanted to ask which is the latest stable release?)
    sorabot
    @sorabot
    [telegram] <Jeremy> any documentation how to get started in contributing in iroha 2.0?
    [telegram] <Sara> Hi! You can start with sending a message to https://discord.gg/kCg5gpb3 - there's a special chat on Discord for Iroha 2 contributors :) Iroha 2 team will lead you from there :) (re @Jeremy: any documentation how to get started in contributing in iroha 2.0?)
    sorabot
    @sorabot
    [telegram] <Sara> #iroha-2-contributors
    sorabot
    @sorabot
    [telegram] <Jeremy> Ok. Thanks.
    sorabot
    @sorabot

    [telegram] <Yasir> Thank you for the response. Before I talk more about the bug, could you clear one thing for me please?

    Can I upgrade to 1.5.0 from 1.2.1 without overwritting the ledger? As I tried it on one node and it says that schema is not compatibile... @baziorek @liralemur

    [telegram] <Sara> I think we'd need to ask Alexander on Monday to be sure. Please remind me about that if I forget, ok (re @Yasir: Thank you for the response. Before I talk more about the bug, could you clear one thing for me please?

    Can I upgrade to 1.5.0 from 1.2.1 without overwritting the ledger? As I tried it on one node and it says that schema is not compatibile... @baziorek @liralemur)

    [telegram] <Yasir> Sure. Will do, thanks! (re @Sara: I think we'd need to ask Alexander on Monday to be sure. Please remind me about that if I forget, ok)
    sorabot
    @sorabot
    [telegram] <Yasir> Gensis block in example of both 1.2.1 and 1.5.0 are exactly the same. Is postgres schema changed?
    sorabot
    @sorabot
    [telegram] <baziorek> I think there can be some changes in database (e.g. syncing nodes).
    There is tool to migrate DB scheema: https://github.com/hyperledger/iroha-state-migration-tool/tree/main/migration_data
    but it is not updated to version 1.5.
    So probably to migrate version You need to override database by migrating nodes one by one. But lets wait for Monday to ask Alexander:). (re @Yasir: Gensis block in example of both 1.2.1 and 1.5.0 are exactly the same. Is postgres schema changed?)
    sorabot
    @sorabot
    [telegram] <Yasir> Yes I was able to work it out. I didn't migrate just removed and reset postgres and it was good. But yes have to manually do this on all nodes. (re @baziorek: I think there can be some changes in database (e.g. syncing nodes).
    There is tool to migrate DB scheema: https://github.com/hyperledger/iroha-state-migration-tool/tree/main/migration_data
    but it is not updated to version 1.5.
    So probably to migrate version You need to override database by migrating nodes one by one. But lets wait for Monday to ask Alexander:).)
    sorabot
    @sorabot
    [telegram] <Stepan> Hi. Is there a web site already created where you can see the existing iroha networks. Interested in a resource for the exchange between counterparties of the international waybill (CMR) and other documents?
    sorabot
    @sorabot
    [telegram] <baziorek> Hi, I think here: https://www.katacoda.com/hyperledger-iroha (re @Stepan: Hi. Is there a web site already created where you can see the existing iroha networks. Interested in a resource for the exchange between counterparties of the international waybill (CMR) and other documents?)
    sorabot
    @sorabot
    [telegram] <Stepan> Not exactly what I expected to see, and I didn't even find the sandbox section. (re @baziorek: Hi, I think here: https://www.katacoda.com/hyperledger-iroha)
    sorabot
    @sorabot
    [telegram] <Stepan> ...something similar to the https://soramitsu.co.jp/iroha#rec103186413 page was revealed, but not links to partners, but their project cards. (re @baziorek: Hi, I think here: https://www.katacoda.com/hyperledger-iroha)
    sorabot
    @sorabot
    [telegram] <Sara> Hi! I do not believe there are projects with open architecture. There are some example apps in README on GitHub and short descriptions of possible use cases in the documentation. But usually everyone decides on their own on how to deal with their specific use case I guess, if I understood you correctly (re @Stepan: ...something similar to the https://soramitsu.co.jp/iroha#rec103186413 page was revealed, but not links to partners, but their project cards.)
    sorabot
    @sorabot
    [telegram] <Stepan> (re @Sara: Hi! I do not believe there are projects with open architecture. There are some example apps in README on GitHub and short descriptions of possible use cases in the documentation. But usually everyone decides on their own on how to deal with their specific use case I guess, if I understood you correctly)An example with a bill of lading (CMR), probably just should be open (because it doesn’t make sense to create several similar ones), we see an example of interaction like this. Organizations that do not have the opportunity to implement their own node connect via Web-api. And large corporations implement the connection, according to the open documentation of the project.:
    sorabot
    @sorabot
    [telegram] <Stepan> (re @Sara: Hi! I do not believe there are projects with open architecture. There are some example apps in README on GitHub and short descriptions of possible use cases in the documentation. But usually everyone decides on their own on how to deal with their specific use case I guess, if I understood you correctly)An example with a International Waybill (CMR), probably just should be open (because it doesn’t make sense to create several similar ones), we see an example of interaction like this. Organizations that do not have the opportunity to implement their own node connect via Web-api. And large corporations implement the connection, according to the open documentation of the project.:
    [telegram] <Stepan> (re @Sara: Hi! I do not believe there are projects with open architecture. There are some example apps in README on GitHub and short descriptions of possible use cases in the documentation. But usually everyone decides on their own on how to deal with their specific use case I guess, if I understood you correctly)An example with a International Waybill (CMR), probably just should be open (because it makes no sense to create more than one similar project), we see an example of interaction like this. Organizations that do not have the opportunity to implement their own node connect via Web-api. And large corporations implement the connection, according to the open documentation of the project.:
    sorabot
    @sorabot
    [telegram] <Stepan> (re @Sara: Hi! I do not believe there are projects with open architecture. There are some example apps in README on GitHub and short descriptions of possible use cases in the documentation. But usually everyone decides on their own on how to deal with their specific use case I guess, if I understood you correctly)An example with a International Waybill (CMR), probably just should be open (because it makes no sense to create more than one similar project), we see an example of interaction like this. Organizations that do not have the opportunity to implement their own node connect via Web-api. And large corporations implement the connection, according to the open documentation of the project. ICOdrops may be another good example.:
    sorabot
    @sorabot
    [telegram] <Regina> Stерn соuld fаll tо $0.69 . Whу? Rеаd in оur privatе chаnnеl
    👉 https://t.me/+Oo1mEYs6tjcwMzky
    sorabot
    @sorabot
    [discord] <Yashraj> Hello all, I am trying to build the official iroha image on my machine. When I run the following command:
    docker run --name iroha \
    -d \
    -p 50051:50051 \
    -v $(pwd)/iroha/example:/opt/iroha_data \
    -v blockstore:/tmp/block_store \
    --network=iroha-network \
    -e KEY='node0' \
    hyperledger/iroha:latest
    my iroha container exits with the following logs:
    key=node0
    /opt/iroha_data
    WARNING: IROHA_POSTGRES_HOST is not defined.
    Do not wait for Postgres to become ready. Iroha may fail to start up
    [2022-06-02 18:36:58.173776200][E][Init]: Failed reading the configuration: File 'config.docker' could not be read.
    How can I fix this?
    sorabot
    @sorabot
    [discord] <Yashraj> Well it got fixed when I executed it in Ubuntu.
    sorabot
    @sorabot
    [discord] <liralemur> Hi there! I'd assume it could not find the Docker configuration file maybe. What was the first platform on which you executed it?
    sorabot
    @sorabot
    [discord] <Yashraj> Previously I executed it in windows CMD.
    [discord] <liralemur> Oh, I see. Windows in this case has a lot of surprises and challenges. Unix is generally a more robust way here. Great idea to switch to Ubuntu!
    sorabot
    @sorabot

    [telegram] <Sara> Forwarded from Hyperledger Iroha news: Let's meet for our community call in an hour!

    Updates from both Irohas, opportunity to ask questions if you have any or simply meet the maintainers :)

    Just jump in at noon CET: https://zoom.us/my/hyperledger.community.3
    Password: 475869

    sorabot
    @sorabot
    [telegram] <Stepan> Hi. How safe would it be to use the gRPC-web wrapper to use http/1.1? example: https://github.com/grpc/grpc-web (https://github.com/grpc/grpc-web) (re @♌︎ Leo: Maybe u should consider wrapping the iroha api as a web service and call from your client. Do note that the iroha JS library for browser doesn't support GRPC natively, you still need a GRPC proxy to bridge HTTP 1.1 to GRPC.)
    sorabot
    @sorabot

    [telegram] <Hagen> Hi everyone! Hope you can help me with a quick doubt I am having.
    How can I create a new set of peerKeys and use them when launching Irohad?

    What I have tried to do already is the following:

    1. I changed the node0.pub and node0.priv keys.
      I created them using the IrohaCrypto.private_key(), and IrohaCrypto.derive_public_key() functions like this (I omitted the b' part when loading the keys):
      (1st ss goes here)
      I went ahead and changed the node0 files directly using vim node0.priv and vim node0.pub, and changed the genesis block peer key (with the public one) and then I launched this command:
      ./build/bin/irohad --config example/config.docker --genesis_block example/genesis.block --keypair_name example/node0 --overwrite_ledger
      But whenever I did that, the following message appeared:
      (2nd ss goes here)
    2. Therefore, I restarted everything and tried creating node1.pub and node1.priv files that used some new different keys (both created using the IrohaCrypto.private_key(), and IrohaCrypto.derive_public_key() functions), and also changed the genesis block peer key, then I used this command:
      ./build/bin/irohad --config example/config.docker --genesis_block example/genesis.block --keypair_name example/node1 --overwrite_ledger
      But then the same message appeared “Hex string contains uneven number of characters”
      (3rd ss goes here)

    3. Therefore, I thought there was a problem with the keys, so I restarted everything again and I created the node1.pub and node1.priv files and with vim I copied the public and private keys from node0.priv and node0.pub files, this time I made no modifications to the genesis block, but still, when launching this command:
      ./build/bin/irohad --config example/config.docker --genesis_block example/genesis.block --keypair_name example/node1 --overwrite_ledger
      The same message as before appeared “Hex string contains uneven number of characters”

    4. Finally, I copied node0.pub and node0.priv to node1.pub and node1.priv using cp (like this: cp node0.pub node1.pub) And it worked correctly when using
      ./build/bin/irohad --config example/config.docker --genesis_block example/genesis.block --keypair_name example/node1 --overwrite_ledger
      However, this is not a solution as I am not changing any key, just though it was funny that it worked when copied using cp but not with vim
      What am I doing wrong? Please help me out!
    [telegram] <Hagen>
    [telegram] <Hagen>
    [telegram] <Hagen>
    sorabot
    @sorabot
    [telegram] <♌︎ Leo> exactly as the message says lol. Check your file size. It should be exactly 64 bytes.
    sorabot
    @sorabot
    [telegram] <♌︎ Leo> One private key; one public key. 64 bytes they be. Never more. never less.
    sorabot
    @sorabot
    [telegram] <Hagen> Hi Leo! Both keys have that. Even if I write the original public and private keys that normally work unto node1, they wont work! Thats the issue
    sorabot
    @sorabot
    [telegram] <♌︎ Leo> Did u check with 'ls -l' that the file is exactly 64 bytes without EOF?
    sorabot
    @sorabot
    [telegram] <Hagen> Oh, I see! I got confused with 64 characters, my bad.
    That is indeed the issue, the files that work have 64 bytes and the ones that I modify have 65 bytes thanks for pointing it out!
    Now then, how can i generate a new key file with exactly 64 bytes? as my method of opening the file and writing over it doesn´t work (I have already make sure that there are no extra spaces in it but as soon as I edit it in vim, it turns out to be 65 bytes long)
    sorabot
    @sorabot
    [telegram] <Ilyan> @hyperledgeriroha
    https://t.me/+c9zt7OqVWP02NjQx
    sorabot
    @sorabot
    [telegram] <Ilyan> @hyperledgeriroha
    https://t.me/+c9zt7OqVWP02NjQx