cosmology-tech / telescope

A TypeScript Transpiler for Cosmos Protobufs ⚛️
https://cosmology.zone/products/telescope
Apache License 2.0
145 stars 43 forks source link

Feat / local decimal supporting bigint and options to use agoric-sdk or cosmjs #653

Closed j-yw closed 2 months ago

j-yw commented 2 months ago

This PR addresses #652

Sorry about the linter mess! I did self review and highlighted the key changes in the files that are linted for clarity.

Let me know if I got this right and I'll stack the base64 PR on top of this.

j-yw commented 2 months ago

@Zetazzz Do I also upload the generated files under fixtures?

Screenshot 2024-09-14 at 12 09 26
j-yw commented 2 months ago

@Zetazzz

I can yarn build & test successfully on local, not sure how to get pass the github tests. I had to build first after I added the options into types package to get around this error locally.

Error from github tests

Screenshot 2024-09-14 at 12 23 33

On my local machine:

Yarn build:

Screenshot 2024-09-14 at 12 12 34

yarn test:

Screenshot 2024-09-14 at 12 24 51