Remove the timestamp from subproviders CHANGELOG.json (should be automatically added) and run 'yarn prettier' to format changes.

This commit is contained in:
Brandon Chow
2019-07-16 09:51:18 -07:00
parent 6e0f982163
commit aff8e1e025
2 changed files with 5 additions and 3 deletions

View File

@@ -6,8 +6,7 @@
"note": "Fix bug in Private Key subprovider causing checksummed tx.origin addresses to be rejected.",
"pr": 1962
}
],
"timestamp": 1563240294
]
},
{
"version": "4.1.1",

View File

@@ -34,7 +34,10 @@ describe('PrivateKeyWalletSubprovider', () => {
expect(txHex).to.be.equal(fixtureData.TX_DATA_SIGNED_RESULT);
});
it('signs a transaction where the tx.origin is checksummed.', async () => {
const TX_DATA_CHECKSUMMED_ORIGIN = { ...fixtureData.TX_DATA, from: fixtureData.TEST_RPC_ACCOUNT_0_CHECKSUMMED };
const TX_DATA_CHECKSUMMED_ORIGIN = {
...fixtureData.TX_DATA,
from: fixtureData.TEST_RPC_ACCOUNT_0_CHECKSUMMED,
};
const txHex = await subprovider.signTransactionAsync(TX_DATA_CHECKSUMMED_ORIGIN);
expect(txHex).to.be.equal(fixtureData.TX_DATA_SIGNED_RESULT);
});