- 01 Nov, 2021 2 commits
-
-
Marius van der Wijden authored
-
Sparty authored
Co-authored-by:
mrx <mrx@mrx.com>
-
- 21 Oct, 2021 1 commit
-
-
KibGzr authored
This fixes a panic that occurs when HeaderByNumber() returns an error.
-
- 14 Oct, 2021 1 commit
-
-
Marius van der Wijden authored
This is the initial step for support of Solidity errors in contract bindings. As of this change, errors can be decoded, but are not supported in bindings yet. Closes #23157
-
- 13 Oct, 2021 2 commits
-
-
Marius van der Wijden authored
This fixes a bug where gas-related fields of the TransactOpts passed to transaction methods would be modified, skipping gas estimation for subsequent transactions. Co-authored-by:
Yondon Fu <yondon.fu@gmail.com> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Iskander (Alex) Sharipov authored
This doesn't fix all go-critic warnings, just the most serious ones. Co-authored-by:
Felix Lange <fjl@twurst.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 28 Sep, 2021 1 commit
-
-
Yihau Chen authored
* accounts/abi/bind: check event signature before parsing * remove redundant break line
-
- 22 Sep, 2021 1 commit
-
-
gary rong authored
-
- 23 Aug, 2021 1 commit
-
-
Marius van der Wijden authored
-
- 10 Aug, 2021 1 commit
-
-
lightclient authored
internal/ethapi, accounts/abi/bind: cap highest gas limit by account balance for 1559 fee parameters (#23309) * internal/ethapi/api: cap highest gas limit by account balance for 1559 fee parameters * accounts/abi/bind: port gas limit cap for 1559 parameters to simulated backend * accounts/abi/bind: add test for 1559 gas estimates for the simulated backend * internal/ethapi/api: fix comment * accounts/abi/bind/backends, internal/ethapi: unify naming style Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
- 27 Jul, 2021 2 commits
-
-
Marius van der Wijden authored
-
Marius van der Wijden authored
-
- 29 Jun, 2021 1 commit
-
-
Pierre R authored
This fixes transaction sending in the case where an app using go-ethereum v1.10.4 is talking to a pre-EIP-1559 RPC node. In this case, the eth_maxPriorityFeePerGas endpoint is not available and we can only rely on eth_gasPrice.
-
- 22 Jun, 2021 1 commit
-
-
Guillaume Ballet authored
-
- 17 Jun, 2021 1 commit
-
-
Nicolas Feignon authored
-
- 15 Jun, 2021 1 commit
-
-
Péter Szilágyi authored
* accounts/abi/bind: fix bounded contracts and sim backend for 1559 * accounts/abi/bind, ethclient: don't rely on chain config for gas prices * all: enable London for all internal tests * les: get receipt type info in les tests * les: fix weird test Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 14 Jun, 2021 1 commit
-
-
Oliver Tale-Yazdi authored
* accounts/abi/bind/backends: add blockByHashNoLock Signed-off-by:
Oliver Tale-Yazdi <oliver@perun.network> * accounts/abi/bind/backends: add 'parent' arg to rollback Signed-off-by:
Oliver Tale-Yazdi <oliver@perun.network> * accounts/abi/bind/backends: add simulated forks Signed-off-by:
Oliver Tale-Yazdi <oliver@perun.network> * accounts/abi/bind/backends: minor nitpicks * accounts/abi/bind/backends: don't add defensive panics Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
- 08 Jun, 2021 1 commit
-
-
Péter Szilágyi authored
* all: rename internal 1559 gas fields, add support for graphql * cmd/evm/testdata, core: use public 1559 gas names on API surfaces
-
- 17 May, 2021 1 commit
-
-
Martin Holst Swende authored
This is the initial implementation of EIP-1559 in packages core/types and core. Mining, RPC, etc. will be added in subsequent commits. Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de> Co-authored-by:
lightclient@protonmail.com <lightclient@protonmail.com> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- 19 Mar, 2021 1 commit
-
-
Martin Redmond authored
This adds a new option to avoid sending the transaction which is created by calling a bound contract method.
-
- 25 Feb, 2021 1 commit
-
-
lightclient authored
This adds support for EIP-2718 typed transactions as well as EIP-2930 access list transactions (tx type 1). These EIPs are scheduled for the Berlin fork. There very few changes to existing APIs in core/types, and several new APIs to deal with access list transactions. In particular, there are two new constructor functions for transactions: types.NewTx and types.SignNewTx. Since the canonical encoding of typed transactions is not RLP-compatible, Transaction now has new methods for encoding and decoding: MarshalBinary and UnmarshalBinary. The existing EIP-155 signer does not support the new transaction types. All code dealing with transaction signatures should be updated to use the newer EIP-2930 signer. To make this easier for future updates, we have added new constructor functions for types.Signer: types.LatestSigner and types.LatestSignerForChainID. This change also adds support for the YoloV3 testnet. Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Felix Lange <fjl@twurst.com> Co-authored-by:
Ryan Schneider <ryanleeschneider@gmail.com>
-
- 23 Feb, 2021 1 commit
-
-
Péter Szilágyi authored
-
- 10 Feb, 2021 1 commit
-
-
Marius van der Wijden authored
There was a dormant error with structured inputs that failed unpacking. This commit fixes the error by switching casting to the better abi.ConvertType function. It also adds a test for calling a view function that returns a struct
-
- 20 Jan, 2021 1 commit
-
-
Péter Szilágyi authored
-
- 30 Dec, 2020 1 commit
-
-
yumiel yoomee1313 authored
closes #22049
-
- 12 Dec, 2020 1 commit
-
-
Connor Stein authored
Fixes the template used when generating code, which in some scenarios would lead to panic instead of returning an error.
-
- 08 Dec, 2020 1 commit
-
-
Marius van der Wijden authored
This commit enables users to specify which signer they want to use while creating their transactOpts. Previously all contract interactions used the homestead signer. Now a user can specify whether they want to sign with homestead or EIP155 and specify the chainID which adds another layer of security. Closes #16484
-
- 04 Dec, 2020 1 commit
-
-
Martin Holst Swende authored
A lot of times when we hit 'core' errors, example: invalid tx, the information provided is insufficient. We miss several pieces of information: what account has nonce too high, and what transaction in that block was offending? This PR adds that information, using the new type of wrapped errors. It also adds a testcase which (partly) verifies the output from the errors. The first commit changes all usage of direct equality-checks on core errors, into using errors.Is. The second commit adds contextual information. This wraps most of the core errors with more information, and also wraps it one more time in stateprocessor, to further provide tx index and tx hash, if such a tx is encoutered in a block. The third commit uses the chainmaker to try to generate chains with such errors in them, thus triggering the errors and checking that the generated string meets expectations.
-
- 25 Nov, 2020 1 commit
-
-
Alex Prut authored
-
- 13 Nov, 2020 2 commits
-
-
Nicolas Feignon authored
-
Marius van der Wijden authored
* all: core: split vm.Config into BlockConfig and TxConfig * core: core/vm: reset EVM between tx in block instead of creating new * core/vm: added docs
-
- 27 Oct, 2020 1 commit
-
-
Marius van der Wijden authored
* accounts/abi/bind: restore error functionality * Update accounts/abi/bind/base.go Co-authored-by:
Guillaume Ballet <gballet@gmail.com> Co-authored-by:
Guillaume Ballet <gballet@gmail.com>
-
- 28 Sep, 2020 1 commit
-
-
Marius van der Wijden authored
* accounts/abi: refactored abi.Unpack * accounts/abi/bind: fixed error * accounts/abi/bind: modified template * accounts/abi/bind: added ToStruct for conversion * accounts/abi: reenabled tests * accounts/abi: fixed tests * accounts/abi: fixed tests for packing/unpacking * accounts/abi: fixed tests * accounts/abi: added more logic to ToStruct * accounts/abi/bind: fixed template * accounts/abi/bind: fixed ToStruct conversion * accounts/abi/: removed unused code * accounts/abi: updated template * accounts/abi: refactored unused code * contracts/checkpointoracle: updated contracts to sol ^0.6.0 * accounts/abi: refactored reflection logic * accounts/abi: less code duplication in Unpack* * accounts/abi: fixed rebasing bug * fix a few typos in comments * rebase on master Co-authored-by:
Guillaume Ballet <gballet@gmail.com>
-
- 20 Sep, 2020 1 commit
-
-
Osoro Bironga authored
* accounts: abi/bid/backends; cleaned doc errors, camelCase refactors and anonymous variable assignments * acounts/abi/bind: doc errors, anonymous parameter assignments * accounts/abi: doc edits, camelCase refactors * accounts/abi/bind: review fix * reverted name changes * name revert Co-authored-by:
Osoro Bironga <osoro@doctaroo.com>
-
- 16 Sep, 2020 1 commit
-
-
Marius van der Wijden authored
* tests/fuzzers/abi: added abi fuzzer * accounts/abi: fixed issues found by fuzzing * tests/fuzzers/abi: update fuzzers, added repro test * tests/fuzzers/abi: renamed abi_fuzzer to abifuzzer * tests/fuzzers/abi: updated abi fuzzer * tests/fuzzers/abi: updated abi fuzzer * accounts/abi: minor style fix * go.mod: added go-fuzz dependency * tests/fuzzers/abi: updated abi fuzzer * tests/fuzzers/abi: make linter happy * tests/fuzzers/abi: make linter happy * tests/fuzzers/abi: comment out false positives
-
- 09 Sep, 2020 1 commit
-
-
Marius van der Wijden authored
-
- 07 Sep, 2020 1 commit
-
-
Osoro Bironga authored
accounts: abi/bid/backends; cleaned doc errors, camelCase refactors and anonymous variable assignments (#21514) Co-authored-by:
Osoro Bironga <osoro@doctaroo.com>
-
- 01 Sep, 2020 1 commit
-
-
Fuyang Deng authored
* accounts/abi: fix a bug in getTypeSize method e.g. for "Tuple[2]" type, the element of the array is a tuple type and the size of the tuple may not be 32. * accounts/abi: add unit test of getTypeSize method
-
- 26 Aug, 2020 1 commit
-
-
Marius van der Wijden authored
* accounts/abi/bind/backends: Disallow timeshift for non-empty blocks * accounts/abi/bind/backends: added tests for adjust time * accounts/abi/bind/simulated: added comments, fixed test for AdjustTime * accounts/abi/bind/backends: updated comment
-
- 20 Jul, 2020 1 commit
-
-
gary rong authored
* internal, accounts: fix funding check when estimate gas * accounts, internal: address comments
-