diff --git a/conflux_web3/_utils/method_formatters.py b/conflux_web3/_utils/method_formatters.py index 5f8790d..f29337d 100644 --- a/conflux_web3/_utils/method_formatters.py +++ b/conflux_web3/_utils/method_formatters.py @@ -394,6 +394,7 @@ def fixed64_to_float(val: str) -> float: DAO_INFO_FORMATTERS = { "powBaseReward": from_hex_to_drip, "interestRate": to_integer_if_hex, + "storagePointProp": to_integer_if_hex, } SUPPLY_INFO_FORMATTERS = { diff --git a/conflux_web3/types/__init__.py b/conflux_web3/types/__init__.py index 0d22ba3..7c7eb3e 100644 --- a/conflux_web3/types/__init__.py +++ b/conflux_web3/types/__init__.py @@ -504,9 +504,11 @@ class DAOVoteInfo(TypedDict): ---------- | powBaseReward: Drip | interestRate: int + | storagePointProp: int """ powBaseReward: Drip interestRate: int + storagePointProp: int class SupplyInfo(TypedDict): """ diff --git a/docs/en/CHANGELOG.md b/docs/en/CHANGELOG.md index 05b009d..a17c899 100644 --- a/docs/en/CHANGELOG.md +++ b/docs/en/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Logs +## 1.2.1 + +* fix: missed interface(`getAvailableStoragePoints`) for internal contract `SponsorWhitelistControl` +* RPC support: + * `storagePointProp` field for `cfx_getParamsFromVote` return value + ## 1.2.0 * bump web3.py to 6.8.0