From 50d8bbcfa7ae382235ac582a94c4634cf4b7b201 Mon Sep 17 00:00:00 2001 From: ia Date: Wed, 9 May 2018 23:35:34 +0900 Subject: [PATCH] problem: solidity --add-std deprecated was removed in 0.4.21 > https://github.com/ethereum/solidity/issues/3695 > https://github.com/ethereum/go-ethereum/pull/16289/files Rel #583 solution: remove flag option --- common/compiler/solidity.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/compiler/solidity.go b/common/compiler/solidity.go index fdfc29203..f08811165 100644 --- a/common/compiler/solidity.go +++ b/common/compiler/solidity.go @@ -46,7 +46,6 @@ var ( "file", // "--natspec-dev", // Request to output the contract's Natspec developer documentation. "file", - "--add-std", "1", } paramsNew = []string{ @@ -54,7 +53,6 @@ var ( "--abi", // Request to output the contract's JSON ABI interface. "--userdoc", // Request to output the contract's Natspec user documentation. "--devdoc", // Request to output the contract's Natspec developer documentation. - "--add-std", // include standard lib contracts "--optimize", // code optimizer switched on "-o", // output directory }