aboutsummaryrefslogtreecommitdiffstats
path: root/common/compiler
Commit message (Collapse)AuthorAgeFilesLines
* common/compiler: fix lint issue (#19967)Felix Lange2019-08-151-2/+2
|
* common/compiler: support relative import paths (#17374)shiqinfeng12019-08-151-0/+1
|
* all: update author list and licensesPéter Szilágyi2019-07-222-2/+2
|
* cmd/abigen: refactor command line interface (#19797)gary rong2019-07-081-9/+4
| | | | | | * cmd, common: refactor abigen command line interface * cmd/abigen: address comment
* accounts/abi/bind: Accept function ptr parameter (#19755)Guillaume Ballet2019-07-022-4/+7
| | | | | | | | | | | | * accounts/abi/bind: Accept function ptr parameter They are translated as [24]byte * Add Java template version * accounts/abi/bind: fix merge issue * Fix CI
* Modified Abigen to Support Vyper (#19120)Kushagra Sharma2019-03-187-47/+290
|
* common/compiler: fixed testSource (#18978)Javier Sagredo2019-02-031-1/+2
|
* common/compiler: capture runtime code and source maps (#18020)JoranHonig2018-11-081-8/+16
|
* cmd/abigen: support for reading solc output from stdin (#16683)Antonio Salazar Cardozo2018-06-051-4/+24
| | | | | | | | | | | | | | | Allow the --abi flag to be given - to indicate that it should read the ABI information from standard input. It expects to read the solc output with the --combined-json flag providing bin, abi, userdoc, devdoc, and metadata, and works very similarly to the internal invocation of solc, except it allows external invocation of solc. This facilitates integration with more complex solc invocations, such as invocations that require path remapping or --allow-paths tweaks. Simple usage example: solc --combined-json bin,abi,userdoc,devdoc,metadata *.sol | abigen --abi -
* common/compiler: remove "--add-std" arg, deprecated in solidity 0.4.21Jeffery Robert Walsh2018-03-091-1/+0
|
* common/compiler: add metadata output for solc > 0.4.6Steve Waldman2017-03-162-76/+56
| | | | | | | Metadata is provided as JSON string, rather than as JSON object. This ensures that we can decode to a set of bytes that will be consistent with the swarm hash embedded in the code, without worrying about ambiguities of spacing, ordering, or escaping.
* cmd,eth,les,internal: remove natspec supportBas van Kervel2017-01-171-2/+2
|
* all: fix issues reported by honnef.co/go/simple/cmd/gosimpleFelix Lange2017-01-071-1/+1
|
* common/compiler: remove workaround for solc 0.3.5 stdin bug (#3522)Felix Lange2017-01-062-36/+22
| | | | | | | | | 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-172-165/+132
| | | | | | | | | | | | | 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
* common/compiler: support relative path to solcRémy Roy2016-05-251-1/+0
|
* all: fix go vet warningsFelix Lange2016-04-151-1/+1
|
* common/compiler: fix path problem with filepath.Glob on WindowsRémy Roy2016-03-081-1/+1
|
* all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()Ricardo Catalinas Jiménez2016-02-221-1/+1
| | | | As we aren't really using the standarized SHA-3
* new solc api:zelig2015-09-152-14/+14
| | | | | | * use legacy version matcher * optimise just a boolean flag * skipf for messages in tests
* Solidity Compiler - solc new APIzelig2015-09-122-23/+49
| | | | | | | | | | * 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: fix #1598, expose solidity errorsPéter Szilágyi2015-08-261-58/+46
|
* common/compiler, common/docserver, jsre: fix tests on windowsFelix Lange2015-08-061-2/+3
|
* all: fix license headers one more timeFelix Lange2015-07-242-2/+2
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-232-8/+8
| | | | | 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-072-0/+32
|
* Registrar and contractInfo handlingzelig2015-07-072-10/+6
| | | | | | | | | | | | | | | | * 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
|
* compile solidity contracts with std libraryMarek Kotewicz2015-05-251-0/+2
|
* multiple contract source for solidity compiler: returns contract array if ↵zelig2015-05-202-58/+65
| | | | multiple contracts. fixes #1023
* remove solc flairzelig2015-05-201-1/+2
|
* fix solc tests unskipzelig2015-05-202-14/+18
|
* Merge pull request #933 from bas-vk/issue928Jeffrey Wilcke2015-05-121-5/+4
|\ | | | | replaced path with platform aware filepath module
| * replaced several path.* with filepath.* which is platform independentBas van Kervel2015-05-121-5/+4
| |
* | sol: skipped source checking stepobscuren2015-05-121-3/+5
|/
* compiler, cli/js: fix solidity compiler tests failing when a different ↵zelig2015-05-122-3/+9
| | | | version of solc installed
* solidity compiler and contract metadocs integrationzelig2015-05-072-0/+276
* 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