kaiachain / kaia

GNU Lesser General Public License v3.0
5 stars 10 forks source link

api: Message signing RPCs are EIP-191 compliant #33

Closed blukat29 closed 5 days ago

blukat29 commented 5 days ago

Proposed changes

RPC Implementation Before PR After PR
personal_sign PrivateAccountAPI.Sign KIP-97 EIP-191
eth_sign EthereumAPI.Sign KIP-97 EIP-191
kaia_sign PublicTransactionPoolAPI.Sign KIP-97 EIP-191
personal_ecRecover PrivateAccountAPI.EcRecover KIP-97 EIP-191
kaia_recoverFromMessage PublicTransactionPoolAPI.RecoverFromMessage KIP-97 and EIP-191 KIP-97 and EIP-191 (unchanged)

Types of changes

Please put an x in the boxes related to your change.

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Related issues

Further comments