- Sep 01, 2016
-
-
Bas van Kervel authored
-
- Aug 31, 2016
-
-
Felix Lange authored
Small docker run example for main README
-
Felix Lange authored
contracts/release: move package release to contracts/
-
Felix Lange authored
contracts/ens: regenerate binding with solc v0.3.6
-
- Aug 30, 2016
-
-
Felix Lange authored
contracts/chequebook: fix possible reentrancy bug in chequebook contract
-
Daniel A. Nagy authored
-
Felix Lange authored
Godeps: update golang.org/x/...
-
Felix Lange authored
-
- Aug 29, 2016
-
-
Felix Lange authored
-
Felix Lange authored
This change also deletes generator.go, moving the only interesting line in it into release.go. The binding has been regenerated with abigen from develop and solc v0.3.6.
-
Felix Lange authored
contracts/ens: Add ENS contract binding
-
Nick Johnson authored
-
Felix Lange authored
contracts/chequebook: add chequebook contract wrapper
-
Viktor Trón authored
The wrapper code is adapted from the swarm/services/chequebook package with the following mostly cosmetic changes: * The code now uses the new Go API interfaces to query balances. Some minor functional changes were required to make this work. * The package no longer depends on swarm/services/swap/swap. References to swap.Promise are replaced by interface{}, the base type of Promise. This is temporary. * The contract wrapper has been regenerated with latest abigen and solc v0.3.6. * There is a new generator that creates the 'deployed code' variable. * Documentation comments now follow the recommended godoc style. * [CHEQUEBOOK] log prefixes are gone. * LGPL license headers have been added to all files.
-
- Aug 27, 2016
-
-
gregg dourgarian authored
-
- Aug 25, 2016
-
-
Péter Szilágyi authored
Stable Go API, part 1
-
- Aug 24, 2016
-
-
Felix Lange authored
internal/ethapi: Fix bug in opCodeWrapper usage
-
Nick Johnson authored
-
Felix Lange authored
internal/ethapi: Improve tracer error reporting and serialization
-
Nick Johnson authored
-
- Aug 23, 2016
-
-
Stein Dekker authored
-
Péter Szilágyi authored
core/vm, eth: Add support for javascript trace functions
-
Nick Johnson authored
-
Hellsegga authored
-
- Aug 22, 2016
-
-
Felix Lange authored
The need for these functions comes up in code that actually deploys and uses contracts. As of this commit, they can be used with both SimulatedBackend and ethclient. SimulatedBackend gains some additional methods in the process and is now safe for concurrent use.
-
Felix Lange authored
cmd/utils: removed DAO oppose / support message
-
Felix Lange authored
In this commit, contract bindings and their backend start using the Ethereum Go API interfaces offered by ethclient. This makes ethclient a suitable replacement for the old remote backend and gets us one step closer to the final stable Go API that is planned for go-ethereum 1.5. The changes in detail: * Pending state is optional for read only contract bindings. BoundContract attempts to discover the Pending* methods via an interface assertion. There are a couple of advantages to this: ContractCaller is just two methods and can be implemented on top of pretty much anything that provides Ethereum data. Since the backend interfaces are now disjoint, ContractBackend can simply be declared as a union of the reader and writer side. * Caching of HasCode is removed. The caching could go wrong in case of chain reorganisations and removing it simplifies the code a lot. We'll figure out a performant way of providing ErrNoCode before the 1.5 release. * BoundContract now ensures that the backend receives a non-nil context with every call.
-
Péter Szilágyi authored
cmd/geth: added copyright and license information
-
Péter Szilágyi authored
core: Refactor tracing to make Tracer the main interface
-
Jeffrey Wilcke authored
As per GNU GPL requirement I've added the copyright and the license information as a subcommand as well as a copyright notice when displaying the help command.
-
Nick Johnson authored
This CL makes several refactors: - Define a Tracer interface, implementing the `CaptureState` method - Add the VM environment as the first argument of `Tracer.CaptureState` - Rename existing functionality `StructLogger` an make it an implementation of `Tracer` - Delete `StructLogCollector` and make `StructLogger` collect the logs directly - Change all callers to use the new `StructLogger` where necessary and extract logs from that. - Deletes the apparently obsolete and likely nonfunctional 'TraceCall' from the eth API. Callers that only wish accumulated logs can use the `StructLogger` implementation straightforwardly. Callers that wish to efficiently capture VM traces and operate on them without excessive copying can now implement the `Tracer` interface to receive VM state at each step and do with it as they wish. This CL also removes the accumulation of logs from the vm.Environment; this was necessary as part of the refactor, but also simplifies it by removing a responsibility that doesn't directly belong to the Environment.
-
- Aug 21, 2016
-
-
Jeffrey Wilcke authored
-
Felix Lange authored
The remote backend is superseded by ethclient. The nil backend's stated purpose was to enable testing of accounts/abi/bind. None of its methods actually worked. A much simpler way to get a crashing backend is to simply pass nil as the backend. With a one-line change to the generator (removing two explicit interface assertions), passing nil actually works. Removing these backends means that less changes are required later.
-
- Aug 19, 2016
-
-
Péter Szilágyi authored
eth/fetcher: fix a log message formatting issue
-
Péter Szilágyi authored
-
- Aug 18, 2016
-
-
Jordan Cohen authored
-
- Aug 17, 2016
-
-
Felix Lange authored
all: clean up tech debt left behind by the API split
-
Felix Lange authored
This ensures that package core doesn't depend on package accounts and resolves an age-old TODO.
-
Felix Lange authored
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
-
Felix Lange authored
-