File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ const DummySTO = artifacts.require("./DummySTO.sol");
3939const MockBurnFactory = artifacts . require ( "./MockBurnFactory.sol" ) ;
4040const STRGetter = artifacts . require ( "./STRGetter.sol" ) ;
4141const MockWrongTypeFactory = artifacts . require ( "./MockWrongTypeFactory.sol" ) ;
42+ const DataStoreLogic = artifacts . require ( './DataStore.sol' ) ;
43+ const DataStoreFactory = artifacts . require ( './DataStoreFactory.sol' ) ;
4244
4345const Web3 = require ( "web3" ) ;
4446let BN = Web3 . utils . BN ;
@@ -195,7 +197,9 @@ async function deployGTM(account_polymath) {
195197}
196198
197199async function deploySTFactory ( account_polymath ) {
198- I_STFactory = await STFactory . new ( I_GeneralTransferManagerFactory . address , { from : account_polymath } ) ;
200+ let I_DataStoreLogic = await DataStoreLogic . new ( { from : account_polymath } ) ;
201+ let I_DataStoreFactory = await DataStoreFactory . new ( I_DataStoreLogic . address , { from : account_polymath } ) ;
202+ I_STFactory = await STFactory . new ( I_GeneralTransferManagerFactory . address , I_DataStoreFactory . address , { from : account_polymath } ) ;
199203
200204 assert . notEqual ( I_STFactory . address . valueOf ( ) , "0x0000000000000000000000000000000000000000" , "STFactory contract was not deployed" ) ;
201205
You can’t perform that action at this time.
0 commit comments