Commit Graph
14103 Commits
Author SHA1 Message Date
i-norden dc970ec1ea Small fixes
replace new(trie.Trie)

reduce debug noise

patch postgres config - add driver, rename DefaultConfig => TestConfig
2023-05-16 17:28:18 +08:00
Ian Norden 24955a6e7d Merge pull request #381 from cerc-io/v1.11.5-statediff-5.0.4
update ipld-eth-db version
2023-05-15 11:25:50 -05:00
i-norden 9ba0e46e04 update ipld-eth-db version 2023-05-15 10:35:54 -05:00
i-norden fcea062745 bump meta version 2023-05-14 14:44:42 -05:00
Ian Norden 26e58caccc Merge pull request #379 from cerc-io/v1.11.5-statediff-5.0.4
construct leaf key from prefixPath+parentPath+partialPath instead of calling it.LeafKey() (to avoid panics when …
2023-05-14 14:33:06 -05:00
i-norden ab69fd0dc7 construct leafkey instead of calling it.LeafKey() (to avoid panics when we pass in a subtrie iterator at an odd position in the trie) 2023-05-14 14:10:57 -05:00
Ian Norden 8d2c7e5321 Merge pull request #378 from cerc-io/ian/v5_dev_2
Port #368 back to v1.11.5-statediff-v5
2023-05-12 10:23:34 -05:00
i-norden 3997875311 bump meta version 2023-05-12 09:50:36 -05:00
i-norden 494279f0b4 expose parent path from iterator 2023-05-12 09:49:52 -05:00
Ian Norden 1eaa707bf8 Merge pull request #370 from cerc-io/v1.11.5-statediff-5.0.2
bump statediff meta version
2023-05-01 17:26:52 -05:00
i-norden abe7feb439 bump statediff meta version 2023-05-01 16:35:45 -05:00
Ian Norden e3551263e7 Merge pull request #366 from cerc-io/ian/v5_dev
missing upsert clause for schema.TableIPLDBlock
2023-04-13 13:34:51 -05:00
i-norden d4e6eecb5d missing upsert clause for schema.TableIPLDBlock 2023-04-13 12:31:11 -05:00
Ian Norden d548aef7ad Merge pull request #365 from cerc-io/v1.11.5-statediff-5.0.1
bump statediff version
2023-04-06 14:06:41 -05:00
i-norden 55895c9deb bump statediff version 2023-04-06 14:04:33 -05:00
Ian Norden 99b29292e5 Merge pull request #364 from cerc-io/roy/v5-dev
More fixes for async statediff
2023-04-06 14:00:19 -05:00
roysc fa683bc0b6 expand test for WriteStateDiffAt 2023-04-07 02:32:18 +08:00
roysc 616c33f006 don't delete jobs map 2023-04-07 02:32:18 +08:00
Ian Norden 9ba52345df Merge pull request #361 from cerc-io/ian/v5_dev
use large balances in unit tests
2023-04-05 18:15:55 -05:00
i-norden 797a76f141 fix ambiguous import 2023-04-05 16:59:30 -05:00
i-norden 7877da095a update go mod 2023-04-05 15:56:56 -05:00
telackey a260c14954 Use supported Numeric type. 2023-04-05 15:45:42 -05:00
i-norden fbbf09a98d use large balances in unit tests 2023-04-05 13:55:46 -05:00
Ian Norden 60f1d6b4ef Merge pull request #358 from cerc-io/roy/v5-dev
Fix and test WriteStateDiffAt
2023-04-05 10:22:32 -05:00
roysc 12590d2045 lint, cleanup 2023-04-05 20:56:15 +08:00
roysc b275cef114 unit test for WriteStateDiffAt 2023-04-05 20:56:12 +08:00
roysc b51c467084 init jobs maps 2023-04-05 20:55:24 +08:00
roysc 3679a9aa17 publicize jobstatus fields 2023-04-05 20:55:24 +08:00
Ian Norden 8d1609a598 Merge pull request #352 from cerc-io/v1.11.5-statediff-5.0.0-alpha
V1.11.5 statediff 5.0.0 alpha
2023-03-30 17:37:37 -05:00
i-norden ddde04ccc3 bump workflow go version 2023-03-30 17:14:40 -05:00
i-norden 57188bef8f linting and test fixes 2023-03-30 15:32:21 -05:00
i-norden 970b7c8581 bump statediff service meta version 2023-03-30 15:03:31 -05:00
i-norden bcb4fde867 fixes after rebase 2023-03-30 15:03:12 -05:00
i-norden 3f7392d705 statediffing service squashed commit 2023-03-30 14:05:35 -05:00
Martin Holst Swende a38f410857 params: go-ethereum v1.11.5 stable 2023-03-21 09:03:04 +01:00
Marius van der Wijden e6b6a8b738 core/txpool: allow future local transactions (#26930)
Local transactions should not be subject to the "future shouldn't churn pending txs" rule
2023-03-20 09:15:18 -04:00
Marius van der Wijden 5d23d21fff params: schedule shanghai fork on mainnet (#26908)
Schedules the shanghai hardfork on timestamp 1681338455 as discussed on ACDE 157: https://github.com/ethereum/execution-specs/pull/727
2023-03-20 07:38:34 -04:00
s7v7nislands 80ff0b4e6a core/txpool: use atomic int added in go1.19 (#26913)
Makes use of atomic.Uint64 instead of atomic by pointer
2023-03-20 04:12:24 -04:00
Marius van der Wijden 81b0aa0cc7 trie: reduce unit test time (#26918) 2023-03-20 04:09:35 -04:00
Darioush JalaliandFelix Lange ee8e83fa5f eth: fix output file permissions in admin_exportChain (#26912)
* api: Use 0700 file permissions for ExportChain

* change perm to 0644

* Update api.go

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2023-03-17 20:06:06 +02:00
Martin Holst SwendeandFelix Lange 58d0f6440b rlp: support for uint256 (#26898)
This adds built-in support in package rlp for encoding, decoding and generating code dealing with uint256.Int.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2023-03-17 06:51:55 -04:00
Darioush Jalali b7bfbc1e64 trie, accounts/abi: add error-checks (#26914) 2023-03-17 06:19:51 -04:00
Darioush Jalali f733657383 internal/ethapi: avoid int overflow in GetTransactionReceipt (#26911) 2023-03-16 23:53:39 +01:00
Marius van der Wijden d8066dcde8 eth/catalyst: increase update consensus timeout (#26840)
Increases the time between consensus updates that we give the CL before we start warning the user.
2023-03-16 15:35:36 -04:00
rjl493456442 48d1bf0678 consensus: improve consensus engine definition (#26871)
Makes clear the distinction between Finalize and FinalizedAndAssemble:

- In Finalize function, a series of state operations are applied according to consensus rules. The statedb is mutated and the root hash can be checked and compared afterwards.

This function should be used in block processing(receive afrom network and apply it locally) but not block generation.

- In FinalizeAndAssemble function, after applying state mutations, the block is also to be assembled with the latest
  state root computed, updating the header. 

 This function should be used in block generation only.
2023-03-16 15:34:25 -04:00
rjl493456442 bba2a1bac5 core: show db error-info in case of mismatched hash root (#26870)
When a database failure occurs, bubble it up a into statedb, and report it in suitable places, such as during a 'bad block' report.
2023-03-16 03:12:34 -04:00
Felix Lange f86913bc3e cmd/devp2p, cmd/geth: add version in --help output (#26895)
Not sure why this was removed, it's pretty useful to see the version
also in --help.
2023-03-15 14:34:36 +01:00
Jonathan Otto 6bc68f8d94 Increase websocket frame size (from erigon rpc client) (#26883)
This increases the maximum allowed message size to 32MB.

Originally submitted at https://github.com/ledgerwatch/erigon/pull/2739

example block failure: https://etherscan.io/tx/0x1317d973a55cedf9b0f2df6ea48e8077dd176f5444a3423368a46d6e4db89982#internal
2023-03-14 18:41:28 +01:00
Stephen FlynnandStephen Flynn b5c9be3358 all: update links in documentation (#26882)
Co-authored-by: Stephen Flynn <stephen.flynn@gapac.com>
2023-03-14 10:23:49 -04:00
Martin Holst Swende eca3d39c31 p2p/discover: pass invalid discv5 packets to Unhandled channel (#26699)
This makes it possible to run another protocol alongside discv5, by reading 
unhandled packets from the channel.
2023-03-14 12:40:40 +01:00