alan-sdk / alan.dart

Pure Dart library allowing you to easily integrate with any Cosmos-based chain.
MIT License
32 stars 31 forks source link

Custom Chain error #180

Closed wenchaosong closed 1 year ago

wenchaosong commented 1 year ago
## Generic information - the latest version - flutter project ## Bug description protoc-gen-gocosmos couldn't find during generate the .dart files
RiccardoM commented 1 year ago

This looks more related to how the SSL protection has been setup on the endpoint, not the library itself. Based on this:

WRONG_VERSION_NUMBER

I assume SSL has been set with an old version and should be updated on the gRPC endpoint

wenchaosong commented 1 year ago

ok, but how to set the custom chain id ?

wenchaosong commented 1 year ago

I tried again, success, but the chain id was deadcode in TxSigner.dart file, so you can let it can be configurable

RiccardoM commented 1 year ago

@wenchaosong I'm not understing. Why do you need the chain id while decoding the transaction? It is not used during that process

wenchaosong commented 1 year ago

you are right, no need to set the chain id