@0x:contracts-staking Removed storage assertions from Staking and moved them to a test contract

This commit is contained in:
Alex Towle
2019-09-24 18:12:00 -07:00
parent a6af3744e2
commit b62486923f
10 changed files with 409 additions and 356 deletions

View File

@@ -0,0 +1,14 @@
import { blockchainTests } from '@0x/contracts-test-utils';
import { artifacts, TestStorageLayoutAndConstantsContract } from '../src';
blockchainTests('Storage Layout and Deployment Constants Regression Tests', env => {
it('Should successfully deploy the staking contract after running the layout and regression test', async () => {
await TestStorageLayoutAndConstantsContract.deployFrom0xArtifactAsync(
artifacts.TestStorageLayoutAndConstants,
env.provider,
env.txDefaults,
artifacts,
);
});
});