protocol icon indicating copy to clipboard operation
protocol copied to clipboard

fix: add ethers types to contracts-node and contracts-frontend

Open mrice32 opened this issue 2 years ago • 0 comments

Motivation

Importing ethers event types from contracts-node doesn't work.

Summary

You can now import ethers event types by doing the following:

import { MyContractEthersTypes } from "@uma/contracts-node";

const myVar: MyContractEthersTypes.SomeEvent = ...

Testing

Check a box to describe how you tested these changes and list the steps for reviewers to test.

  • [x] Ran end-to-end test, running the code as in production
  • [ ] New unit tests created
  • [ ] Existing tests adequate, no new tests required
  • [ ] All existing tests pass
  • [ ] Untested

Issue(s)

N/A

mrice32 avatar Jun 09 '23 19:06 mrice32