fuel-block-committer
fuel-block-committer copied to clipboard
feat: use keys on AWS's KMS to sign eth txs
closes: #91
Used localstack to host a (AWS compliant) KMS service locally in the e2e tests.
Since you cannot get the private keys out of the KMS, in the e2e tests, now we have to:
- create the key on aws
- fund it
- get foundry to output raw transactions
- sign them with the newly created key
- deploy the contract (+proxy)
Unfortunately the ethers
Signer
implementation for aws kms (AwsSigner
) uses rusoto_kms
which seemed to be no longer maintained. Fortunately aloy uses the new rust sdk maintained by amazon so this should be solved once we move to aloy.