diff --git a/package.json b/package.json index 9453c92..78b6f35 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gnosis-guild/zodiac-core", - "version": "2.0.0", + "version": "2.0.1", "description": "Zodiac is a composable design philosophy and collection of standards for building DAO ecosystem tooling.", "author": "Auryn Macmillan ", "license": "LGPL-3.0+", diff --git a/src/artifact/internal/etherscan.ts b/src/artifact/internal/etherscan.ts index a341ae5..2c3a98b 100644 --- a/src/artifact/internal/etherscan.ts +++ b/src/artifact/internal/etherscan.ts @@ -76,13 +76,14 @@ export async function verifySourceCode({ }, body: parameters.toString(), }); - const { status, message } = (await response.json()) as { + const { status, message, result } = (await response.json()) as { status: number; message: string; + result: string; }; if (!isOk(status)) { - throw new Error(`Verification Error: ${status} ${message}`); + throw new Error(`Verifying SourceCode: ${message} ${result}`); } return {