diff options
Diffstat (limited to 'packages/contract-wrappers/test/utils')
-rw-r--r-- | packages/contract-wrappers/test/utils/migrate.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/contract-wrappers/test/utils/migrate.ts b/packages/contract-wrappers/test/utils/migrate.ts index adcc22b1a..26412d246 100644 --- a/packages/contract-wrappers/test/utils/migrate.ts +++ b/packages/contract-wrappers/test/utils/migrate.ts @@ -4,6 +4,11 @@ import { ContractAddresses } from '@0xproject/types'; import { provider } from './web3_wrapper'; +/** + * Configures and runs the migrations exactly once. Any subsequent times this is + * called, it returns the cached addresses. + * @returns The addresses of contracts that were deployed during the migrations. + */ export async function migrateOnceAsync(): Promise<ContractAddresses> { const txDefaults = { gas: devConstants.GAS_LIMIT, |