Explorar o código

compile solidity contracts with std library

Marek Kotewicz %!s(int64=10) %!d(string=hai) anos
pai
achega
c31f8e2bd7
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      common/compiler/solidity.go

+ 2 - 0
common/compiler/solidity.go

@@ -34,6 +34,8 @@ var (
 		"file",           //
 		"--natspec-dev",  // Request to output the contract's Natspec developer documentation.
 		"file",
+		"--add-std",
+		"1",
 	}
 )