From f966b6f4dfa4e9dc06b19acad9b60ddd00c77946 Mon Sep 17 00:00:00 2001 From: Lawrence Forman Date: Thu, 30 Jul 2020 11:30:49 -0400 Subject: [PATCH] `@0x/ethereum-types`: Make `ConstructorAbi.payable` optional. --- packages/ethereum-types/CHANGELOG.json | 9 +++++++++ packages/ethereum-types/src/index.ts | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/ethereum-types/CHANGELOG.json b/packages/ethereum-types/CHANGELOG.json index c17ca5e8c5..7262e20b92 100644 --- a/packages/ethereum-types/CHANGELOG.json +++ b/packages/ethereum-types/CHANGELOG.json @@ -1,4 +1,13 @@ [ + { + "version": "3.3.0", + "changes": [ + { + "note": "Make `payable` field in `ConstructorAbi` optional", + "pr": 2648 + } + ] + }, { "version": "3.2.0", "changes": [ diff --git a/packages/ethereum-types/src/index.ts b/packages/ethereum-types/src/index.ts index 8565ea50ec..87be4b8e66 100644 --- a/packages/ethereum-types/src/index.ts +++ b/packages/ethereum-types/src/index.ts @@ -101,7 +101,7 @@ export interface ConstructorAbi { // from JSON files, and this value has type `string` not type `'constructor'` type: string; inputs: DataItem[]; - payable: boolean; + payable?: boolean; stateMutability: ConstructorStateMutability; }