- Feb 22, 2022
-
-
Giulio Rebuffo authored
* done * removed sleep * f * errors.Is(err, io.EOF) instead of err == io.EOF Co-authored-by:
yperbasis <andrey.ashikhmin@gmail.com>
-
- Dec 15, 2021
-
-
Frojdi Dymylja authored
* change: expose callCtx as ScopeContext * change: update tracer API * change: logger API update: jst tracer * add: port jst tracer 2 * add: port jst tracer 3 * add: access list tracer * chore: lint
-
- Oct 14, 2021
-
-
Alex Sharov authored
-
- Oct 12, 2021
-
-
Alex Sharov authored
-
- Sep 08, 2021
-
-
Giulio Rebuffo authored
-
- Jul 20, 2021
-
-
Alex Sharov authored
-
- Jul 17, 2021
-
-
Alex Sharov authored
-
- Jul 09, 2021
-
-
Alex Sharov authored
-
- Jun 26, 2021
-
-
ledgerwatch authored
Co-authored-by:
Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
-
- Jun 04, 2021
-
-
Alex Sharov authored
* eip 1559_tx_constraints * eip 1559_tx_constraints * return error on uint256 overflow * up uint256 version * merge master * fix master Co-authored-by:
ledgerwatch <akhounov@gmail.com>
-
- May 20, 2021
-
-
Alex Sharov authored
* rename * rename "make grpc" * rename "abi bindings templates" * rename "abi bindings templates"
-
- Mar 29, 2021
-
-
Artem Vorotnikov authored
-
- Mar 18, 2021
-
-
Igor Mandrigin authored
-
- Mar 17, 2021
-
-
Alexey Sharp authored
-
- Mar 14, 2021
-
-
Alexey Sharp authored
-
- Mar 09, 2021
-
-
Alex Prut authored
* remove uneeded convertion type * remove redundant type in composite literal * omit explicit type where implicit * remove unused redundant parenthesis * remove redundant import alias duktape # Conflicts: # core/state/snapshot/conversion.go # eth/tracers/tracer.go # metrics/cpu_syscall.go # trie/trie_test.go
-
Martin Holst Swende authored
Squashed from the following commits: core/state: lazily init snapshot storage map core/state: fix flawed meter on storage reads core/state: make statedb/stateobjects reuse a hasher core/blockchain, core/state: implement new trie prefetcher core: make trie prefetcher deliver tries to statedb core/state: refactor trie_prefetcher, export storage tries blockchain: re-enable the next-block-prefetcher state: remove panics in trie prefetcher core/state/trie_prefetcher: address some review concerns sq # Conflicts: # core/blockchain.go # core/state/database.go # core/state/state_object.go # core/state/statedb.go
-
Marius van der Wijden authored
* crypto/bls12381: fixed ineffectual assignment * crypto/signify: fix ineffectual assignment
-
Martin Holst Swende authored
* common,crypto: move fuzzers out of core * fuzzers: move vm fuzzer out from core * fuzzing: rework cover package logic * fuzzers: lint
-
- Mar 08, 2021
-
-
Felix Lange authored
This fixes some issues in crypto/signify and makes release signing work. The archive signing step in ci.go used getenvBase64, which decodes the key data. This is incorrect here because crypto/signify already base64-decodes the key. # Conflicts: # build/ci.go
-
Steve Ruckdashel authored
Go won't vendor C files if there are no Go files present in the directory. Workaround is to add dummy Go files. Fixes: #20232
-
Guillaume Ballet authored
* internal/build: implement signify's signing func * Add signify to the ci utility * fix output file format * Add unit test for signify * holiman's + travis' feedback * internal/build: verify signify's output * crypto: move signify to common dir * use go-minisign to verify binaries * more holiman feedback * crypto, ci: support minisign output * only accept one-line trusted comments * configurable untrusted comments * code cleanup in tests * revert to use ed25519 from the stdlib * bug: fix for empty untrusted comments * write timestamp as comment if trusted comment isn't present * rename line checker to commentHasManyLines * crypto: added signify fuzzer (#6) * crypto: added signify fuzzer * stuff * crypto: updated signify fuzzer to fuzz comments * crypto: repro signify crashes * rebased fuzzer on build-signify branch * hide fuzzer behind gofuzz build flag * extract key data inside a single function * don't treat \r as a newline * travis: fix signing command line * do not use an external binary in tests * crypto: move signify to crypto/signify * travis: fix formatting issue * ci: fix linter build after package move Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de> # Conflicts: # build/ci.go # go.mod # go.sum
-
Alex Prut authored
Changes: Simplify nested complexity If an if blocks ends with a return statement then remove the else nesting. Most of the changes has also been reported in golint https://goreportcard.com/report/github.com/ethereum/go-ethereum#golint # Conflicts: # cmd/utils/flags.go # console/bridge.go # crypto/bls12381/g2.go # les/benchmark.go # les/lespay/server/balance.go # les/lespay/server/balance_tracker.go # les/lespay/server/prioritypool.go # les/odr_requests.go # les/serverpool.go # les/serverpool_test.go # p2p/nodestate/nodestate_test.go # trie/committer.go
-
Martin Holst Swende authored
* added bls fuzzer * crypto/bls12381: revert bls-changes, fixup fuzzer tests * fuzzers: split bls fuzzing into 8 different units * fuzzers/bls: remove (now stale) corpus * crypto/bls12381: added blsfuzz corpus * fuzzers/bls12381: fix the bls corpus * fuzzers: fix oss-fuzz script * tests/fuzzers: fixups on bls corpus * test/fuzzers: remove leftover corpus Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de> # Conflicts: # crypto/bls12381/fp_test.go
-
Martin Holst Swende authored
* crypto/bn256: fix bn256Mul fuzzer to not hang on large input * Update crypto/bn256/bn256_fuzz.go Co-authored-by:
ligi <ligi@ligi.de> Co-authored-by:
ligi <ligi@ligi.de>
-
Abd ar-Rahman Hamidi authored
The z == 0 check is hit whenever we Add two points with the same x1/x2 coordinate. crypto/elliptic uses the same check in their affineFromJacobian function. This change does not affect block processing or tx signature verification in any way, because it does not use the Add or Double methods.
-
Sad Pencil authored
-
Marius van der Wijden authored
-
Martin Holst Swende authored
* crypto/cloudflare: fix nil deref in random G1/G2 reading * crypto/bn256: improve fuzzer * crypto/bn256: fix some flaws in fuzzer
-
- Mar 03, 2021
-
-
Alex Sharov authored
-
- Aug 22, 2020
-
-
Igor Mandrigin authored
* fix parallel context creation * fix a typo
-
- Aug 08, 2020
-
-
Igor Mandrigin authored
-
- Aug 07, 2020
-
-
Marius van der Wijden authored
* core, crypto: various allocation savings regarding tx handling * core: reduce allocs for gas price comparison This change reduces the allocations needed for comparing different transactions to each other. A call to `tx.GasPrice()` copies the gas price as it has to be safe against modifications and also needs to be threadsafe. For comparing and ordering different transactions we don't need these guarantees * core: added tx.GasPriceIntCmp for comparison without allocation adds a method to remove unneeded allocation in comparison to tx.gasPrice * core/types: pool legacykeccak256 objects in rlpHash rlpHash is by far the most used function in core that allocates a legacyKeccak256 object on each call. Since it is so widely used it makes sense to add pooling here so we relieve the GC. On my machine these changes result in > 100 MILLION less allocations and > 30 GB less allocated memory. * reverted some changes * reverted some changes * trie: use crypto.KeccakState instead of replicating code Co-authored-by:
Martin Holst Swende <martin@swende.se> # Conflicts: # core/tx_list.go # core/tx_pool.go # core/types/block.go # core/types/transaction.go # trie/committer.go # trie/hasher.go
-
Felix Lange authored
* crypto/secp256k1: enable use of __int128 This speeds up scalar & field calculations a lot. * crypto/secp256k1: enable endomorphism optimization
-
Yang Hau authored
speicifc -> specific assigened -> assigned frobenious -> frobenius
-
- Jun 15, 2020
-
-
Igor Mandrigin authored
-
Marius van der Wijden authored
* core/vm: crypto/bls12381: minor code comments * crypto/bls12381: fix comment
-
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> # Conflicts: # core/vm/contracts.go # core/vm/contracts_test.go # go.sum
-
- Jun 05, 2020
-
-
Evgeny Danilenko authored
* prevent slice make and copy in Pushes * do not pad if the same length * after CR * linters * linters * linters
-
- Jun 04, 2020
-
-
Andrew Ashikhmin authored
* uint256 in rlp * uint256 rather than big.Int in Transation * linters * more linters * still linters * Reduce garbage in writeUint256 * Experiment with GC in writeByteArray
-