diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-14 04:40:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 04:40:46 +0800 |
commit | 7340338626ea11bccd44eef1da277196b78a6a7d (patch) | |
tree | 1a99424e80ece948af73995378a5737c8985dd0e /packages/json-schemas | |
parent | 083319786fad31dfde16cb9e06e893bfeb23785d (diff) | |
parent | 9d3c287918389d07f884245bd1bc968955768b6f (diff) | |
download | dexon-sol-tools-7340338626ea11bccd44eef1da277196b78a6a7d.tar dexon-sol-tools-7340338626ea11bccd44eef1da277196b78a6a7d.tar.gz dexon-sol-tools-7340338626ea11bccd44eef1da277196b78a6a7d.tar.bz2 dexon-sol-tools-7340338626ea11bccd44eef1da277196b78a6a7d.tar.lz dexon-sol-tools-7340338626ea11bccd44eef1da277196b78a6a7d.tar.xz dexon-sol-tools-7340338626ea11bccd44eef1da277196b78a6a7d.tar.zst dexon-sol-tools-7340338626ea11bccd44eef1da277196b78a6a7d.zip |
Merge pull request #938 from 0xProject/sol-cov-fixes
Sol cov fixes
Diffstat (limited to 'packages/json-schemas')
-rw-r--r-- | packages/json-schemas/CHANGELOG.json | 4 | ||||
-rw-r--r-- | packages/json-schemas/schemas/tx_data_schema.ts | 1 | ||||
-rw-r--r-- | packages/json-schemas/test/schema_test.ts | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/packages/json-schemas/CHANGELOG.json b/packages/json-schemas/CHANGELOG.json index 6017b2f2b..5af23dbe9 100644 --- a/packages/json-schemas/CHANGELOG.json +++ b/packages/json-schemas/CHANGELOG.json @@ -3,6 +3,10 @@ "version": "1.0.1-rc.4", "changes": [ { + "note": "Allow for additional properties in txData schema", + "pr": 938 + }, + { "note": "Change hexSchema to match `0x`", "pr": 937 }, diff --git a/packages/json-schemas/schemas/tx_data_schema.ts b/packages/json-schemas/schemas/tx_data_schema.ts index 41a5c708a..c57e18461 100644 --- a/packages/json-schemas/schemas/tx_data_schema.ts +++ b/packages/json-schemas/schemas/tx_data_schema.ts @@ -29,5 +29,4 @@ export const txDataSchema = { }, required: ['from'], type: 'object', - additionalProperties: false, }; diff --git a/packages/json-schemas/test/schema_test.ts b/packages/json-schemas/test/schema_test.ts index 39cdec8a2..4e0f66ef5 100644 --- a/packages/json-schemas/test/schema_test.ts +++ b/packages/json-schemas/test/schema_test.ts @@ -849,10 +849,6 @@ describe('Schema', () => { { gas: new BigNumber(42), }, - { - from: NULL_ADDRESS, - unknownProp: 'here', - }, {}, [], new BigNumber(1), |