zksync-sdk / zksync-python

Python 3.8 SDK for zkSync
MIT License
116 stars 63 forks source link

get PydanticUserErrorerror msg when I import zksync_sdk #60

Open necaluo opened 4 months ago

necaluo commented 4 months ago
raise PydanticUserError(

pydantic.errors.PydanticUserError: Field 'decimals' defined on a base class was overridden by a non-annotated attribute. All field definitions, including overrides, require a type annotation.

py 3.10, get this error msg when I import zksync_sdk

necaluo commented 4 months ago

when I uesed full math,get error: cannot import name 'Token' from partially initialized module 'progress.zkSync.zksync_sdk.types.transactions' (most likely due to a circular import)

necaluo commented 4 months ago

How can I fix it now?