aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-11-12 18:57:54 +0800
committerFabio Berger <me@fabioberger.com>2018-11-12 18:57:54 +0800
commit6fa6579c312295974bff9f6f2f78a4443dcb145e (patch)
tree8d43540b927977dd0252b07c7427c3dfca133e18 /packages/contract-wrappers
parent8efc6c211246ec59a70d25754ccf1986944a5976 (diff)
downloaddexon-sol-tools-6fa6579c312295974bff9f6f2f78a4443dcb145e.tar
dexon-sol-tools-6fa6579c312295974bff9f6f2f78a4443dcb145e.tar.gz
dexon-sol-tools-6fa6579c312295974bff9f6f2f78a4443dcb145e.tar.bz2
dexon-sol-tools-6fa6579c312295974bff9f6f2f78a4443dcb145e.tar.lz
dexon-sol-tools-6fa6579c312295974bff9f6f2f78a4443dcb145e.tar.xz
dexon-sol-tools-6fa6579c312295974bff9f6f2f78a4443dcb145e.tar.zst
dexon-sol-tools-6fa6579c312295974bff9f6f2f78a4443dcb145e.zip
Use correctly formatted signature so that it rejects with the expected reason and not because the signature is mal-formatted
Diffstat (limited to 'packages/contract-wrappers')
-rw-r--r--packages/contract-wrappers/test/exchange_wrapper_test.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contract-wrappers/test/exchange_wrapper_test.ts b/packages/contract-wrappers/test/exchange_wrapper_test.ts
index 1bf3005cc..73ce6c743 100644
--- a/packages/contract-wrappers/test/exchange_wrapper_test.ts
+++ b/packages/contract-wrappers/test/exchange_wrapper_test.ts
@@ -286,7 +286,8 @@ describe('ExchangeWrapper', () => {
it('should throw if signature is invalid', async () => {
const signedOrderWithInvalidSignature = {
...signedOrder,
- signature: '0xdeadbeef',
+ signature:
+ '0x1b61a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b351bc3340349190569279751135161d22529dc25add4f6069af05be04cacbda2ace225403',
};
expect(