Fix deployment and configuration tests
This commit is contained in:
parent
8465be2a03
commit
27c039d51c
@ -126,6 +126,9 @@ blockchainTests('Deployment and Configuration End to End Tests', env => {
|
|||||||
readOnlyProxy.address,
|
readOnlyProxy.address,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Authorize owner in the staking proxy.
|
||||||
|
await stakingProxy.addAuthorizedAddress.awaitTransactionSuccessAsync(owner);
|
||||||
|
|
||||||
// Deploy the asset proxy contracts.
|
// Deploy the asset proxy contracts.
|
||||||
erc20Proxy = await ERC20ProxyContract.deployFrom0xArtifactAsync(
|
erc20Proxy = await ERC20ProxyContract.deployFrom0xArtifactAsync(
|
||||||
assetProxyArtifacts.ERC20Proxy,
|
assetProxyArtifacts.ERC20Proxy,
|
||||||
@ -417,8 +420,6 @@ blockchainTests('Deployment and Configuration End to End Tests', env => {
|
|||||||
// Transfer authorization of the staking system. We intentionally neglect
|
// Transfer authorization of the staking system. We intentionally neglect
|
||||||
// to add the asset-proxy owner as an authorized address in the asset proxies
|
// to add the asset-proxy owner as an authorized address in the asset proxies
|
||||||
// as a security precaution.
|
// as a security precaution.
|
||||||
await transferAuthorizationAndAssertSuccessAsync(readOnlyProxy);
|
|
||||||
await transferAuthorizationAndAssertSuccessAsync(staking);
|
|
||||||
await transferAuthorizationAndAssertSuccessAsync(stakingProxy);
|
await transferAuthorizationAndAssertSuccessAsync(stakingProxy);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user