Make most constants and storage vars uint256
This commit is contained in:
19
contracts/staking/test/storage_layout_test.ts
Normal file
19
contracts/staking/test/storage_layout_test.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { blockchainTests, expect } from '@0x/contracts-test-utils';
|
||||
|
||||
import { artifacts, TestStorageLayoutContract } from '../src';
|
||||
|
||||
blockchainTests.resets('Storage layout tests', env => {
|
||||
let testStorageLayoutContract: TestStorageLayoutContract;
|
||||
before(async () => {
|
||||
testStorageLayoutContract = await TestStorageLayoutContract.deployFrom0xArtifactAsync(
|
||||
artifacts.TestStorageLayout,
|
||||
env.provider,
|
||||
env.txDefaults,
|
||||
{},
|
||||
);
|
||||
});
|
||||
|
||||
it('should have the correct storage slots', async () => {
|
||||
return expect(testStorageLayoutContract.assertExpectedStorageLayout.callAsync()).to.be.fulfilled('');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user