-
Notifications
You must be signed in to change notification settings - Fork 324
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
deploying libraries can take a long time. One can easily skip this stage if we make it possible to save the deployed library state and pass it to dapp test:
- Write a new little dapp helper script which is the
dapp --library-addressesabove - Make
dapp buildanddapp --make-library-stateuse this helper script instead - Allow a flag
--stateto be passed todapp test(probably along with env varDAPP_TEST_STATE), which would override the default behaviour of the library deployment that happens automatically
Now if you want to cache this annoying 45s process that happens everytime, you would put:
export DAPP_LIBRARIES=$(dapp --library-addresses)
export DAPP_TEST_STATE=$(dapp --make-library-state)
in your makefile
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers