Alex Sharov
110e14e6d0
don't crush on streamable ws ( #2268 )
2021-07-02 11:11:17 +01:00
Alex Sharov
c12ef4478b
don't call http handler after ws handler ( #2267 )
2021-07-02 11:10:54 +01:00
Alex Sharov
8e00da2035
Sokol v0: preparations for contracts run, proofs support ( #2270 )
2021-07-02 15:00:41 +07:00
ledgerwatch
a05d1be531
Pull grpc bindings into erigon-lib ( #2265 )
...
* Pull grpc bindings into erigon-lib
* Remove mdbx dist
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-01 22:31:14 +01:00
Alex Sharov
ea81761991
enable private rpc by default in Erigon, better logs in the beginning ( #2262 )
2021-07-01 22:30:55 +01:00
ledgerwatch
87f0594660
Update skip_analysis.go ( #2263 )
2021-07-01 21:59:56 +07:00
Igor Mandrigin
d8f2392748
begin 2021.07.02 release cycle
2021-07-01 14:08:26 +03:00
Igor Mandrigin
3001a15705
update version to 2021.07.01
2021-07-01 11:18:38 +03:00
Zhengyan Gao
f4ef314e50
add GasPrice for the DynamicFeeTransaction. ( #2261 )
2021-07-01 11:29:32 +07:00
Mark Tyneway
17adaf5f87
config: add block downloader window flag ( #2259 )
2021-07-01 10:14:10 +07:00
Alex Sharov
bfe4d97fae
fix_receipt_status ( #2250 )
2021-06-30 12:56:00 +01:00
Alex Sharov
6df7230108
Sokol v0 - better header rlp, steps to generate blocks ( #2256 )
2021-06-30 16:30:21 +07:00
Alex Sharov
3d6d45a82f
remove subtrie loader and dcmp ( #2258 )
2021-06-30 10:31:36 +07:00
Zhengyan Gao
2fb9b2ebc8
add effectiveGasPrice field for GetTransactionReceipt, GetBlockReceipts ( #2252 )
2021-06-30 09:50:39 +07:00
Alex Sharov
8f6aa2f7ae
propagate new tx to p2p ( #2254 )
2021-06-29 17:00:22 +07:00
Alex Sharov
ed04acefca
gcc 4 compat ( #2255 )
2021-06-29 16:46:57 +07:00
Alex Sharov
a6f4b08716
Revert "Propagate new txs to P2P ( #2249 )" ( #2253 )
...
This reverts commit e9ae6d688f
.
2021-06-29 15:46:00 +07:00
Alex Sharov
e9ae6d688f
Propagate new txs to P2P ( #2249 )
2021-06-29 14:40:23 +07:00
Alex Sharov
96ecce60e4
ChainID alias for ChainId ( #2248 )
2021-06-28 18:36:07 +07:00
Andrea Lanfranchi
bc16c0127f
Update README.md
2021-06-28 12:55:14 +02:00
Alex Sharov
f30c3b8951
Rpcdaemon help add namespaces ( #2244 )
...
* add namespaces list to rpcdaemon help
* add namespaces list to rpcdaemon help
* add namespaces list to rpcdaemon help
2021-06-27 22:14:14 +01:00
Zhengyan Gao
31cd8afe98
update tx block base fee, tips,fee cap json fields. (eip1559) ( #2237 )
...
* update tx block base fee, tips,fee cap json fields. (eip1559)
* gofmt core/types/block.go
2021-06-27 22:14:01 +01:00
Alex Sharov
ef3e5d3107
add 0x prefix for RPC accountRange ( #2243 )
2021-06-27 15:19:34 +01:00
Alex Sharov
cba7861164
Send raw tx test ( #2234 )
2021-06-27 13:41:21 +07:00
Alex Sharov
6b21eab364
pull submodules on make db-tools ( #2241 )
2021-06-27 09:53:49 +07:00
ledgerwatch
7baf3ec484
Move secp256k1 into a separate go module, hook up erigon-lib ( #2239 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-26 15:03:05 +01:00
Alex Sharov
0edac73451
RPC: trace_replayTransaction and trace_replayBlockTransactions methods (stateDiff only) ( #2238 )
...
* trace_replay
* trace_replay
* trace_replay
* trace_replay
* trace_replay
2021-06-26 13:27:29 +01:00
Alex Sharov
605d7a8d59
Sokol v0 ( #2228 )
...
* handle chain flag in integration
* handle chain flag in integration
* handle chain flag in integration
* save
* save
* merge devel
* save
* noopWriter - one is enough
* chain spec parser
* chain spec parser
* embed
* embed
* embed
* embed
* embed
* embed
* embed
* clean
* clean
* correct alloc after reset state
* correct alloc after reset state
* correct alloc after reset state
* integration reset state now does re-apply genesis and chainConfig
* eips summary
* eips summary
* eips summary
2021-06-25 19:13:40 +01:00
Alex Sharov
d8608ac22e
simplify eth_callBundle ( #2233 )
...
* simplify eth_callBundle
* simplify eth_callBundle
2021-06-25 17:25:12 +01:00
Roman Koblov
18fa156d92
Make default gas for eth_call to be maximum gas capacity instead of 0 ( #2232 )
...
* Make default gas for eth_Call to be maximum gas capacity instead of 0
* Fix nil pointer dereference
2021-06-24 15:48:54 +01:00
Igor Mandrigin
a0694dd3fb
Merge pull request #2230 from ledgerwatch/AlexeyAkhunov-patch-1
...
Update skip_analysis.go
2021-06-24 13:00:27 +02:00
Igor Mandrigin
b7dea3492b
Merge pull request #2229 from ledgerwatch/add-hashes
...
Update preverified hashes for mainnet and ropsten
2021-06-24 13:00:12 +02:00
Alexey Sharp
717cb4000b
Add preverified hashes for Ropsten
2021-06-24 11:12:52 +01:00
ledgerwatch
3ea6e1779a
Update skip_analysis.go
2021-06-24 09:51:34 +01:00
Alexey Sharp
dec0ab2adf
Update preverified hashes for mainnet
2021-06-24 08:57:42 +01:00
ledgerwatch
adf4766191
Scan transaction to select test cases ( #2225 )
...
* Scan txs
* Find examples with access lists
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-23 23:34:17 +01:00
ledgerwatch
876dde506f
Fix range for eth_getLogs ( #2227 )
...
* Fix range for eth_getLogs
* Use Or and measure time
* more measurement
* more measurement
* Not compute tx hashes
* Not compute tx hashes
* Not compute tx hashes
* filter logs before derive fields
* Fix filtering by block number
* fix
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-23 23:33:45 +01:00
ledgerwatch
6292056503
Remove root from eth_getTransactionReceipt ( #2211 )
...
* Remove root from eth_getTransactionReceipt
* Simplifaction of status
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-23 15:52:31 +01:00
ledgerwatch
5ad449ef22
Migration to fix receipts (broken due to change of CBOR codec) ( #2221 )
...
* Scan receipts
* Not check tx type before Berlin
* Reverse
* scan receipt code in the migration
* Turn migration on
* Apply migration
* Fix
* Print last
* Remove last
* Not remove last
* Not updata in migration
* no cursors in migration
* Handle empty blocks
* Handle empty blocks
* Use the same code in hack
* Print
* Print
* Save
* Fix
* Fix lint
* Fix lint
* Fix for empty DB
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-23 15:05:16 +01:00
Andrea Lanfranchi
62476f0e07
Change MDBX tools build location so it does not dirty submodule ( #2223 )
...
* Change MDBX build location so it does not dirty submodule
* Update README.md
* Update README.md
2021-06-23 13:25:06 +02:00
Evgeny Danilenko
80c2fc6a0c
Remove stacked defers ( #2149 )
...
* rewrite everything
* remove stacked defers
* debug
* fix panic on nil tx
* use db.View
* panic
* block based progress
* errors
* - assume that batches are big enough to not worry about saving carefully logTime
- use only 1 digit as progress indicator
- log only if processing > 16 blocks
* - update metric when printing logs
* remove excluded
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2021-06-23 10:30:53 +03:00
Alex Sharov
24a76a002d
correct iterate over items when goroutine inside loop ( #2219 )
2021-06-22 14:33:22 +01:00
Alex Sharov
59d05dc5fe
hide file exists err ( #2218 )
2021-06-22 11:09:45 +01:00
Alex Sharov
2b59b45216
Do log tables size, db metrics - avoid concurrency, check stale readers hourly ( #2216 )
...
* add table size logs and metrics
* log stale readers
* - don't collect db metrics in background
- do check stale readers once an hour
* execution to update metrics when print logs
* hide file exists err
* hide file exists err
2021-06-22 11:08:47 +01:00
ledgerwatch
ab685e90d9
Improvement to the trimTxs ( #2215 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-22 08:35:34 +01:00
ledgerwatch
a79ed2fe0b
Utilities to fix DB corruption ( #2214 )
...
* Detect broken ancestry
* Print last canonical headers
* Add backExec
* Cleanup
* Add unwind util
* Add trimTxs utility
* Actually delete tx records
* Avoid infinite loop
* Change strategy
* Close cursor after commmit
* Fix RwBegin issue
* 10m records per transaction
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-21 21:52:51 +01:00
Alex Sharov
7d1e17712f
don't create block context twice ( #2213 )
2021-06-21 19:54:41 +01:00
Alex Sharov
99c770c51b
tx.AsMessage was called twice ( #2209 )
...
* tx.AsMessage was called twice
* noopWriter - one is enough
2021-06-21 06:56:56 +01:00
ledgerwatch
04943eaa52
Fix for state corruption without performance regression ( #2208 )
...
* extractHeaders
* Print diff
* Fix for state corruption without performance regression
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-21 06:56:45 +01:00
Artem Vorotnikov
72e9a34365
Remove unused tables, soft rename, take 3 ( #2207 )
...
* Remove unused tables, soft rename, take 3
* Bump db schema version
* nil check in migration
2021-06-20 20:46:57 +01:00