cargo check
Sometimes errors from macro expansion are too opaque to debug.
To see errors with the expanded macro set RUSTFLAGS
like so:
RUSTFLAGS="-Z external-macro-backtrace" cargo +nightly [test|check]
# new version
I hereby claim:
To claim this, I am signing this object:
""" | |
Shows how to query user account data using driftpy | |
python 3.10.13 | |
""" | |
import asyncio | |
from anchorpy import Wallet | |
from driftpy.addresses import get_user_account_public_key | |
from driftpy.drift_client import DriftClient; | |
from driftpy.user_map.user_map import UserMap, UserMapConfig, PollingConfig; |