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
Giulio Rebuffo
5f31aef79e
fixed compilation
2021-11-29 10:07:40 +01:00
Giulio rebuffo
cfed35921c
Merge branch 'devel' into enginev1
2021-11-29 09:57:56 +01:00
TBC Dev
57d641b6f9
Avoid redundant Block.Header() deep-copy ( #3050 )
...
* Add separate Block.Nonce() and Block.NonceU64()
* Add Block.Seal()
* Avoid redundant Block.Header() deep-copy
* Add warning comment for Block.Header()
2021-11-29 08:52:36 +00:00
Alex Sharov
8104a90993
Snapshot: exec and trie to support snapshot files ( #3033 )
2021-11-29 10:43:19 +07:00
Alex Sharov
233c5f1ce9
Update README.md
2021-11-28 22:52:28 +07:00
ledgerwatch
c3e361eadb
Update skip analysis and preverified ( #3045 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-11-28 12:59:11 +00:00
TBC Dev
16058267c4
Use sub-slices for ChainSegment actions ( #3043 )
...
* Extract pruneLinkQueue() out of ProcessSegment()
* Use sub-slices for segment actions
2021-11-28 08:21:06 +00:00
TBC Dev
2f0758e817
ChainSegment efficiency ( #3042 )
...
* De-dup blockHeaders66() and blockHeaders65()
* Simplify loops and EOL detection
* Add ChainSegmentHeader struct and refactor
* Add RawRlpHash() to avoid re-encode for header hash
* Avoid multiple redundant rlpHash()
* Sort headers by height,hash to make dups consecutive
* Flip condition to reduce map lookups
* Remove redundant check
* Use rlp.RawValue rather than []byte to help self-document
2021-11-27 17:28:17 +00:00
Giulio Rebuffo
0c9e5cd513
fixed unit tests
2021-11-27 16:29:46 +01:00
ledgerwatch
5a09c1c8c6
Erigon2 state runner ( #3034 )
...
* erigon 2 state experiment
* Some boilerplate
* More boilerplate
* More boilerplate
* Introduce comparison
* trace merges
* Fix
* Update erigon-lib dependency
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-11-27 09:43:25 +00:00
Giulio Rebuffo
6866eec31f
added transition checks
2021-11-26 23:03:47 +01:00
Giulio Rebuffo
af8b6da238
useless
2021-11-26 21:47:06 +01:00
Giulio Rebuffo
8e7954ee00
payload unwind placeholder
2021-11-26 21:46:43 +01:00
Giulio Rebuffo
d8e99d4c33
Merge branch 'enginev1' of https://www.github.com/ledgerwatch/erigon into enginev1
2021-11-26 19:47:53 +01:00
Giulio Rebuffo
6bffeb8f5f
better notation
2021-11-26 19:47:23 +01:00
leonardchinonso
d02903be2e
Devnet build to test eth_getBalance, eth_sendRawTransaction and txpool_content ( #3041 )
...
* completed and cleaned up dev chain build
* Last minute syntax changes
2021-11-26 16:05:16 +00:00
Giulio rebuffo
38548e28fb
Merge branch 'devel' into enginev1
2021-11-26 15:42:36 +01:00
ledgerwatch
6910e18e7f
[txpool] Introduce PriceBump, change tx replacement logic, add test ( #3039 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-11-26 14:39:26 +00:00
Giulio Rebuffo
dbfa51960c
added downloader unit tests
2021-11-26 14:51:32 +01:00
Giulio Rebuffo
7c60126347
added unit tests for simple execution
2021-11-26 11:59:05 +01:00
Giulio Rebuffo
e72d2399da
updated lib
2021-11-25 19:44:02 +01:00
ledgerwatch
14f81db038
Not try to create temporary file with enode ( #3035 )
...
* Update server.go
* Update server.go
2021-11-25 18:36:15 +00:00
Giulio Rebuffo
f1ca526e33
lint
2021-11-24 23:37:26 +01:00
Giulio Rebuffo
768617f412
added proper errors
2021-11-24 23:19:40 +01:00
Giulio Rebuffo
435d1d1519
channels implemented
2021-11-24 23:00:00 +01:00
TBC Dev
905818f4e2
Simplify SentPeers replies ( #3028 )
2021-11-24 17:17:08 +00:00
Alex Sharov
67c49cf1c3
Pool: support multi sentry ( #3030 )
...
* save
* save
* save
* save
* save
* save
* save
* save
2021-11-24 17:15:14 +00:00
Alex Sharov
9d46c80046
save ( #3031 )
2021-11-24 17:09:14 +00:00