A few issues are preventing the KMS PR to build (completely unrelated to that feature), so it probably makes sense to isolate those changes:
Min supported rust version now seems to be 1.65 now
There seems to be a clippy false negative wrt unnecessary clones (can repro locally on cargo v1.70). Fix is to ignore the warning
Ganache is violating the strict JSON RPC serialisation, mixing error and success fields in its response (and on newer versions even mingling more unknown fields)
Fix is to use foundry anvil
This requires changes in the github actions and subtle changes in the example (different chain_id, handing invalid opcode responses slightly differently)
Fixes CI
A few issues are preventing the KMS PR to build (completely unrelated to that feature), so it probably makes sense to isolate those changes:
Fix is to use foundry anvil
This requires changes in the github actions and subtle changes in the example (different chain_id, handing invalid opcode responses slightly differently)
Test Plan
CI passing 🤞