ape_accounts.TestAccount
does not support .sign_message
for eip712.EIP712Message
types
#1961
Labels
category: bug
Something isn't working
Environment information
ape
and plugin versions:ape-config.yaml
(NOTE: do not post anything private like RPC urls or secrets!):What went wrong?
When working on ApeWorX/ape-safe#41 I noticed that unlike
ape_accounts.KeyfileAccount
,ape_ledger.LedgerAccount
,ape_trezor.TrezorAccount
, orape_frame.FrameAccount
, the default built-in test accounts do not allow signingeip712.EIP712Message
struct types, for which I had to monkeypatch this behavior to maintain a consistent interface in the feature I was working on.How can it be fixed?
Add handling for
eip712.EIP712Message
signingThe text was updated successfully, but these errors were encountered: