Skip to content

Commit

Permalink
@0x/protocol-utils: Rename mtx.ts to meta_transactions.ts and m…
Browse files Browse the repository at this point in the history
…isc review feedback
  • Loading branch information
merklejerk committed Dec 16, 2020
1 parent 5d72c73 commit 4860a73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/protocol-utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const RevertError = _RevertErrors.RevertError;

export * from './eip712_utils';
export * from './orders';
export * from './mtx';
export * from './meta_transactions';
export * from './signature_utils';
export * from './transformer_utils';
export * from './constants';
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/protocol-utils/test/mtx_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { BigNumber } from '@0x/utils';
import { expect } from 'chai';
import * as ethjs from 'ethereumjs-util';

import { MetaTransaction } from '../src/mtx';
import { MetaTransaction } from '../src/meta_transactions';
import { SignatureType } from '../src/signature_utils';

chaiSetup.configure();
Expand Down Expand Up @@ -45,7 +45,7 @@ describe('mtxs', () => {
it('can get the EIP712 hash', () => {
const actual = mtx.getHash();
const expected = '0x068f2f98836e489070608461768bfd3331128787d09278d38869c2b56bfc34a4';
expect(actual).to.deep.eq(expected);
expect(actual).to.eq(expected);
});

it('can get an EthSign signature with a provider', async () => {
Expand Down

0 comments on commit 4860a73

Please sign in to comment.