Skip to content

v2.2.2

Latest

Choose a tag to compare

@alsekaram alsekaram released this 30 Sep 21:08
a5acc4f

Fixes

  • bytes ABI fields accept a hex string, as in Antelope JSON and on the node (e.g. nonce in m.federation::mine). Before, serialization failed with TypeError: can't concat str to bytes. bytes values still work, and an invalid hex string raises SerializationError naming the field.
  • NodeException and TransactionException have status and body (parsed JSON or text). In async code e.resp is an aiohttp response that is already closed, so its body can't be read; e.body can. e.resp is unchanged.
  • Warnings point at your code. The plain HTTP rpc_host warning and the FutureWarnings now show the line in your code, not a line inside the library.

No breaking changes. Tested on Python 3.12, 3.13 and 3.14.

Install: pip install -U "eosapi-async[fast]==2.2.2" (on Python 3.14 without [fast]).