polkascan / py-scale-codec

Python SCALE-Codec
https://polkascan.github.io/py-scale-codec/
Apache License 2.0
54 stars 54 forks source link

Updating Crust network `type_registry` #75

Closed PaTara43 closed 2 years ago

PaTara43 commented 2 years ago

Hi!

There is a type_registry update in Crust network!

Same for Replica.

arjanz commented 2 years ago

Updated the type registry according to types defined at: https://github.com/crustio/crust.js/blob/5f20ee179b98cc378efb06b1e55c282c735a72c9/packages/type-definitions/src/json/types.json

PaTara43 commented 2 years ago

Would you kindly update the https://github.com/polkascan/py-substrate-interface with the new template?

arjanz commented 2 years ago

Would you kindly update the https://github.com/polkascan/py-substrate-interface with the new template?

I will release this soon, for the time being you can update: pip install scalecodec==1.0.39

PaTara43 commented 2 years ago

Well, yes, but the substrate-interface uses 1.0.37

arjanz commented 2 years ago

Well, yes, but the substrate-interface uses 1.0.37

scalecodec>=1.0.37,<2 to be exact, so installing from scratch will install the newest and if you specify it explicitly in your requirements file it wouldn't be a version conflict.. But don't worry, there is a release planned today

PaTara43 commented 2 years ago

Sorry, didn't notice that. Thanks!

arjanz commented 2 years ago

Released in: https://github.com/polkascan/py-substrate-interface/releases/tag/v1.2.8

PaTara43 commented 2 years ago

Awesome!