Alex Sharp
f50f056014
Revert "Revert "Update Dockerfile""
...
This reverts commit aa8ee534ce
.
2021-12-08 23:30:46 +00:00
Alex Sharp
aa8ee534ce
Revert "Update Dockerfile"
...
This reverts commit cf9d09e22e
.
2021-12-08 23:30:11 +00:00
ledgerwatch
cf9d09e22e
Update Dockerfile
2021-12-08 23:19:06 +00:00
ledgerwatch
7f2bf4c203
Update Dockerfile
2021-12-08 23:12:55 +00:00
ledgerwatch
d16460e676
Rename maxHeight to lowestAnchorHeight for better readability ( #3105 )
...
* Rename maxHeight to lowestAnchorHeight for better readability
* Update header_algos.go
* Rename timestamp field in anchor, add comments
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-12-08 21:56:02 +00:00
Andrew Ashikhmin
d0dbf014f3
Update consensus tests to 10.2. EIP-2681 ( #3103 )
...
* ArrowGlacier fork config
* core/vm: implement EIP-2681: Limit account nonce to 2^64-1 (#23853 )
This retroactively implements requirements or EIP-2681 for the account nonce upper limit.
* Update consesus tests to 10.2
* Handle TransactionWithHighNonce64Minus1
* Check intrinsic gas in transaction tests
* Refactor overflow protection in IntrinsicGas
* Remove remnants of vm tests
* Update difficulty tests to the new format
Co-authored-by: Andrei Maiboroda <andrei@ethereum.org>
2021-12-07 18:24:59 +01:00
Enrique Jose Avila Asapche
c3ed07ca4a
Implementing basic unwind process for Proof-of-stake ( #3083 )
...
* initial commmit
* gofmt
* flipped if statement
* flipped if statement (forgot to save)
* passing unwinding to status ch
* added unwinding constant
* took out unwinding
* added statusCh
* added a return statement and a second part to the if statement
* checking for parent hash
* checking for parent hash
* changed check to check for parentHash
* staged wrong file
* changed header check to parentHash check
* channged blockhash name to a better name
* changed it to check for header.Hash()
* changed name of blocknumber to blockHash
* changed bad block to common.Hash{}
2021-12-07 17:36:12 +01:00
Alexandr Borodulin
bbb3cc978f
Starknet getcode ( #3038 )
...
* deploy_cairo_smartcontract
* deploy_cairo_smartcontract / 2
Add new transaction type for cairo and vm factory
* starknet_getcode
* deploy_cairo_smartcontract / 3
* deploy_cairo_smartcontract / 4
* deploy_cairo_smartcontract / 5
Co-authored-by: Aleksandr Borodulin <a.borodulin@axioma.lv>
2021-12-06 14:58:53 +00:00
ledgerwatch
623a576040
Take RLP fixes from erigon-lib ( #3100 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-12-06 14:34:32 +00:00
ledgerwatch
494853ae39
Update skip analysis and preverified hashes ( #3097 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-12-06 12:40:06 +00:00
ledgerwatch
65d2fbda7c
trace_ include subtraces to precompiles with value > 0 ( #3096 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-12-06 12:03:57 +00:00
primal_concrete_sledge
d89e5d2603
Issue/2710 add grpc health check ( #3091 )
...
* ISSUE-2710: Add standard grpc health check to services with grpc server
* Go import changed files
* Add flags for healthcheck
* Add grpc healthcheck option to rpcdaemon
* Remove grpc port info if grpc is not enabled
* Resolve merge issues
2021-12-06 12:03:46 +00:00
Giulio rebuffo
918c42ce20
Dropped more ETH65 Code ( #3094 )
...
* dropped more eth65 code
* dropped more eth65 code
2021-12-06 08:46:18 +00:00
Andrew Ashikhmin
759fb00593
[beta] Stricter uint256 RLP decoding. Update consensus tests to 10.1 ( #3089 )
...
* Clean up test runners. Don't run legacy tests
* Cherry pick https://github.com/ethereum/go-ethereum/pull/22927
* Tests update 10.1: Transaction Tests
* Port decodeBigInt changes to decodeUint256
* Introduce (*Stream) Uint256Bytes
* Temporarily disable stTransactionTest/HighGasPrice
* linter
* ttWrongRLP transaction tests pass now
* Fix stTransactionTest/HighGasPrice
Co-authored-by: Felix Lange <fjl@twurst.com>
2021-12-06 08:00:54 +00:00
Alex Sharov
3f34dee475
first revisit downloader service ( #3093 )
2021-12-06 10:06:37 +07:00
Alex Sharov
b7aa5be149
Remove snapshot migrator class ( #3088 )
2021-12-05 16:13:40 +07:00
Alex Sharov
178fd1931d
Genesis sync from existing snapshots ( #3087 )
2021-12-05 09:03:08 +07:00
ledgerwatch
bcc2538577
eth_getLogs to start from latest by default ( #3079 )
...
* eth_getLogs to start from latest by default
* Update eth_receipts.go
* Update eth_receipts.go
* Update eth_receipts.go
2021-12-03 12:36:52 +00:00
Dmitry Savelev
71d7b38b85
Fix NodeInfo protocols decoding ( #3081 )
2021-12-03 11:13:25 +00:00
Giulio rebuffo
3c95db0078
Fixed Proof-of-stake transition ( #3075 )
...
* added download channel to stage headers
* added direct execution
* now channel of headers rather than bodies
* simplifications
* fixed ttd headerForward
* garbage removed
* added some more stepping stones
* better transition
* covered edge case
* added names to returned values
* clean
2021-12-03 11:55:00 +01:00
ledgerwatch
b01df0f795
Bump EthBackend API to 3.0.0 in devel
branch only to make it explicitly incompatible with stable
( #3077 )
2021-12-02 13:40:48 +00:00
Alex Sharov
4062c0590b
Update README.md
2021-12-02 18:52:41 +07:00
Alex Sharov
684786fd80
Update README.md
2021-12-02 07:57:52 +07:00
Enrique Jose Avila Asapche
529d433b03
fixed SpawnStageHeader not passing the test ( #3076 )
...
* fixed SpawnStageHeader not passing the test
* gofmt
2021-12-01 23:31:04 +01:00
Andrew Ashikhmin
e258eff9c2
Update Engine API to v1.0.0-alpha.5 ( #3074 )
...
* Update Engine API to v1.0.0-alpha.5
* Remove ForkchoiceState since we're going to handle unwinds via ExecutePayload, not ForkchoiceUpdated
2021-12-01 19:15:57 +01:00
Dmitry Savelev
d1d2dd6881
Remove deduplication in NodeInfo response ( #3070 )
...
* Remove deduplication in NodeInfo response
* remove unused dependencies
2021-12-01 12:50:00 +00:00
Andrew Ashikhmin
094ab5e77d
[EIP-4399] Remove newly added Header.Random (reuse mixHash instead) ( #3069 )
...
* [EIP-4399] Remove newly added Header.Random (reuse mixHash instead)
* add a TODO
* Update mock payload hashes
2021-12-01 13:41:31 +01:00
ledgerwatch
3449eed8e0
More info about remote RPC Daemon state cache + eth_createAccessList ( #3068 )
2021-12-01 07:52:36 +00:00
ledgerwatch
7a1a2db3ce
Reverse order of arguments in eth_createAccessList ( #3066 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-12-01 07:34:58 +00:00
TBC Dev
36fabdb69c
Change eth.Peer.ID() type from string to enode.ID ( #3063 )
...
* Change eth.Peer.ID() type from string to enode.ID
* Misc enode.ID.String() usage
2021-11-30 22:55:51 +00:00
Dmitry Savelev
d4f6ceff1c
Add NodeInfo implementation ( #3046 )
...
* Add NodeInfo implementation
* replace magic value with a constant.
* update dependencies
* bump minor version
* add nodes deduplication logic.
* shuffle values in test cases a little.
2021-11-30 22:42:12 +00:00
Giulio rebuffo
d7ee2b1447
Merge pull request #2997 from ledgerwatch/enginev1
...
Added ExecutePayloadV1 to engine_ namespace [the merge]
2021-11-30 19:21:17 +01:00
Giulio Rebuffo
8ee29ee0d1
clear test
2021-11-30 18:43:46 +01:00
Giulio Rebuffo
50dbf1fc33
lint
2021-11-30 18:24:20 +01:00
Giulio Rebuffo
b9018db353
comment
2021-11-30 18:14:34 +01:00
Giulio Rebuffo
5e9bf095c8
enum
2021-11-30 18:13:34 +01:00
ledgerwatch
b1b68e05ea
Erigon2 state runner - option to compare with historical state ( #3061 )
...
* Comment out comparisons
* Introduce check option
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-11-30 16:46:43 +00:00
TBC Dev
e98f39b2c4
Fix Header.EncodingSize() to match EncodeRLP() with EIP-3675 ( #3053 )
...
* Fix Header.EncodingSize() to match EncodeRLP() with EIP-3675
* Fix error messages for Random in DecodeRLP()
2021-11-30 14:23:34 +00:00
Giulio Rebuffo
52e302b9ab
ops again
2021-11-30 14:14:04 +01:00
Giulio rebuffo
97ed051dca
Error handling
2021-11-30 13:58:00 +01:00
ledgerwatch
feebc7d3e6
save ( #3059 ) ( #3060 )
...
Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
2021-11-30 12:36:01 +00:00
Giulio rebuffo
5c417e49dd
ops
2021-11-30 11:50:34 +01:00
Alex Sharov
778ee5ba0d
save ( #3057 )
2021-11-30 07:08:07 +00:00
TBC Dev
5eca3beea9
Avoid redundant BitLen() ( #3056 )
...
* Prefer uint256.IsZero() or big.Sign() for 0-testing over BitLen()
* Avoid redundant BitLen()
2021-11-29 22:35:51 +00:00
Giulio Rebuffo
00bd53a7a4
gencodec
2021-11-29 18:30:33 +01:00
ledgerwatch
36e0dfeb00
Upgrade GitHub Actions to macOS 11 ( #3054 )
2021-11-29 15:37:52 +00:00
Giulio Rebuffo
021aa1da08
lock
2021-11-29 15:58:46 +01:00
Giulio Rebuffo
e76bc807bb
better api
2021-11-29 15:47:08 +01:00
TBC Dev
ae4819ddad
Prefer Block.NumberU64() over Block.Number.Uint64() ( #3051 )
2021-11-29 11:32:41 +00:00
ledgerwatch
0e6e47e913
Create access list ( #3048 )
...
* Create access list
* CreateAccessList compiles
* fixes
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-11-29 09:28:35 +00:00