Comments (11)
Thank you for all your help sorry for any inconvenience @zura35 🌹🌹
from callisto.
Hi @mousaibrah may I ask if you have already followed the instructions from here? 🙏
from callisto.
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.
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.
Hi @zura35 sure here is the repo for bdjuno Code and if you need the source code for our chain app Code
from callisto.
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.
Hi @mousaibrah I haven't found the cause yet, I have tried to do the followings:
- clone your ggezchain repo and serve in dev mode via
ignite chain serve
- clone your bdjuno implementation and copy the genesis file created from ignite
- update the config file to point to local rpc and grpc nodes
- add a line to print
reg.ListImplementations("cosmos.base.v1beta1.Msg")
upon start cmd run - 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.
Hi @mousaibrah I haven't found the cause yet, I have tried to do the followings:
- clone your ggezchain repo and serve in dev mode via
ignite chain serve
- clone your bdjuno implementation and copy the genesis file created from ignite
- update the config file to point to local rpc and grpc nodes
- add a line to print
reg.ListImplementations("cosmos.base.v1beta1.Msg")
upon start cmd run- 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 :
- Copy and update the file chain_acl.json into .ggezchain and update the mutaz and mohd address
- 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.
@mousaibrah Thanks for the detailed instructions, I managed to fetch the transaction without error 🤔
Could you try to clean your go mod cache to refetch packages from your chain for bdjuno, and rebuild the binary?
from callisto.
@mousaibrah Thanks for the detailed instructions, I managed to fetch the transaction without error 🤔
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.
@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):
- I updated the docker compose file to spin up postgres instead of installing locally
- I copied the
database
folder fromforbole/bdjuno
repo branchcosmos/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)
- bdjuno start return error: ERROR: failed to start client: Not Found HOT 1
- failed to get last block height from database error="pq: permission denied for table block" HOT 1
- Use branch cosmos/v0.46.x got error: failed to get block results from node: error unmarshalling result: illegal base64 data at input byte 44 HOT 1
- Why Average Block Time and Active Validators are 0? HOT 8
- panic: invalid Go type math.LegacyDec for field cosmos.mint.v1beta1.QueryInflationResponse.inflation HOT 3
- Validator status and voting power not updated in some cases
- Gov transactions V1beta1
- Impossible to have staking/validator duplicated `operator address` address
- The bdjuno doesn't cover the proposal status change from the deposit to voting.
- not found github.com/cosmos/cosmos-sdk/testutil/testdata_pulsar
- BDJuno crashes when an invalid prefix arrives HOT 2
- ERR re-enqueueing failed block: no concrete type registered for type URL /ibc.core.client.v1.MsgUpdateClient against interface *types.Msg HOT 11
- failed to get transactions for block HOT 2
- Details page cannot display when running with `yarn build` and `yarn start` HOT 1
- v0.47 - Bad Power Voting % calculation HOT 9
- message_type table is empty HOT 3
- Support for Cosmos SDK v0.50.x HOT 2
- Table message_type HOT 1
- Callisto[0.50.x]: Bug parse /cosmos.gov.v1.MsgVote for cosmos-sdk 0.50.x HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from callisto.