issues
search
delvtech
/
council-kit
A monorepo of apps and packages for the Council governance protocol.
https://council.delv.tech
GNU Affero General Public License v3.0
27
stars
22
forks
source link
Refactor stubContract and add populateTransaction
#266
Closed
ryangoree
closed
1 year ago
ryangoree
commented
1 year ago
Cleaned up stubContract and ensured typescript errors out if the
stubContract
method doesn't overwrite all fields from the
StubbedContract
type.
Added stubs and test for
populateTransaction
Fix dependencies (note:
ethers v6 no longer uses method buckets
, so the peer dependency needs to require that ethers is less than v6)
Switched from vitest to jest since vitest is designed to be used within a Vite app using a
vite.config.js
.
stubContract
method doesn't overwrite all fields from theStubbedContract
type.populateTransaction
vite.config.js
.