Where communities thrive


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

    baziorek via telegram
    True, he has two Approves for PR: hyperledger/iroha#1300 from two members from Iroha Core Team, so should he correct something more in the PR, or it can be merged?
    His work, according to the project description: https://wiki.hyperledger.org/display/INTERN/Extend+HL+Iroha+queries+with+optional+arguments is to extend:

    1. GetAccountTransactions 2.GetAccountAssetTransactions
      `3.GetPendingTransactions

    `1 and 2 was already merged for Postgres, and it looks like Iroha Core Team used the code for RocksDB, so it done. The last missing part for Iroha Core Code is the PR #1300, which is already approved. So after merging the only missing parts would be to merge PRs for Iroha client libraries: python, java, nodeJS, iOS (PRs for python, nodeJS and ready to merge).

    After that he would finish entire internship project, so the question for Iroha 2 team - should be something connected with the internship project (filtering transactions by time range) added to Iroha 2?

    CC: @liralemur

    Sara via telegram
    Hello Gregorz and Piotr!

    It's great that you are ready to work on something else! It's night in Europe now but in the morning I'll ping Iroha 2 team members here (if they won't check the chat before that) and I'm sure we will find something interesting for you to tackle!

    About merge - I'd wait for Ivan's approval (I don't feel comfortable tagging him at night too, but I will in the morning) as he's I think the ruler of merges these days as we've been having some CI issues.

    sorabot
    @sorabot
    Sandy Kristiawan via telegram
    Hello, is there any JS query API to get all domain or specific domain name that exists in the system? Thank you.
    sorabot
    @sorabot
    baziorek via telegram
    Hello,
    According to documentation: https://iroha.readthedocs.io/en/support-1.2.x/develop/api.html there is no direct way. You can do its in really slow and hard way with: https://iroha.readthedocs.io/en/support-1.2.x/develop/api/queries.html#get-block query
    Sandy Kristiawan via telegram
    Okay. Thanks for the answer! :D
    sorabot
    @sorabot

    Juan Pablo Ramirez via telegram
    Hello, I finally manage not only to compile but to run cli and irohad, I will share a readme later, facing the fact that there is many changes that are not documented such as database creation externally, among others.

    Finally following certain gitter conversations I found the broken links to migration tools, and continuing to browse I found iroha-state-migration-tool repository and manage to create the desire database.

    Now, after that, this error keeps appearing :

    irohad: ../irohad/ametsuchi/impl/mutable_storage_impl.cpp:152: virtual iroha::expected::Result<iroha::ametsuchi::MutableStorage::CommitResult, std::__cxx11::basic_string<char> > iroha::ametsuchi::MutableStorageImpl::commit(iroha::ametsuchi::BlockStorage&) &&: Assertion `ledgerstate' failed.
    [1] 181078 abort (core dumped) ./irohad --config irohad-config.json --genesis_block genesis.block node0

    when I run:
    ./irohad --config irohad-config.json --genesis_block genesis.block --keypair_name node0 --drop_state

    with this genesis.block

    {
    "blockV1": {
    "payload": {
    "transactions": [{
    "payload": {
    "reducedPayload": {
    "commands": [{
    "createRole": {
    "roleName": "admin",
    "permissions": ["can_add_peer", "can_add_signatory", "can_create_account", "can_create_domain", "can_get_all_acc_ast", "can_get_all_acc_ast_txs", "can_get_all_acc_detail", "can_get_all_acc_txs", "can_get_all_accounts", "can_get_all_engine_receipts", "can_get_all_signatories", "can_get_all_txs", "can_get_blocks", "can_get_roles", "can_read_assets", "can_remove_signatory", "can_set_quorum"]
    }
    }, {
    "createRole": {
    "roleName": "user",
    "permissions": ["can_add_signatory", "can_get_my_acc_ast", "can_get_my_acc_ast_txs", "can_get_my_acc_detail", "can_get_my_acc_txs", "can_get_my_account", "can_get_my_engine_receipts", "can_get_my_signatories", "can_get_my_txs", "can_grant_can_add_my_signatory", "can_grant_can_remove_my_signatory", "can_grant_can_set_my_account_detail", "can_grant_can_set_my_quorum", "can_grant_can_transfer_my_assets", "can_receive", "can_remove_signatory", "can_set_quorum", "can_transfer"]
    }
    }, {
    "createRole": {
    "roleName": "money_creator",
    "permissions": ["can_add_asset_qty", "can_create_asset", "can_receive", "can_transfer"]
    }
    }, {
    "createDomain": {
    "domainId": "dustnet",
    "defaultRole": "user"
    }
    }, {
    "createAsset": {
    "assetName": "coinOne",
    "domainId": "dustnet",
    "precision": 4
    }
    }, {
    "createAccount": {
    "accountName": "admin",
    "domainId": "dustnet",
    "publicKey": "d5c6565a5d46f510bce88222c828b844b67f25171a81c811fb08bdd3b2df0b62"
    }
    }, {
    "createAccount": {
    "accountName": "jramirez",
    "domainId": "dustnet",
    "publicKey": "048ad435aa570df48420350b178c54c886bb9f7a417c2f8bcfa177401670b34d"
    }
    }, {
    "appendRole": {
    "accountId": "admin@dustnet.co",
    "roleName": "admin"
    }
    }, {
    "appendRole": {
    "accountId": "admin@dustnet.co",
    "roleName": "money_creator"
    }
    }],
    "quorum": 1
    }
    }
    }],
    "txNumber": 1,
    "height": "1",
    "prevBlockHash": "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
    }
    }
    }

    and this configuration file

    Juan Pablo Ramirez via telegram
    {
    "block_store_path" : "/tmp/block_store/",
    "torii_port" : 50051,
    "internal_port" : 10001,
    "pg_opt" : "host=localhost port=5432 user=postgres password=mysecretpassword",
    "max_proposal_size" : 10,
    "proposal_delay" : 5000,
    "vote_delay" : 5000,
    "mst_enable" : false,
    "mst_expiration_time" : 1440,
    "max_rounds_delay": 3000,
    "stale_stream_max_rounds": 2
    }

    Can someone help me to undestand why irohad is core dumping?

    Kuvaldini via telegram
    It fails on assertion.
    Juan Pablo Ramirez via telegram
    Yes ... But database is completely empty, nothing is running there , brand new schema ...what could be the reason for assertion error
    Kuvaldini via telegram
    Likes it fails to reindex blockstore.
    Kuvaldini via telegram
    what version did you build?
    Kuvaldini via telegram
    branch?
    Juan Pablo Ramirez via telegram
    Main
    Kuvaldini via telegram
    please try support/1.2.x
    sorabot
    @sorabot
    Kuvaldini via telegram
    Tomorrow it would be named RC 1.3
    Juan Pablo Ramirez via telegram
    Ok
    Juan Pablo Ramirez via telegram
    Let me try

    Kuvaldini via telegram

    1. docker pull ghcr.io/hyperledger/iroha-builder:support-1.2.x
    2. in container git clone github.com/hyperleder/iroha
    3. ./vcpkg/build_iroha_deps.sh
    4. cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=$PWD/vcpkg/scripts/buildsystems/vcpkg.cmake -GNinja
    5. cmake --build build
    6. ./build/bin/irohad ....

    WARN: wrote from head. There could be mistakes. Concept is right.

    sorabot
    @sorabot
    Kuvaldini via telegram
    U can docker cp build/bin/irohad to host and then to other containder (which does not build tools) and it should work.

    Kuvaldini via telegram
    And finally. Why to build yourself.

    docker run ghcr.io/hyperleder/iroha

    Juan Pablo Ramirez via telegram
    Thank you. I just like the independence .
    Let you know about the build
    sorabot
    @sorabot
    Kuvaldini via telegram
    No real need in iroha-builder it is just ubuntu-latest with cmake ninja gcc and other tools installed.
    sorabot
    @sorabot
    Juan Pablo Ramirez via telegram
    for the common example in main does not work btw.
    sorabot
    @sorabot
    koch forwarded from Airdrop Announcements via telegram
    https://t.me/MSTAirdrop
    ๐Ÿ‘†Enter the main channel๐Ÿ‘†
    ๐Ÿš€ Airdrop MST
    Online account managerโœˆ๏ธ:@MSTManager
    Claim for 60 pieces per account, 1.6U each
    MST circulation: 82 million pieces
    ๐ŸŽ50% of community users
    ๐ŸŽ15% of strategic investors
    ๐ŸŽ15% basic reserve
    ๐ŸŽ20% private placement/airdrop
    โœ… Join Airdrop: https://msttoken.com/index.html๏ผŸ586093a17894a1
    sorabot
    @sorabot
    Juan Pablo Ramirez via telegram
    So I manage to compile 1.2.x as you mention, same error is showing when I'm executing irohad
    Juan Pablo Ramirez via telegram
    [2021-08-27 15:54:38.629163330][I][Irohad/Storage/Storage/MutableStorageImpl]: Applying block: height 1, hash 26c071444189715ac29569e963206a9b9be6cfb8e90aa62b62f7a7e19ab6fc98
    [2021-08-27 15:54:38.633636146][E][Irohad/Storage/Storage/MutableStorageImpl]: AppendRole: 3 with extra info 'AppendRole: [Validation=0, creator=, target=admin@dustnet.co, role=admin]'
    irohad: ../irohad/ametsuchi/impl/mutable_storage_impl.cpp:138: virtual iroha::expected::Result<iroha::ametsuchi::MutableStorage::CommitResult, std::__cxx11::basic_string<char> > iroha::ametsuchi::MutableStorageImpl::commit(iroha::ametsuchi::BlockStorage&) &&: Assertion `ledgerstate' failed.
    [1] 265131 abort (core dumped) ./irohad --config irohad-config.json --genesis_block genesis.block node0
    sorabot
    @sorabot

    Sara forwarded from Hyperledger Iroha news via telegram
    ๐Ÿ––๐Ÿป Hello there! Just a reminder about our community meeting (which will be in ~75 minutes)

    We will hear general project updates and see an internship presentation!
    One of this year's interns will present the great work they've completed.

    See you at 1PM CET: https://zoom.us/my/hyperledger.community.3
    Password: 475869

    sorabot
    @sorabot
    Kuvaldini via telegram
    What if you run irohad with config and genesis from ./example/
    sorabot
    @sorabot
    Sara forwarded from Hyperledger Iroha news via telegram
    Correction: there are going to be more than 1 presentation, so get ready for new exciting features implemented by interns this summer!
    sorabot
    @sorabot
    Sara via telegram
    https://zoom.us/my/hyperledger.community.3
    Password: 475869 - waiting for you here :)
    sorabot
    @sorabot
    Kuvaldini via telegram
    Please show full log
    sorabot
    @sorabot
    Mustard Lee via telegram
    but how many (limit)?
    sorabot
    @sorabot
    Juan Pablo Ramirez via telegram
    I copy the example genesis.block and it worked, I also replace with the testing information I needed and worked too.
    Is still uncertain what caused the core dump with the previous genesis file as I generate that using the iroha-cli.
    For now I will leave it alone and work on the "business" part of my implementation.
    Thank you @Kuvaldini for your support.
    sorabot
    @sorabot
    Kuvaldini via telegram
    I you could spend some more time on that failed assertion. I ask you to create an issue on GitHub with full log and steps to reproduce, i.e config, genesis, and cmdline options. The verision is reported in the early start to logfile.
    Kuvaldini via telegram
    And tag @kuvaldini
    Juan Pablo Ramirez via telegram
    Sure no problem we will collect the necessary data
    Kuvaldini via telegram
    That you. Your feedback is important for us.
    Iroha dev team.
    sorabot
    @sorabot
    Piotr Pawlow via telegram
    Hi, I think my PR we talked about on Friday is ready to merge, @salakhiev
    Kuvaldini via telegram
    Could you please squash all changes and add to commit message on a separate line
    /build before-merge
    Kuvaldini via telegram
    Please also check the commit is signedoff with
    Git commit --sign-of
    sorabot
    @sorabot
    Sara via telegram
    Shouldn't it be --sign-off? And is it enough to use -s? I usually use it ๐Ÿค”
    sorabot
    @sorabot
    Kuvaldini via telegram
    I thought it is the same
    sorabot
    @sorabot
    Kamil' Salakhiev via telegram
    merged
    Piotr Pawlow via telegram
    Thanks :-)

    baziorek via telegram
    Thanks for merging!

    To fully implement the functionality it would be good to review changes in client libraries:

    1. Iroha-js library: hyperledger/iroha-javascript#63 - it is already reviewed and approved by me
    2. Iroha-python library: hyperledger/iroha-python#77 - it is already reviewed by me

    could somebody take a look please?

    sorabot
    @sorabot
    Ali via telegram
    Greate job
    sorabot
    @sorabot
    Mika via telegram
    Hello, everyone. I am a college student creating a Digital wallet using Hyperledger iroha. I was curious if anyone knew of a sample code on github where I could start off with. Btw, I will use android for this project
    sorabot
    @sorabot
    Grouvie via telegram
    Do you already have the backend running?
    I would suggest using the docker container to do so:
    https://iroha.readthedocs.io/en/support-1.2.x/getting_started/index.html
    sorabot
    @sorabot

    baziorek via telegram
    Useful for You would be:

    1. Sample wallet1: https://github.com/soramitsu/iroha-wallet-js
    2. Sample wallet2: https://github.com/claudiocandio/borsello

    And to use Iroha from Android You have two client libraries:

    sorabot
    @sorabot
    Mika via telegram
    Thanks for the suggestion!