aboutsummaryrefslogtreecommitdiffstats
path: root/common/compiler/solidity_test.go
Commit message (Collapse)AuthorAgeFilesLines
* common/compiler: remove workaround for solc 0.3.5 stdin bug (#3522)Felix Lange2017-01-061-16/+12
| | | | | | | | | The crash when compiling stdin was fixed in solc 0.3.6 (released 2016-08-10). While here, simplify the test so it runs with any solc version. Fixes #3484. The byte code was different for each run because recent solc embeds the swarm hash of contract metadata into the code. When compiling from stdin the name in the metadata is constant.
* common/compiler: simplify solc wrapperFelix Lange2016-08-171-43/+39
| | | | | | | | | | | | | Support for legacy version 0.9.x is gone. The compiler version is no longer cached. Compilation results (and the version) are read directly from stdout using the --combined-json flag. As a workaround for ethereum/solidity#651, source code is written to a temporary file before compilation. Integration of solc in package ethapi and cmd/abigen is now much simpler because the compiler wrapper is no longer passed around as a pointer. Fixes #2806, accidentally
* all: fix go vet warningsFelix Lange2016-04-151-1/+1
|
* new solc api:zelig2015-09-151-3/+3
| | | | | | * use legacy version matcher * optimise just a boolean flag * skipf for messages in tests
* Solidity Compiler - solc new APIzelig2015-09-121-6/+6
| | | | | | | | | | * adapt to new compiler versioning * use compiler version as language version * implement new solc API for versions >= 0.1.[2-9][0-9]* fixes #1770 * add optimize=1 to options * backward compatibility (for now) for <= 0.1.1, and old versions (0.[2-9][0-9]*.[0-9]+) * introduce compilerOptions to ContractInfo * clean up flair, include full version string to version line and ContractInfo
* common/compiler, common/docserver, jsre: fix tests on windowsFelix Lange2015-08-061-2/+3
|
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: update license informationFelix Lange2015-07-071-0/+16
|
* Registrar and contractInfo handlingzelig2015-07-071-6/+2
| | | | | | | | | | | | | | | | * resolver -> common/registrar * global registrar name registry interface * add Call to resolver backend interface * the hashReg and UrlHing contracts now initialised from global registry * initialization of contracts uniform * improve errors and more econsistent method names * common/registrar/ethreg: versioned registrar * integrate new naming and registrar in natspec * js console api: setGlobalRegistrar, setHashReg, setUrlHint * js test TestContract uses mining - tests fixed all pass * eth/backend: allow PoW test mode (small ethash DAG) * console jsre refers to resolver.abi/addr, * cmd/geth/contracts.go moved to common/registrar
* skip sol on new compilerobscuren2015-06-091-2/+2
|
* multiple contract source for solidity compiler: returns contract array if ↵zelig2015-05-201-6/+10
| | | | multiple contracts. fixes #1023
* fix solc tests unskipzelig2015-05-201-13/+17
|
* sol: skipped source checking stepobscuren2015-05-121-3/+5
|
* compiler, cli/js: fix solidity compiler tests failing when a different ↵zelig2015-05-121-3/+5
| | | | version of solc installed
* solidity compiler and contract metadocs integrationzelig2015-05-071-0/+89
* common/compiler: solidity compiler + tests * rpc: eth_compilers, eth_compileSolidity + tests * fix natspec test using keystore API, notice exp dynamically changes addr, cleanup * resolver implements registrars and needs to create reg contract (temp) * xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath) * ethereumApi: implement compiler related RPC calls using XEth - json struct tests * admin: make use of XEth.SetSolc to allow runtime setting of compiler paths * cli: command line flags solc to set custom solc bin path * js admin api with new features debug and contractInfo modules * wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions