aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-05-09 08:03:30 +0800
committerFabio Berger <me@fabioberger.com>2018-05-25 07:00:22 +0800
commitfcf4a958c3daa4dd7911de48001a8e235c9eb5ac (patch)
treeb3bf393a8ec49db07c37aeab162f7e4b24ecd63c /packages/contracts
parent65676c22f92996feb0e3cb98daa3d8ce7b3854e9 (diff)
downloaddexon-sol-tools-fcf4a958c3daa4dd7911de48001a8e235c9eb5ac.tar
dexon-sol-tools-fcf4a958c3daa4dd7911de48001a8e235c9eb5ac.tar.gz
dexon-sol-tools-fcf4a958c3daa4dd7911de48001a8e235c9eb5ac.tar.bz2
dexon-sol-tools-fcf4a958c3daa4dd7911de48001a8e235c9eb5ac.tar.lz
dexon-sol-tools-fcf4a958c3daa4dd7911de48001a8e235c9eb5ac.tar.xz
dexon-sol-tools-fcf4a958c3daa4dd7911de48001a8e235c9eb5ac.tar.zst
dexon-sol-tools-fcf4a958c3daa4dd7911de48001a8e235c9eb5ac.zip
publicGetOrderSchemaHash -> getOrderSchemaHash
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/src/contracts/current/test/TestLibs/TestLibs.sol2
-rw-r--r--packages/contracts/test/exchange/libs.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/src/contracts/current/test/TestLibs/TestLibs.sol b/packages/contracts/src/contracts/current/test/TestLibs/TestLibs.sol
index ed0c282af..c791fa0f9 100644
--- a/packages/contracts/src/contracts/current/test/TestLibs/TestLibs.sol
+++ b/packages/contracts/src/contracts/current/test/TestLibs/TestLibs.sol
@@ -69,7 +69,7 @@ contract TestLibs is
return orderHash;
}
- function publicGetOrderSchemaHash()
+ function getOrderSchemaHash()
public
view
returns (bytes32)
diff --git a/packages/contracts/test/exchange/libs.ts b/packages/contracts/test/exchange/libs.ts
index f4a6d04a3..e48e7cc33 100644
--- a/packages/contracts/test/exchange/libs.ts
+++ b/packages/contracts/test/exchange/libs.ts
@@ -58,7 +58,7 @@ describe('Exchange libs', () => {
describe('LibOrder', () => {
describe('getOrderSchema', () => {
it('should output the correct orderHash', async () => {
- const orderSchema = await libs.publicGetOrderSchemaHash.callAsync();
+ const orderSchema = await libs.getOrderSchemaHash.callAsync();
expect(orderUtils.getOrderSchemaHex()).to.be.equal(orderSchema);
});
});