Jelajahi Sumber

compile solidity contracts with std library

Marek Kotewicz 10 tahun lalu
induk
melakukan
c31f8e2bd7
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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",
 	}
 )