diff --git a/contracts/exchange/test/end-to-end/deployment.ts b/contracts/exchange/test/end-to-end/deployment.ts index e557adae3f..a2ca5d856c 100644 --- a/contracts/exchange/test/end-to-end/deployment.ts +++ b/contracts/exchange/test/end-to-end/deployment.ts @@ -126,6 +126,9 @@ blockchainTests('Deployment and Configuration End to End Tests', env => { readOnlyProxy.address, ); + // Authorize owner in the staking proxy. + await stakingProxy.addAuthorizedAddress.awaitTransactionSuccessAsync(owner); + // Deploy the asset proxy contracts. erc20Proxy = await ERC20ProxyContract.deployFrom0xArtifactAsync( assetProxyArtifacts.ERC20Proxy, @@ -417,8 +420,6 @@ blockchainTests('Deployment and Configuration End to End Tests', env => { // Transfer authorization of the staking system. We intentionally neglect // to add the asset-proxy owner as an authorized address in the asset proxies // as a security precaution. - await transferAuthorizationAndAssertSuccessAsync(readOnlyProxy); - await transferAuthorizationAndAssertSuccessAsync(staking); await transferAuthorizationAndAssertSuccessAsync(stakingProxy); });