xmtp / xps-gateway

XPS (XMTP Postal Service) JSON-RPC for xmtp-specific interactions with decentralized networks
https://xmtp.github.io/xps-gateway/
MIT License
2 stars 1 forks source link

Bug: use `ethers::types::Bytes` wherever we accept input to an RPC #71

Open insipx opened 8 months ago

insipx commented 8 months ago

Is your feature request related to a problem?

Bytes is a special type from ethers that handles hex strings. We should try to reach parity with ethers by using Bytes instead of Vec<u8>. This also avoids errors where we pass the bytes of a hex string, rather than the decoded bytes of a hex string

Describe the solution to the problem

No response

Describe the uses cases for the feature

No response

Additional details

No response