Giter Club home page Giter Club logo

Comments (11)

mousaibrah avatar mousaibrah commented on August 30, 2024 1

Thank you for all your help sorry for any inconvenience @zura35 🌹🌹

from callisto.

zura35 avatar zura35 commented on August 30, 2024

Hi @mousaibrah may I ask if you have already followed the instructions from here? 🙏

from callisto.

mousaibrah avatar mousaibrah commented on August 30, 2024

Hi @mousaibrah may I ask if you have already followed the instructions from here? 🙏

func getBasicManagers() []module.BasicManager {
    return []module.BasicManager{
        simapp.ModuleBasics,
        ggezchain.ModuleBasics
            
    }
}

I added this line but I don't think I need address parser
I already use my modules in react using Telescope and everything run smoothly but I need to read the transaction from big-dipper explorer
please let me know if I need to implement anything else in bdjuno

Thank you @zura35 for your time .

from callisto.

zura35 avatar zura35 commented on August 30, 2024

Hi @mousaibrah This is a bit difficult to look into the issue without the source codes, would you be able to show us your fork?

from callisto.

mousaibrah avatar mousaibrah commented on August 30, 2024

Hi @zura35 sure here is the repo for bdjuno Code and if you need the source code for our chain app Code

from callisto.

mousaibrah avatar mousaibrah commented on August 30, 2024

Hi @mousaibrah This is a bit difficult to look into the issue without the source codes, would you be able to show us your fork?

Hi @zura35 I hope you're doing well, Did you take any time to look into my conundrum? I'm stumped and don't know what to do.
Thank you Zura and sorry if I'm a bit hasty

from callisto.

zura35 avatar zura35 commented on August 30, 2024

Hi @mousaibrah I haven't found the cause yet, I have tried to do the followings:

  1. clone your ggezchain repo and serve in dev mode via ignite chain serve
  2. clone your bdjuno implementation and copy the genesis file created from ignite
  3. update the config file to point to local rpc and grpc nodes
  4. add a line to print reg.ListImplementations("cosmos.base.v1beta1.Msg") upon start cmd run
  5. parse genesis and start bdjuno

I found that /ggezchain.trade.MsgCreateTrade is printed from the log I added 🤔 Wonder how I could simulate tx create-trade locally... On the other hand @MonikaCat wonder if you would have any idea to this issue? 🙏

from callisto.

mousaibrah avatar mousaibrah commented on August 30, 2024

Hi @mousaibrah I haven't found the cause yet, I have tried to do the followings:

  1. clone your ggezchain repo and serve in dev mode via ignite chain serve
  2. clone your bdjuno implementation and copy the genesis file created from ignite
  3. update the config file to point to local rpc and grpc nodes
  4. add a line to print reg.ListImplementations("cosmos.base.v1beta1.Msg") upon start cmd run
  5. parse genesis and start bdjuno

I found that /ggezchain.trade.MsgCreateTrade is printed from the log I added 🤔 Wonder how I could simulate tx create-trade locally... On the other hand @MonikaCat wonder if you would have any idea to this issue? 🙏

Thanks for taking the time and trying to fix my issue.

you can create trade by the following :

  1. Copy and update the file chain_acl.json into .ggezchain and update the mutaz and mohd address
  2. then add this command to your terminal and update the receiver address and signer address
ggezchaind tx trade create-trade buy uggez 0.01 15000 $mohd '{"TradeData":{"tradeRequestID":123,"assetHolderID":456,"assetID":789,"tradeType":"Buy","tradeValue":100.50,"currency":"USD","exchange":"NYSE","fundName":"Tech Fund","issuer":"Company A","noShares":"1000","price":"50.25","quantity":"10","segment":"Technology","sharePrice":"49.50","ticker":"TECH","tradeFee":"5.00","tradeNetPrice":"500.00","tradeNetValue":"495.00"},"Brokerage":{"name":"XYZ Brokerage","type":"Online","country":"USA"}}' --from $mutaz

then you can see the height and see that bdjuno stops at this same height and returns this error

ERROR: Error while re-fetching transactions of height 387652: failed to get transactions for block: error while unpacking message: no concrete type registered for type URL /ggezchain.trade.MsgCreateTrade against interface *types.Msg

I hope that help you figure out my issue, Thanks again for you time

from callisto.

zura35 avatar zura35 commented on August 30, 2024

@mousaibrah Thanks for the detailed instructions, I managed to fetch the transaction without error 🤔
Screenshot 2023-09-25 at 4 59 40 PM

Could you try to clean your go mod cache to refetch packages from your chain for bdjuno, and rebuild the binary?

from callisto.

mousaibrah avatar mousaibrah commented on August 30, 2024

@mousaibrah Thanks for the detailed instructions, I managed to fetch the transaction without error 🤔 Screenshot 2023-09-25 at 4 59 40 PM

Could you try to clean your go mod cache to refetch packages from your chain for bdjuno, and rebuild the binary?

I'm really sorry Zura is there a way that you can give me instructions on how you did it because I've tried to clear my go cache
and the bdjuno cache and make build for both apps and reset for the chain and truncate for the tables
and still got nowhere so I'll be very grateful if you have just a little bit more time to tell me how :)

from callisto.

zura35 avatar zura35 commented on August 30, 2024

@mousaibrah fyi

> ignite version
Ignite CLI version:		v0.27.1-dev
Ignite CLI build date:		2023-06-13T13:42:09Z
Ignite CLI source hash:		4acd1f185afb6d8d1a837e54f04c091121cfae01
Ignite CLI config version:	v1
Cosmos SDK version:		v0.47.3
Your OS:			darwin
Your arch:			arm64
Your Node.js version:		v20.5.1
Your go version:		go version go1.21.0 darwin/arm64

mousaibrah__bdjuno % > git status
On branch main
Your branch is up to date with 'origin/main'.

Other than the log lines I have added, there are two things I have done mainly (but the first one is prolly unrelated):

  1. I updated the docker compose file to spin up postgres instead of installing locally
  2. I copied the database folder from forbole/bdjuno repo branch cosmos/v0.47.x to your bdjuno implementation as it is missing

Then I run the database migration as usual and start bdjuno just as described in #651 (comment)

from callisto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.