- Jun 08, 2020
-
-
Péter Szilágyi authored
core/state: avoid escape analysis fault when accessing cached state
-
Péter Szilágyi authored
-
Paweł Bylica authored
* core/vm: use fixed uint256 library instead of big * core/vm: remove intpools * core/vm: upgrade uint256, fixes uint256.NewFromBig * core/vm: use uint256.Int by value in Stack * core/vm: upgrade uint256 to v1.0.0 * core/vm: don't preallocate space for 1024 stack items (only 16) Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
ucwong authored
-
libby kent authored
-
Felix Lange authored
-
Felix Lange authored
-
Péter Szilágyi authored
params: update CHTs for 1.9.15 release
-
Péter Szilágyi authored
-
Marius van der Wijden authored
* internal/ethapi: return revert reason for eth_call * internal/ethapi: moved revert reason logic to doCall * accounts/abi/bind/backends: added revert reason logic to simulated backend * internal/ethapi: fixed linting error * internal/ethapi: check if require reason can be unpacked * internal/ethapi: better error logic * internal/ethapi: simplify logic * internal/ethapi: return vmError() * internal/ethapi: move handling of revert out of docall * graphql: removed revert logic until spec change * rpc: internal/ethapi: added custom error types * graphql: use returndata instead of return Return() checks if there is an error. If an error is found, we return nil. For most use cases it can be beneficial to return the output even if there was an error. This code should be changed anyway once the spec supports error reasons in graphql responses * accounts/abi/bind/backends: added tests for revert reason * internal/ethapi: add errorCode to revert error * internal/ethapi: add errorCode of 3 to revertError * internal/ethapi: unified estimateGasErrors, simplified logic * internal/ethapi: unified handling of errors in DoEstimateGas * rpc: print error data field * accounts/abi/bind/backends: unify simulatedBackend and RPC * internal/ethapi: added binary data to revertError data * internal/ethapi: refactored unpacking logic into newRevertError * accounts/abi/bind/backends: fix EstimateGas * accounts, console, internal, rpc: minor error interface cleanups * Revert "accounts, console, internal, rpc: minor error interface cleanups" This reverts commit 2d3ef53c5304e429a04983210a417c1f4e0dafb7. * re-apply the good parts of 2d3ef53c53 * rpc: add test for returning server error data from client Co-authored-by:
rjl493456442 <garyrong0905@gmail.com> Co-authored-by:
Péter Szilágyi <peterke@gmail.com> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Ev authored
-
Marius van der Wijden authored
* core/vm: crypto/bls12381: minor code comments * crypto/bls12381: fix comment
-
Mariano Cortesi authored
-
- Jun 04, 2020
-
-
ucwong authored
-
Péter Szilágyi authored
cmd/faucet: delete old keystore when importing new faucet key
-
Péter Szilágyi authored
-
Péter Szilágyi authored
acounts/keystore, cmd/faucet: fix faucet double import, fix twitter url
-
Péter Szilágyi authored
-
- Jun 03, 2020
-
-
Péter Szilágyi authored
cmd/geth: fix the fork orders for DAO tests
-
Péter Szilágyi authored
-
Martin Holst Swende authored
* core,params,puppeth: inital support for yolo-v1 testnet * cmd/geth, core: add yolov1 console flag * cmd, core, params: YoloV1 bakein fixups Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
kilic authored
* crypto: add bls12-381 elliptic curve wrapper * params: add bls12-381 precompile gas parameters * core/vm: add bls12-381 precompiles * core/vm: add bls12-381 precompile tests * go.mod, go.sum: use latest bls12381 lib * core/vm: move point encode/decode functions to base library * crypto/bls12381: introduce bls12-381 library init function * crypto/bls12381: import bls12381 elliptic curve implementation * go.mod, go.sum: remove bls12-381 library * remove unsued frobenious coeffs supress warning for inp that used in asm * add mappings tests for zero inputs fix swu g2 minus z inverse constant * crypto/bls12381: fix typo * crypto/bls12381: better comments for bls12381 constants * crypto/bls12381: swu, use single conditional for e2 * crypto/bls12381: utils, delete empty line * crypto/bls12381: utils, use FromHex for string to big * crypto/bls12381: g1, g2, strict length check for FromBytes * crypto/bls12381: field_element, comparision changes * crypto/bls12381: change swu, isogeny constants with hex values * core/vm: fix point multiplication comments * core/vm: fix multiexp gas calculation and lookup for g1 and g2 * core/vm: simpler imput length check for multiexp and pairing precompiles * core/vm: rm empty multiexp result declarations * crypto/bls12381: remove modulus type definition * crypto/bls12381: use proper init function * crypto/bls12381: get rid of new lines at fatal desciprtions * crypto/bls12-381: fix no-adx assembly multiplication * crypto/bls12-381: remove old config function * crypto/bls12381: update multiplication backend this commit changes mul backend to 6limb eip1962 backend mul assign operations are dropped * core/vm/contracts_tests: externalize test vectors for precompiles * core/vm/contracts_test: externalize failure-cases for precompiles * core/vm: linting * go.mod: tiny up sum file * core/vm: fix goimports linter issues * crypto/bls12381: build tags for plain ASM or ADX implementation Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
- Jun 02, 2020
-
-
chenglin authored
-
Guillaume Ballet authored
-
Felix Lange authored
* rpc: send websocket ping when connection is idle * rpc: use non-blocking send for websocket pingReset
-
Felix Lange authored
This moves all v4 protocol definitions to a new package, p2p/discover/v4wire. The new package will be used for low-level protocol tests.
-
Greg Colvin authored
* core/vm: implement EIP 2315, subroutines for the EVM * core/vm: eip 2315 - lintfix + check jump dest validity + check ret stack size constraints logger: markdown-friendly traces, validate jumpdest, more testcase, correct opcodes * core/vm: update subroutines acc to eip: disallow walk-into * core/vm/eips: gas cost changes for subroutines * core/vm: update opcodes for EIP-2315 * core/vm: define RETURNSUB as a 'jumping' operation + review concerns Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
rene authored
* replace gosigar with gopsutil * removed check for whether GOOS is openbsd * removed accidental import of runtime * potential fix for difference in units between gosig and gopsutil * fixed lint error * remove multiplication factor * uses cpu.ClocksPerSec as the multiplication factor * changed dependency from shirou to renaynay (#20) * updated dep * switching back from using renaynay fork to using upstream as PRs were merged on upstream * removed empty line * optimized imports * tidied go mod
-
- May 29, 2020
-
-
Martin Holst Swende authored
This PR makes use of go 1.13 error handling, wrapping errors and using errors.Is to check a wrapped root-cause. It also removes the travis builders for go 1.11 and go 1.12.
-
- May 27, 2020
-
-
Gary Rong authored
* trie: add hasRightElement indicator * trie: ensure the range is monotonic increasing * trie: address comment and fix lint * trie: address comment * trie: make linter happy Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
sixdays authored
Co-authored-by:
linjing <linjingjing@baidu.com>
-
- May 26, 2020
-
-
Felix Lange authored
This adds a new API method on core.BlockChain to allow interrupting running data inserts, and calls the method before shutting down the downloader. The BlockChain interrupt checks are now done through a method instead of inlining the atomic load everywhere. There is no loss of efficiency from this and it makes the interrupt protocol a lot clearer because the check is defined next to the method that sets the flag.
-
Felix Lange authored
* build: upgrade to golangci-lint v1.27.0 * build: raise lint timeout to 3 minutes
-
Gary Rong authored
* trie: fix for range proof * trie: fix typo
-
Hao Duan authored
* ethstats: avoid blocking chan when received invalid stats request * ethstats: minor code polishes Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
ucwong authored
-
Richard Patel authored
* metrics/prometheus: define type once for histograms * metrics/prometheus: test collector
-
- May 25, 2020
-
-
Felix Lange authored
-
meowsbits authored
-
Martin Holst Swende authored
-