Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marius van der Wijden
0703ef62d3
crypto/secp256k1: fix undefined behavior in BitCurve.Add ( #22621 )
...
This commit changes the behavior of BitCurve.Add to be more inline
with btcd. It fixes two different bugs:
1) When adding a point at infinity to another point, the other point
should be returned. While this is undefined behavior, it is better
to be more inline with the go standard library.
Thus (0,0) + (a, b) = (a,b)
2) Adding the same point to itself produced the point at infinity.
This is incorrect, now doubleJacobian is used to correctly calculate it.
Thus (a,b) + (a,b) == 2* (a,b) and not (0,0) anymore.
The change also adds a differential fuzzer for Add, testing it against btcd.
Co-authored-by: Felix Lange <fjl@twurst.com>
4 years ago
..
fuzzers
crypto/secp256k1: fix undefined behavior in BitCurve.Add ( #22621 )
4 years ago
solidity
tests/solidity: add contract to test every opcode ( #19283 )
5 years ago
testdata @ c600d7795a
tests: update reference tests with 2315 removed from Berlin
4 years ago
block_test.go
tests: get test name from testing.T ( #22941 )
4 years ago
block_test_util.go
all: bloom-filter based pruning mechanism ( #21724 )
4 years ago
difficulty_test.go
tests: get test name from testing.T ( #22941 )
4 years ago
difficulty_test_util.go
all: simplify timestamps to uint64 ( #19372 )
6 years ago
gen_btheader.go
all: simplify timestamps to uint64 ( #19372 )
6 years ago
gen_difficultytest.go
all: simplify timestamps to uint64 ( #19372 )
6 years ago
gen_stenv.go
tests: update to latest tests ( #22290 )
4 years ago
gen_sttransaction.go
tests: update to latest tests ( #22290 )
4 years ago
gen_vmexec.go
tests: update to latest tests ( #22290 )
4 years ago
init.go
all: implement EIP-1559 ( #22837 )
4 years ago
init_test.go
tests: get test name from testing.T ( #22941 )
4 years ago
rlp_test.go
tests: get test name from testing.T ( #22941 )
4 years ago
rlp_test_util.go
core, cmd/puppeth: implement constantinople fix, disable EIP-1283 ( #18486 )
6 years ago
state_test.go
tests: get test name from testing.T ( #22941 )
4 years ago
state_test_util.go
all: implement EIP-1559 ( #22837 )
4 years ago
transaction_test.go
tests: get test name from testing.T ( #22941 )
4 years ago
transaction_test_util.go
all: add support for EIP-2718, EIP-2930 transactions ( #21502 )
4 years ago
vm_test.go
tests: get test name from testing.T ( #22941 )
4 years ago
vm_test_util.go
core, all: split vm.Context into BlockContext and TxContext ( #21672 )
4 years ago