-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged ledgerwatch/erigon v2.48.1 #51
base: firehose-v2
Are you sure you want to change the base?
Commits on May 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3216613 - Browse repository at this point
Copy the full SHA 3216613View commit details
Commits on May 12, 2023
-
params: new sepolia bootnodes (erigontech#7502)
New sepolia bootnodes managed by EF devops. Cherry pick ethereum/go-ethereum#27099 Co-authored-by: Parithosh Jayanthi <parithosh@indenwolken.xyz>
Configuration menu - View commit details
-
Copy full SHA for 9e2bf15 - Browse repository at this point
Copy the full SHA 9e2bf15View commit details
Commits on May 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 233a06a - Browse repository at this point
Copy the full SHA 233a06aView commit details -
[Caplin] Block transition (erigontech#7485)
Added process of blob kzg commits for block transition following: https://github.com/ethereum/consensus-specs/blob/dev/specs/deneb/beacon-chain.md#beacon-chain-state-transition-function erigontech#7389
Configuration menu - View commit details
-
Copy full SHA for 9cf2b42 - Browse repository at this point
Copy the full SHA 9cf2b42View commit details -
Allow ephemeral ports for p2p (erigontech#7503)
Currently, the p2p ports require an explicit enumeration of ports to pick. Sometimes, for instance when writing integration tests utilizing an Erigon binary the particular p2p port does not matter and trying to pick non-allocated port ranges is fragile. This small PR simply checks to see if the enumerated port is '0', in which case it disables the probing check which would otherwise cause Erigon not to try binding to an ephemeral port. Co-authored-by: Jason Yellick <jason@enya.ai>
Configuration menu - View commit details
-
Copy full SHA for a709279 - Browse repository at this point
Copy the full SHA a709279View commit details -
[devnet tool] Side-quest: logging step 7 (erigontech#7506)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for bc16917 - Browse repository at this point
Copy the full SHA bc16917View commit details -
[caplin] pkg refactor (erigontech#7507)
Co-authored-by: Giulio <giulio.rebuffo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for cda1444 - Browse repository at this point
Copy the full SHA cda1444View commit details
Commits on May 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6002436 - Browse repository at this point
Copy the full SHA 6002436View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfadf49 - Browse repository at this point
Copy the full SHA dfadf49View commit details
Commits on May 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7a4114d - Browse repository at this point
Copy the full SHA 7a4114dView commit details -
e2: self-heal after accidental blocks delete (download blocks eventua…
…lly, then work as usual) (erigontech#7516)
Configuration menu - View commit details
-
Copy full SHA for 9ab48c0 - Browse repository at this point
Copy the full SHA 9ab48c0View commit details -
e2: ReadAhead of blocks, senders accounts, code (erigontech#7501)
It improves performance of initial sync (stage exec) by 5-20% when blocks snapshots are mounted to high-latency drive and when chaindata is on high-latency drive. And improving cold-start performance. Current implementation using 2 goroutines for ReadAhead. It also producing more garbage, can improve it later (here are dashboard with impact). ``` mainnet2-1: with ReadAhead mainnet2-3: no ReadAhead ``` <img width="949" alt="Screenshot 2023-05-12 at 09 24 31" src="https://github.com/ledgerwatch/erigon/assets/46885206/b90b1fa8-9099-48ff-95b3-86e864a36d46"> <img width="845" alt="Screenshot 2023-05-12 at 09 24 13" src="https://github.com/ledgerwatch/erigon/assets/46885206/39d90c0c-a9d5-4735-8c03-da1455b147aa">
Configuration menu - View commit details
-
Copy full SHA for b3aca15 - Browse repository at this point
Copy the full SHA b3aca15View commit details -
[devnet tool] separate logging (erigontech#7510)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local> Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Configuration menu - View commit details
-
Copy full SHA for 5d6b0ea - Browse repository at this point
Copy the full SHA 5d6b0eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cbbe65 - Browse repository at this point
Copy the full SHA 4cbbe65View commit details -
[devnet tool] fixing port conflicts (erigontech#7520)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Configuration menu - View commit details
-
Copy full SHA for 90cb6be - Browse repository at this point
Copy the full SHA 90cb6beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f758fd - Browse repository at this point
Copy the full SHA 6f758fdView commit details
Commits on May 16, 2023
-
[devnet tool] separate logging (erigontech#7525)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for 3f9ae3e - Browse repository at this point
Copy the full SHA 3f9ae3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53b116c - Browse repository at this point
Copy the full SHA 53b116cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea9712f - Browse repository at this point
Copy the full SHA ea9712fView commit details
Commits on May 17, 2023
-
downloader: speedup "--downloader.verify" mode (erigontech#7529)
deduplicate logic create more producer goroutines (torrent lib does limiting internally amount of consumers/disk-readers/hashers by 2, and it's enough because we can verify multiple files in parallel) move flag from "downloader torrent_hashes --verify" to "downloader --verify"
Configuration menu - View commit details
-
Copy full SHA for a2ad68d - Browse repository at this point
Copy the full SHA a2ad68dView commit details -
[devnet tool] separate logging (erigontech#7526)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for e75ea78 - Browse repository at this point
Copy the full SHA e75ea78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02f2329 - Browse repository at this point
Copy the full SHA 02f2329View commit details -
StageLoopStep: if node synced - then run initialCycle in 1 tx also (f…
…or data consistency) (erigontech#7532)
Configuration menu - View commit details
-
Copy full SHA for c0096ee - Browse repository at this point
Copy the full SHA c0096eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10848ad - Browse repository at this point
Copy the full SHA 10848adView commit details -
[devnet tool] separare logging (erigontech#7531)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for 05597cb - Browse repository at this point
Copy the full SHA 05597cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 761524a - Browse repository at this point
Copy the full SHA 761524aView commit details
Commits on May 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2f362f3 - Browse repository at this point
Copy the full SHA 2f362f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8d65f5 - Browse repository at this point
Copy the full SHA b8d65f5View commit details -
Fix trace_filter regression due to gasBailout argument (erigontech#7539…
…) (erigontech#7540) Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for 685dee8 - Browse repository at this point
Copy the full SHA 685dee8View commit details -
Introduce logger into etl (erigontech#7537)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for b382f96 - Browse repository at this point
Copy the full SHA b382f96View commit details
Commits on May 19, 2023
-
[devnet] separate logging - p2p (erigontech#7547)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for b0117a7 - Browse repository at this point
Copy the full SHA b0117a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65efc92 - Browse repository at this point
Copy the full SHA 65efc92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7272c00 - Browse repository at this point
Copy the full SHA 7272c00View commit details -
[devnet] separate logging p2p (erigontech#7549)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for c919283 - Browse repository at this point
Copy the full SHA c919283View commit details
Commits on May 20, 2023
-
[devnet] separare logging - headers download (erigontech#7551)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for 2a872b4 - Browse repository at this point
Copy the full SHA 2a872b4View commit details -
[devnet tool] Separate logging (erigontech#7553)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for 067f695 - Browse repository at this point
Copy the full SHA 067f695View commit details -
Args usage msg bug fix (erigontech#7554)
## What's this PR is about? Minor fix in args usage message of support flag. The current message says that the flag should be 'metrics.url' but it reality it should be 'metrics.urls'
Configuration menu - View commit details
-
Copy full SHA for 2c194e1 - Browse repository at this point
Copy the full SHA 2c194e1View commit details -
[devnet] separate logging (erigontech#7556)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for c408281 - Browse repository at this point
Copy the full SHA c408281View commit details
Commits on May 21, 2023
-
[devnet] log devnet tool output into a file (erigontech#7557)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for cb04c20 - Browse repository at this point
Copy the full SHA cb04c20View commit details
Commits on May 22, 2023
-
move e2 snapshots management closer to e3: step 1 (erigontech#7543)
- always RLock all snapshots - to guarantee consistency - introduce class View (analog of RoTx and MakeContext) - move read methods to View object - View object will be managed by temporal_tx --------- Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for 2865b85 - Browse repository at this point
Copy the full SHA 2865b85View commit details -
[devnet tool] Use logging instead of fmt.Printf (erigontech#7560)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for a8ec9eb - Browse repository at this point
Copy the full SHA a8ec9ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d0dee6 - Browse repository at this point
Copy the full SHA 4d0dee6View commit details
Commits on May 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 18990ff - Browse repository at this point
Copy the full SHA 18990ffView commit details -
eth/backend, cmd/erigon-el/backend: start mining immediately (erigont…
…ech#7424) When mining is enabled, it waits for either a new block event, or a tx notif or recommit interval before it starts mining the first block. This PR achieves the following things: - Start mining immediately (subsequent blocks will be mined via the new head channel or miner.recommit timer). - Modifies the conditions when it needs to look for new mining work - Don't start mining on arrival of new transactions as it can be too frequent (only for bor consensus as of now). - Reset timer only if some work was done previously
Configuration menu - View commit details
-
Copy full SHA for d279c43 - Browse repository at this point
Copy the full SHA d279c43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63afe65 - Browse repository at this point
Copy the full SHA 63afe65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 696ccb6 - Browse repository at this point
Copy the full SHA 696ccb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23bd147 - Browse repository at this point
Copy the full SHA 23bd147View commit details -
Caplin: Adding SSZ generics (erigontech#7542)
This PR makes the SSZ encodings less demented and more compact/flexible overall
Configuration menu - View commit details
-
Copy full SHA for faf62a0 - Browse repository at this point
Copy the full SHA faf62a0View commit details -
Skip gas limit checks for chains with gas limit contract (erigontech#…
…7567) Dirty hack to fix Chiado until erigontech#7151 is properly implemented. Should fix the following error: ``` [WARN] [05-23|17:07:39.303] Verification failed for header hash=0x4eee718e5958a862746ea9a9531a16e6a404698d3a0e8120e8aff743b9f1e0a2 height=1 err="invalid gas limit: have 12500000, want 10000000 +-= 9764" ```
Configuration menu - View commit details
-
Copy full SHA for 319e99e - Browse repository at this point
Copy the full SHA 319e99eView commit details
Commits on May 24, 2023
-
consensus/bor: use current producers for extra data validation (erigo…
…ntech#7564) Fixes issues with consensus validation. Compare against current producer set instead of whole validator set.
Configuration menu - View commit details
-
Copy full SHA for ad5974d - Browse repository at this point
Copy the full SHA ad5974dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 179b138 - Browse repository at this point
Copy the full SHA 179b138View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb0434b - Browse repository at this point
Copy the full SHA cb0434bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2181b6a - Browse repository at this point
Copy the full SHA 2181b6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31687be - Browse repository at this point
Copy the full SHA 31687beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c399e5 - Browse repository at this point
Copy the full SHA 0c399e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a79033c - Browse repository at this point
Copy the full SHA a79033cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 946b0e8 - Browse repository at this point
Copy the full SHA 946b0e8View commit details
Commits on May 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 000dda6 - Browse repository at this point
Copy the full SHA 000dda6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 111db5f - Browse repository at this point
Copy the full SHA 111db5fView commit details -
Fix fork ID test for Chiado (erigontech#7576)
Fix a test after PR erigontech#7575
Configuration menu - View commit details
-
Copy full SHA for a47e49c - Browse repository at this point
Copy the full SHA a47e49cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfafa24 - Browse repository at this point
Copy the full SHA cfafa24View commit details
Commits on May 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for eafb120 - Browse repository at this point
Copy the full SHA eafb120View commit details -
Configuration menu - View commit details
-
Copy full SHA for 279e1be - Browse repository at this point
Copy the full SHA 279e1beView commit details -
torrent-related goroutine leack (erigontech#7545)
can't merge - because `torrent` lib dropped go1.19 support
Configuration menu - View commit details
-
Copy full SHA for ead4569 - Browse repository at this point
Copy the full SHA ead4569View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94ceb6f - Browse repository at this point
Copy the full SHA 94ceb6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b7c603 - Browse repository at this point
Copy the full SHA 3b7c603View commit details -
Fix Gnosis rewards in trace_block and trace_filter (erigontech#7580)
Follow-up to PR erigontech#7473
Configuration menu - View commit details
-
Copy full SHA for 14653bb - Browse repository at this point
Copy the full SHA 14653bbView commit details
Commits on May 27, 2023
-
receipts: less allocs in DeriveFields, use blockReader, remove ReadRe…
…ceiptsByHash, gasPriceOracle don't read block twice and use blockLru (erigontech#7592) preparation for adding BlockID
Configuration menu - View commit details
-
Copy full SHA for 3ec7d9b - Browse repository at this point
Copy the full SHA 3ec7d9bView commit details
Commits on May 28, 2023
-
[caplin] incremental improvements to p2p layer (erigontech#7582)
we update observability in the p2p layer for handlers, and also properly encode error codes, close streams. --------- Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com> Co-authored-by: Giulio <giulio.rebuffo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3c2b99e - Browse repository at this point
Copy the full SHA 3c2b99eView commit details -
feature: support generate parse transaction input bytes codes in `abi…
…gen` (erigontech#7593) feature: support generate parse transaction input bytes codes in `abigen`. It's easy to use abigen to generate code that help you parse the event log and call the payable method with the transactor. But parsing the transaction call data is missing. You can only send a transaction with a transactor. This PR aims to generate codes that help developer parse transaction calldata. abigen can generate code to parse the transaction call data. With this PR, transaction parse codes are generated like this: ```go // CollectParams is an auto generated read-only Go binding of transcaction calldata params type CollectParams struct { Param_params INonfungiblePositionManagerCollectParams } // Parse Collect method from calldata of a transaction // // Solidity: function collect((uint256,address,uint128,uint128) params) payable returns(uint256 amount0, uint256 amount1) func ParseCollect(calldata []byte) (*CollectParams, error) { if len(calldata) <= 4 { return nil, fmt.Errorf("invalid calldata input") } _abi, err := abi.JSON(strings.NewReader(UniswapABI)) if err != nil { return nil, fmt.Errorf("failed to get abi of registry metadata: %w", err) } out, err := _abi.Methods["collect"].Inputs.Unpack(calldata[4:]) if err != nil { return nil, fmt.Errorf("failed to unpack collect params data: %w", err) } var paramsResult = new(CollectParams) value := reflect.ValueOf(paramsResult).Elem() if value.NumField() != len(out) { return nil, fmt.Errorf("failed to match calldata with param field number") } out0 := *abi.ConvertType(out[0], new(INonfungiblePositionManagerCollectParams)).(*INonfungiblePositionManagerCollectParams) return &CollectParams{ Param_params: out0, }, nil } ``` Example of using `Parse` Function above: ```go package bin import ( "context" "fmt" "testing" "github.com/ledgerwatch/erigon/common/hexutil" "github.com/ledgerwatch/erigon/rpc" "github.com/ledgerwatch/log/v3" ) func TestOnParse(t *testing.T) { cli, err := rpc.Dial("https://rpc.ankr.com/polygon", log.New(context.Background())) if err != nil { t.Fatal(err) } var collectTx struct { Input string `json:"input"` } err = cli.CallContext(context.Background(), &collectTx, "eth_getTransactionByHash", "0x741146cce64d873cfe82ade413651de355a6db92f992e5bfc4e1c58d92f5dd5b") if err != nil { t.Fatal(err) } var increaseLiquidityTx struct { Input string `json:"input"` } err = cli.CallContext(context.Background(), &increaseLiquidityTx, "eth_getTransactionByHash", "0x645ff650d7bfb9a74f573af474b9ebee48c3fadc7dac67257a8da6b55c71f338") if err != nil { t.Fatal(err) } fmt.Println(collectTx.Input) fmt.Println(increaseLiquidityTx.Input) collectBytes, _ := hexutil.Decode(collectTx.Input) increaseLiquidityBytes, _ := hexutil.Decode(increaseLiquidityTx.Input) collectInfo, err := ParseCollect(collectBytes) if err != nil { t.Fatal(err) } increaseLiquidityInfo, err := ParseIncreaseLiquidity(increaseLiquidityBytes) if err != nil { t.Fatal(err) } fmt.Printf("%+v\n", collectInfo) fmt.Printf("%+v\n", increaseLiquidityInfo) } ``` Output of code above: &{Param_params:{TokenId:+894123 Recipient:0x48B8e4ed457da9B64c33Ee50Fd5490614833A37D Amount0Max:+340282366920938463463374607431768211455 Amount1Max:+340282366920938463463374607431768211455}} &{Param_params:{TokenId:+891904 Amount0Desired:+331092 Amount1Desired:+0 Amount0Min:+331092 Amount1Min:+0 Deadline:+1685112789}}
Configuration menu - View commit details
-
Copy full SHA for 5554ff3 - Browse repository at this point
Copy the full SHA 5554ff3View commit details -
Caplin: Proper validator set (erigontech#7591)
Adding proper flat buffer to Caplin
Configuration menu - View commit details
-
Copy full SHA for 2d3b3c3 - Browse repository at this point
Copy the full SHA 2d3b3c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 027d83b - Browse repository at this point
Copy the full SHA 027d83bView commit details
Commits on May 29, 2023
-
Header downloader monitor for diagnostics system (erigontech#7590)
## What's this PR about? - Added states to be sent to diagnostics system for header downloader monitor - Added the code for sending the states through the tunnel - Code added for updating the states in the header_algos.go file --------- Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1fb053f - Browse repository at this point
Copy the full SHA 1fb053fView commit details -
cmd/evm: support batched statetest-mode (erigontech#7598)
This implements batched state-test exectution, similar to ethereum/go-ethereum#27318 . Some speedtests, executing a state-test twice on current master takes ~4-5 seconds, and scales linerarly. ``` Doing 2 execs old style real 0m8.185s user 0m8.081s sys 0m0.110s ``` Doing `100` executions on this PR -- a few seconds of ramp-up time, but very quick execution after that : ``` Doing 100 execs v2 real 0m5.009s user 0m4.560s sys 0m0.508s ``` I also tested a version where I moved the db instantiation into the top callsite, with the `MustOpen` and `.Close` only performed once, instead of `100` times -- however, I noticed no additional speed gains from doing so (my branch `batched_evm_v2`). Therefore, I suspect that the slowdowns comes not from the db, but the kzg library initialization.
Configuration menu - View commit details
-
Copy full SHA for c042afb - Browse repository at this point
Copy the full SHA c042afbView commit details -
PIP12: Implement time based StateSync confirmation delay (erigontech#…
…7587) This PR implements [PIP 12](https://github.com/maticnetwork/Polygon-Improvement-Proposals/blob/main/PIPs/PIP-12.md). It introduces time based state sync confirmation delay and adds Indore hard fork on polygon chains. The corresponding PR on erigon-lib can be found here: ledgerwatch/erigon-lib#1002.
Configuration menu - View commit details
-
Copy full SHA for eb98a0a - Browse repository at this point
Copy the full SHA eb98a0aView commit details -
[devnet tool] single request generator (erigontech#7600)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for 708ea92 - Browse repository at this point
Copy the full SHA 708ea92View commit details
Commits on May 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for af83845 - Browse repository at this point
Copy the full SHA af83845View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cba390 - Browse repository at this point
Copy the full SHA 3cba390View commit details -
Configuration menu - View commit details
-
Copy full SHA for 299c81e - Browse repository at this point
Copy the full SHA 299c81eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dc8e27 - Browse repository at this point
Copy the full SHA 0dc8e27View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0042d5 - Browse repository at this point
Copy the full SHA c0042d5View commit details -
[devnet] Remove dependency on rpctest (erigontech#7608)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for f5bd806 - Browse repository at this point
Copy the full SHA f5bd806View commit details -
[devnet] fix logging (erigontech#7611)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for d66f9ce - Browse repository at this point
Copy the full SHA d66f9ceView commit details -
[sentry] initiate eth66 protocol under eth67 (erigontech#7612)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for b359504 - Browse repository at this point
Copy the full SHA b359504View commit details
Commits on Jun 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5a60ebe - Browse repository at this point
Copy the full SHA 5a60ebeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c7da48 - Browse repository at this point
Copy the full SHA 5c7da48View commit details -
Downloader fix no race between .Download() and .Stats() (erigontech#7617
Configuration menu - View commit details
-
Copy full SHA for 4ddd2c3 - Browse repository at this point
Copy the full SHA 4ddd2c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d54f604 - Browse repository at this point
Copy the full SHA d54f604View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c0b531 - Browse repository at this point
Copy the full SHA 6c0b531View commit details -
stageLoop: unbound canRunCycleInOneTransaction logic from initialCycl…
…e variable (erigontech#7616)
Configuration menu - View commit details
-
Copy full SHA for c6b12ed - Browse repository at this point
Copy the full SHA c6b12edView commit details -
Configuration menu - View commit details
-
Copy full SHA for d77f057 - Browse repository at this point
Copy the full SHA d77f057View commit details -
Caplin: added tests (erigontech#7623)
Added CL tests to have test coverage over 60% in all files covered by running ssh ./cl/coverage
Configuration menu - View commit details
-
Copy full SHA for 94276de - Browse repository at this point
Copy the full SHA 94276deView commit details -
Caplin: mutable public key for validator for 0 copy (erigontech#7622)
Co-authored-by: a <a@tuxpa.in>
Configuration menu - View commit details
-
Copy full SHA for 8bc1fda - Browse repository at this point
Copy the full SHA 8bc1fdaView commit details
Commits on Jun 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7c89afc - Browse repository at this point
Copy the full SHA 7c89afcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2278bf5 - Browse repository at this point
Copy the full SHA 2278bf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ccc7da - Browse repository at this point
Copy the full SHA 3ccc7daView commit details -
Configuration menu - View commit details
-
Copy full SHA for d56d867 - Browse repository at this point
Copy the full SHA d56d867View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fb31ae - Browse repository at this point
Copy the full SHA 5fb31aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b163d3a - Browse repository at this point
Copy the full SHA b163d3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 695b8e5 - Browse repository at this point
Copy the full SHA 695b8e5View commit details -
snapshots: DumpBodies - break dependency on body.BaseTxNum value in …
…db (erigontech#7607) it's step towards saving canonical and non-canonical bodies in same table (and txs also in same own table). to reduce write amplification (cheaper re-orgs) PR change: reading BaseTxNum from existing snapshots instead of DB DB will store in field body.BaseTxNum - non-canonical TxnID Snapshots will store only canonical TxNum in field body.BaseTxNum
Configuration menu - View commit details
-
Copy full SHA for 436656a - Browse repository at this point
Copy the full SHA 436656aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c4f4d8 - Browse repository at this point
Copy the full SHA 2c4f4d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6439bdd - Browse repository at this point
Copy the full SHA 6439bddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3750ee6 - Browse repository at this point
Copy the full SHA 3750ee6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2a90e0 - Browse repository at this point
Copy the full SHA b2a90e0View commit details -
Up version of diagnostics protocol (erigontech#7638)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for 5c1117d - Browse repository at this point
Copy the full SHA 5c1117dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6602c89 - Browse repository at this point
Copy the full SHA 6602c89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91dd39a - Browse repository at this point
Copy the full SHA 91dd39aView commit details -
EIP-4844: add data_gas_used (erigontech#7639)
Implement ethereum/EIPs#7062 and ethereum/EIPs#7095. Pick up ledgerwatch/erigon-lib#1006.
Configuration menu - View commit details
-
Copy full SHA for 190bc9d - Browse repository at this point
Copy the full SHA 190bc9dView commit details
Commits on Jun 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d40317c - Browse repository at this point
Copy the full SHA d40317cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f54cc6 - Browse repository at this point
Copy the full SHA 6f54cc6View commit details -
prune speedup. stage_senders: don't re-calc existing senders (erigont…
…ech#7643) - stage_senders: don't re-calc existing senders - stage_tx_lookup: prune less blocks per iteration - because random-deletes are expensive. pruning must not slow-down sync. - prune data even if --snap.stop is set - "prune as-much-as-possible at startup" is not very good idea: at initialCycle machine can be cold and prune will cause big downtime, no reason to produce much freelist in 1 tx. People may also restart erigon - because of some bug - and it will cause unexpected downtime (usually Erigon startup very fast). So, I just remove all `initialSync`-related logic in pruning. - fix lost metrics about disk write byte/sec
Configuration menu - View commit details
-
Copy full SHA for ad72b71 - Browse repository at this point
Copy the full SHA ad72b71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63c9201 - Browse repository at this point
Copy the full SHA 63c9201View commit details -
Configuration menu - View commit details
-
Copy full SHA for 157b6de - Browse repository at this point
Copy the full SHA 157b6deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 569c120 - Browse repository at this point
Copy the full SHA 569c120View commit details -
Configuration menu - View commit details
-
Copy full SHA for 999c0ba - Browse repository at this point
Copy the full SHA 999c0baView commit details -
Configuration menu - View commit details
-
Copy full SHA for e11c819 - Browse repository at this point
Copy the full SHA e11c819View commit details
Commits on Jun 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2162565 - Browse repository at this point
Copy the full SHA 2162565View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8e717c - Browse repository at this point
Copy the full SHA c8e717cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f70ceef - Browse repository at this point
Copy the full SHA f70ceefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 895e7dd - Browse repository at this point
Copy the full SHA 895e7ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for feea6b9 - Browse repository at this point
Copy the full SHA feea6b9View commit details -
refactor to allow switchable consensus and multiple communicating nod…
…es (erigontech#7646) This branch is intended to allow the devnet to be used for testing multiple consents types beyond the default clique. It is initially being used to test Bor consensus for polygon. It also has the following refactoring: ### 1. Network configuration The two node arg building functions miningNodeArgs and nonMiningNodeArgs have been replaced with a configuration struct which is used to configure: ```go network := &node.Network{ DataDir: dataDir, Chain: networkname.DevChainName, //Chain: networkname.BorDevnetChainName, Logger: logger, BasePrivateApiAddr: "localhost:9090", BaseRPCAddr: "localhost:8545", Nodes: []node.NetworkNode{ &node.Miner{}, &node.NonMiner{}, }, } ``` and start multiple nodes ```go network.Start() ``` Network start will create a network of nodes ensuring that all nodes are configured with non clashing network ports set via command line arguments on start-up. ### 2. Request Routing The `RequestRouter` has been updated to take a 'target' rather than using a static dispatcher which routes to a single node on the network. Each node in the network has its own request generator so command and services have more flexibility in request routing and `ExecuteAllMethods` currently takes the `node.Network` as an argument and can pick which node (node 0 for the moment) to send requests to.
Configuration menu - View commit details
-
Copy full SHA for 415cf86 - Browse repository at this point
Copy the full SHA 415cf86View commit details -
Configuration menu - View commit details
-
Copy full SHA for e45ed7d - Browse repository at this point
Copy the full SHA e45ed7dView commit details
Commits on Jun 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 26f9c06 - Browse repository at this point
Copy the full SHA 26f9c06View commit details -
Configuration menu - View commit details
-
Copy full SHA for f62b6fd - Browse repository at this point
Copy the full SHA f62b6fdView commit details -
Store Canonical/NonCanonical/Bad blocks/senders/txs in same tables. M…
…ake re-org cheaper (erigontech#7648) - allow store non-canonical blocks/senders - optimize re-org: don't update/delete most of data - allow mark chain as `Bad` - will be not visible by eth_getBlockByHash, but can read if have hash+num
Configuration menu - View commit details
-
Copy full SHA for e14664d - Browse repository at this point
Copy the full SHA e14664dView commit details
Commits on Jun 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3a8d5c4 - Browse repository at this point
Copy the full SHA 3a8d5c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c129e5 - Browse repository at this point
Copy the full SHA 6c129e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf9f506 - Browse repository at this point
Copy the full SHA bf9f506View commit details -
Configuration menu - View commit details
-
Copy full SHA for d703c3c - Browse repository at this point
Copy the full SHA d703c3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 250ecfc - Browse repository at this point
Copy the full SHA 250ecfcView commit details -
Added non root logger to bor.ValidatorSet (erigontech#7668)
I've added a non root logger to bor.ValidatorSet validator set. This creates a signature change on a number of calling functions to propagate the logger. This is mostly constrained to the bor package but impacts a number of tests and utilities which call the validators set.
Configuration menu - View commit details
-
Copy full SHA for 37a8450 - Browse repository at this point
Copy the full SHA 37a8450View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e682aa - Browse repository at this point
Copy the full SHA 5e682aaView commit details
Commits on Jun 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fa0cfcb - Browse repository at this point
Copy the full SHA fa0cfcbView commit details -
EIP-4844: switch precompile input's z and y to big endian (erigontech…
…#7680) according to ethereum/EIPs#7020. Prerequisite: ledgerwatch/erigon-lib#1015.
Configuration menu - View commit details
-
Copy full SHA for 4a74ee2 - Browse repository at this point
Copy the full SHA 4a74ee2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07e2100 - Browse repository at this point
Copy the full SHA 07e2100View commit details
Commits on Jun 8, 2023
-
Indore hardfork for polygon mumbai and fixes in bor consensus (erigon…
…tech#7681) This PR does the following things: - Updates the hardfork number of the upcoming Indore hardfork schedule at block 36877056. - Refactoring to `CommitStates` method of bor consensus - Fixes a bug in triggering mining
Configuration menu - View commit details
-
Copy full SHA for 421ee91 - Browse repository at this point
Copy the full SHA 421ee91View commit details -
added a listener for beacon api and added get genesis (erigontech#7659)
Added two new flags beacon.api.port and beacon.api.addr Now we can listen for beacon api and get beacon genesis --------- Co-authored-by: Giulio <giulio.rebuffo@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1cb1c30 - Browse repository at this point
Copy the full SHA 1cb1c30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f8da14 - Browse repository at this point
Copy the full SHA 8f8da14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7671f41 - Browse repository at this point
Copy the full SHA 7671f41View commit details
Commits on Jun 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for afa4f53 - Browse repository at this point
Copy the full SHA afa4f53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c39570 - Browse repository at this point
Copy the full SHA 2c39570View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddfe93b - Browse repository at this point
Copy the full SHA ddfe93bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1546a79 - Browse repository at this point
Copy the full SHA 1546a79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06af87d - Browse repository at this point
Copy the full SHA 06af87dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 614769f - Browse repository at this point
Copy the full SHA 614769fView commit details -
7667 cli params vhost (erigontech#7669)
This change adds 'any' as an alternate wildcard to '*'. I have updated all doc references in the main erigon repo - let me know if there is anywhere else that needs changing.
Configuration menu - View commit details
-
Copy full SHA for 62b2375 - Browse repository at this point
Copy the full SHA 62b2375View commit details -
[bor] Desambiguate the term checkpoint (erigontech#7698)
I realised that the term `checkpoint` is used in 2 different meanings in the code, which are distinct. Renaming one of the to persistentSnapshots to reduce confusion
Configuration menu - View commit details
-
Copy full SHA for 2ea9eb5 - Browse repository at this point
Copy the full SHA 2ea9eb5View commit details
Commits on Jun 10, 2023
-
rpc service and stageloop logger updates (erigontech#7696)
This is another update to logging to replace the root logger with a contextual logger
Configuration menu - View commit details
-
Copy full SHA for 1e575ea - Browse repository at this point
Copy the full SHA 1e575eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8841055 - Browse repository at this point
Copy the full SHA 8841055View commit details
Commits on Jun 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b7469d2 - Browse repository at this point
Copy the full SHA b7469d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b89ed8 - Browse repository at this point
Copy the full SHA 3b89ed8View commit details -
e2: avoid do RestoreCodeHash twice (erigontech#7706)
- do it only once in HistoryStateReader
Configuration menu - View commit details
-
Copy full SHA for 4766cd8 - Browse repository at this point
Copy the full SHA 4766cd8View commit details -
eth_sendRawTransaction: remove logging, because we have `--txpool.tra…
…ce.senders` which enabling more verbose logging for given senders list (erigontech#7686) When testing with `Bor` consensus turned on I discovered that `SendRawTransaction` returns a 0x000... hash when transactions are submitted during block transitions. This turns out to be spurious in the sense that the transaction insertion is successful. The cause is that `ReadCurrentBlockNumber` returns a nil block number. This in turn is caused by the following: In `accessors_chain.go` there are two methods: `WriteHeader` and `WriteHeadHeaderHash` when the first is called the block number is written for the header. The second writes the header has, but there is no guarantee when it does that the head header will have been written yet. In fact it seems to happen sometime later. The problem for `SendRawTransation` is that it begins a transaction after inserting into the txpool. And depending on timing this transaction may see only the `WriteHeadHeaderHash` insertion, and hence can't read the block number. I have mitigated this by opening the db transaction before calling the tx pool insertion, meaning that it is more likely to have a clean view of the DB. I have also moved the chain id check earlier in the code - as I think that if this is invalid the method should not try to insert transactions in the first place. The `ReadCurrentBlockNumber` is only used to produce a log message - so I've changed this to not fail the whole function but to just log an unknown sender. Which means that the hash is still returned to the sender after a successful txpool insertion
Configuration menu - View commit details
-
Copy full SHA for f9acbff - Browse repository at this point
Copy the full SHA f9acbffView commit details -
Configuration menu - View commit details
-
Copy full SHA for afd8ea9 - Browse repository at this point
Copy the full SHA afd8ea9View commit details -
[Caplin] added deneb into converting payload to grpc (erigontech#7708)
Added so now we can have version 3 payloads preparing for Deneb
Configuration menu - View commit details
-
Copy full SHA for eac9ead - Browse repository at this point
Copy the full SHA eac9eadView commit details -
[Caplin] added configurations for beacon api (erigontech#7699)
Now you can configure: Read timeout (default: 5s) Write timeout (default: 5s) On/off (default: ON) Port (default:5555) Address (default:localhost) Protocol (default: tcp) erigontech#7684
Configuration menu - View commit details
-
Copy full SHA for e380ee4 - Browse repository at this point
Copy the full SHA e380ee4View commit details -
[caplin] abstract transition (erigontech#7661)
start of abstracting the transition layer. incremental movements.
Configuration menu - View commit details
-
Copy full SHA for 4d35e77 - Browse repository at this point
Copy the full SHA 4d35e77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6300661 - Browse repository at this point
Copy the full SHA 6300661View commit details
Commits on Jun 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c21d77a - Browse repository at this point
Copy the full SHA c21d77aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c8b070 - Browse repository at this point
Copy the full SHA 6c8b070View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31be6f6 - Browse repository at this point
Copy the full SHA 31be6f6View commit details -
consensus/bor: optimise get span, fixes in header validation (erigont…
…ech#7689) This PR does the following things. - Optimises the get span for bor function. The function was responsible to fetch span from heimdall and store in cache. If not found, it would iterate back (or front) depending on the last found span in cache. In this iteration it would also fetch the span every time it moves front / back which is not necessary at all. As we know the `spanLength` we can leverage it to directly jump to the required span ID without fetching all the intermediate ones. - Adds a check for `number > 255` in validating producers from headers' extra data with ones in span. As bor fetches this data from contract, it used to give correct results for 0th span (i.e. 0-255 blocks) and hence no error occurs. Erigon on the other hand directly uses span to get producers for all blocks. Hence, the data in 0th span turns out to be wrong (as it's hardcoded in contract). We can skip validation for 0th span blocks until we start fetching data from contract. - As we're planning to use erigon as a validator, it will also be responsible for preparing headers. It used to write all the validators in the `header.Extra` field instead of just the selected producers. As we have `GetCurrentProducers` function available now, we can use it instead of `GetCurrentValidators`.
Configuration menu - View commit details
-
Copy full SHA for 5c0c9fd - Browse repository at this point
Copy the full SHA 5c0c9fdView commit details -
added --log.dir.prefix flag (erigontech#7714)
This request adds an additional logging flag to change the name of the logfiles produced by erigon to be prefixed by a name other than 'erigon'. This allows multiple nodes to log to the same directory without overwriting each others files. It is requires so that the devnet when running can maintain all of its log files in a single consolidated directory which survives devnet restarts. --------- Co-authored-by: Mark Holt <mark@distributed.vision>
Configuration menu - View commit details
-
Copy full SHA for e99269e - Browse repository at this point
Copy the full SHA e99269eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a45f6bd - Browse repository at this point
Copy the full SHA a45f6bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for cefbf18 - Browse repository at this point
Copy the full SHA cefbf18View commit details
Commits on Jun 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ae1b193 - Browse repository at this point
Copy the full SHA ae1b193View commit details -
kv_mdbx: don't use defer for wg.Add(). not necessary and sometime it …
…checking invalid err variable (erigontech#7719)
Configuration menu - View commit details
-
Copy full SHA for 6121f63 - Browse repository at this point
Copy the full SHA 6121f63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78d9e00 - Browse repository at this point
Copy the full SHA 78d9e00View commit details
Commits on Jun 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5ff8246 - Browse repository at this point
Copy the full SHA 5ff8246View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4d8bd8 - Browse repository at this point
Copy the full SHA f4d8bd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 226763b - Browse repository at this point
Copy the full SHA 226763bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b312d5 - Browse repository at this point
Copy the full SHA 8b312d5View commit details -
attempt to address next issue: > when I'm having a lot of websocket connections the node is freezing and then it needs like 10 mins to sync. Then if I keep pushing requests it falls out of sync all the time
Configuration menu - View commit details
-
Copy full SHA for 1b14785 - Browse repository at this point
Copy the full SHA 1b14785View commit details -
Move ChainID from CommonTx to DynamicFeeTransaction (erigontech#7732)
For legacy transactions ChainID is optional (missing in pre-[EIP155](https://eips.ethereum.org/EIPS/eip-155) transactions) and is derived from `V` anyway. Also, cherry pick ethereum/go-ethereum#27452.
Configuration menu - View commit details
-
Copy full SHA for 862d7b6 - Browse repository at this point
Copy the full SHA 862d7b6View commit details -
Fix lint issues (erigontech#7733)
Fix some issues introduced in PR erigontech#7715
Configuration menu - View commit details
-
Copy full SHA for 2dd7df9 - Browse repository at this point
Copy the full SHA 2dd7df9View commit details -
Fix integration tests after ChainID move (erigontech#7734)
Post-fix after PR erigontech#7732
Configuration menu - View commit details
-
Copy full SHA for 4a2a199 - Browse repository at this point
Copy the full SHA 4a2a199View commit details -
Better version of libp2p where losing peers bug fixed (erigontech#7726)
Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4f812ef - Browse repository at this point
Copy the full SHA 4f812efView commit details -
Devnet scenarios (erigontech#7723)
This is an update to the devnet code which introduces the concept of configurable scenarios. This replaces the previous hard coded execution function. The intention is that now both the network and the operations to run on the network can be described in a data structure which is configurable and composable. The operating model is to create a network and then ask it to run scenarios: ```go network.Run( runCtx, scenarios.Scenario{ Name: "all", Steps: []*scenarios.Step{ &scenarios.Step{Text: "InitSubscriptions", Args: []any{[]requests.SubMethod{requests.Methods.ETHNewHeads}}}, &scenarios.Step{Text: "PingErigonRpc"}, &scenarios.Step{Text: "CheckTxPoolContent", Args: []any{0, 0, 0}}, &scenarios.Step{Text: "SendTxWithDynamicFee", Args: []any{recipientAddress, services.DevAddress, sendValue}}, &scenarios.Step{Text: "AwaitBlocks", Args: []any{2 * time.Second}}, }, }) ``` The steps here refer to step handlers which can be defined as follows: ```go func init() { scenarios.MustRegisterStepHandlers( scenarios.StepHandler(GetBalance), ) } func GetBalance(ctx context.Context, addr string, blockNum requests.BlockNumber, checkBal uint64) { ... ``` This commit is an initial implementation of the scenario running - which is working, but will need to be enhanced to make it more usable & developable. The current version of the code is working and has been tested with the dev network, and bor withoutheimdall. There is a multi miner bor heimdall configuration but this is yet to be tested. Note that by default the scenario runner picks nodes at random on the network to send transactions to. this causes the dev network to run very slowly as it seems to take a long time to include transactions where the nonce is incremented across nodes. It seems to take a long time for the nonce to catch up in the transaction pool processing. This is yet to be investigated.
Configuration menu - View commit details
-
Copy full SHA for f110102 - Browse repository at this point
Copy the full SHA f110102View commit details -
Configuration menu - View commit details
-
Copy full SHA for a588673 - Browse repository at this point
Copy the full SHA a588673View commit details
Commits on Jun 15, 2023
-
Enforce blockReader interface (erigontech#7737)
- breaks dependency from staged_sync to package with block_reader implementation - breaks dependency from snap_sync to package with block_reader implementation - breaks dependency from mining to txpool implementation
Configuration menu - View commit details
-
Copy full SHA for e502377 - Browse repository at this point
Copy the full SHA e502377View commit details -
Base BlobTx on DynamicFeeTransaction (erigontech#7736)
Continuation of PR erigontech#7715
Configuration menu - View commit details
-
Copy full SHA for 252e57b - Browse repository at this point
Copy the full SHA 252e57bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3c3be9 - Browse repository at this point
Copy the full SHA d3c3be9View commit details
Commits on Jun 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a63b24b - Browse repository at this point
Copy the full SHA a63b24bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94d592d - Browse repository at this point
Copy the full SHA 94d592dView commit details -
Configuration menu - View commit details
-
Copy full SHA for eae2d9a - Browse repository at this point
Copy the full SHA eae2d9aView commit details
Commits on Jun 19, 2023
-
faster opening of snapshots and indices (erigontech#7757)
- mostly by MADV_SEQUENTIAL during opening - see ledgerwatch/erigon-lib#1025
Configuration menu - View commit details
-
Copy full SHA for a77edd7 - Browse repository at this point
Copy the full SHA a77edd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2adf258 - Browse repository at this point
Copy the full SHA 2adf258View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86035ca - Browse repository at this point
Copy the full SHA 86035caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e96de6 - Browse repository at this point
Copy the full SHA 9e96de6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6755f7e - Browse repository at this point
Copy the full SHA 6755f7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e28fcc0 - Browse repository at this point
Copy the full SHA e28fcc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5be6851 - Browse repository at this point
Copy the full SHA 5be6851View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec4281e - Browse repository at this point
Copy the full SHA ec4281eView commit details -
Block Gas limit contract integration for Chiado (erigontech#7727)
Changes summary: - Continue with the gasLimit check skip in ``verifyHeader`` of ``merge.go`` for unless pre-merge block and blockGasLimitContract present - Refactor ``aura.go`` a bit - Have ``sysCall`` method customized to be able to call state (contract) at a parent (or any other) header state
Configuration menu - View commit details
-
Copy full SHA for 7123114 - Browse repository at this point
Copy the full SHA 7123114View commit details
Commits on Jun 20, 2023
-
fix for test (erigontech#7765)
Fixes test `TestExec22/UnwindExecutionStagePlainStatic`.
Configuration menu - View commit details
-
Copy full SHA for 932c2ac - Browse repository at this point
Copy the full SHA 932c2acView commit details -
Update to latest erigon-lib (erigontech#7764)
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6815323 - Browse repository at this point
Copy the full SHA 6815323View commit details -
Configuration menu - View commit details
-
Copy full SHA for 880c939 - Browse repository at this point
Copy the full SHA 880c939View commit details -
Devnet diagnostics (erigontech#7762)
Added support tunnel to the devnet cmd. In order to get this to run I made the following changes: * Create a public function * Added non root logging I have also added commentary to the readme to explain the additional command line arguments needed to integrate with diagnostics. In summary, if you set the --diagnostics.url the devenet will wait for diagnostic requests rather than exiting --------- Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 051cad0 - Browse repository at this point
Copy the full SHA 051cad0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3542298 - Browse repository at this point
Copy the full SHA 3542298View commit details
Commits on Jun 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7bad6d3 - Browse repository at this point
Copy the full SHA 7bad6d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 951ebd2 - Browse repository at this point
Copy the full SHA 951ebd2View commit details
Commits on Jun 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 141c4ae - Browse repository at this point
Copy the full SHA 141c4aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8a5c8c - Browse repository at this point
Copy the full SHA f8a5c8cView commit details -
Schedule Shapella for Gnosis Chain (erigontech#7784)
Schedule the [Shanghai](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/shanghai.md)/[Capella](https://github.com/ethereum/consensus-specs/tree/dev/specs/capella) upgrade for Gnosis Chain. The [Gnosis withdrawals spec](https://github.com/gnosischain/specs/blob/master/execution/withdrawals.md) documents the difference between Gnosis Chain and Ethereum mainnet. Refer to gnosischain/specs#10 and gnosischain/configs#12.
Configuration menu - View commit details
-
Copy full SHA for 9f5808b - Browse repository at this point
Copy the full SHA 9f5808bView commit details
Commits on Jun 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ded166d - Browse repository at this point
Copy the full SHA ded166dView commit details -
Fix subscription closing race (erigontech#7788)
`go test -p 1 -race -count=100 -run='TestFiltersDeadlock_Test' ./turbo/rpchelper/...`
Configuration menu - View commit details
-
Copy full SHA for f8cb4d6 - Browse repository at this point
Copy the full SHA f8cb4d6View commit details -
enable cli RPCGlobalTxFeeCapFlag (erigontech#7775)
enable -rpc.txfeecap flag on the RPC daemon in the default sets of CLI flags
Configuration menu - View commit details
-
Copy full SHA for 1f9bec2 - Browse repository at this point
Copy the full SHA 1f9bec2View commit details -
Fix withdrawalContractAddress for Gnosis Chain (erigontech#7789)
Correction to PR erigontech#7784. Kudos to Somnath for spotting this error!
Configuration menu - View commit details
-
Copy full SHA for 32bc5c1 - Browse repository at this point
Copy the full SHA 32bc5c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 108ca8a - Browse repository at this point
Copy the full SHA 108ca8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dd6b77 - Browse repository at this point
Copy the full SHA 5dd6b77View commit details -
Configuration menu - View commit details
-
Copy full SHA for a24eae8 - Browse repository at this point
Copy the full SHA a24eae8View commit details
Commits on Jun 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fb94eee - Browse repository at this point
Copy the full SHA fb94eeeView commit details -
change --db.pagesize default to 8KB (erigontech#7798)
reasons: - mainnet: even nodes with small FreeList - still have millions of pages there `GC: 46446830 5.8%`. Probability of getting into state where space re-use will be slower than free-list grow is > 0% (we now using db version which limiting freelist-overhead, but increasing such probability) - polygon: size is > 8Tb - hardware slowly moving towards bigger pageSizes (because for OS/Hardware) maintenance of pages metadata is also not free (metadata, lists, LRU, etc...). Macbook's default pagesize now is 16Kb. Network disks in cloud are also likely working with 16Kb pages. pros: - less db fragmentation (better FS-level compression) - less overflow pages in DB (which also reducing free-list overhead) - smaller free-list - bigger key-size-limit - no 8Tb db size limit - can setup FS - to also use bigger pagesize - it will reduce FS overhead also - reducing amount of page-faults during batch-reads (if FS pagesize match) - less write syscalls during commit (when WriteMap disabled) cons: - ~10% more IO: because of more RAM waste and just because need read/write bigger pages (not all updates are co-located).
Configuration menu - View commit details
-
Copy full SHA for 1a1ca49 - Browse repository at this point
Copy the full SHA 1a1ca49View commit details
Commits on Jun 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a2dd5da - Browse repository at this point
Copy the full SHA a2dd5daView commit details -
[bor] Implement bor_getSnapshotProposerSequence RPC method (erigontec…
…h#7770) Implements `bor_getSnapshotProposerSequence` RPC method which returns an ordered set of validators (selected to mine) for a given block number. ``` > curl http://localhost:8545 -X POST --data '{"jsonrpc":"2.0","method":"bor_getSnapshotProposerSequence","params":["0x235A310"],"id":1}' -H "Content-Type: application/json" { "jsonrpc": "2.0", "id": 1, "result": { "Signers": [ { "Signer": "0xcfef2a3dc244ef7d0fb93c45e762d671445c4569", "Difficulty": 5 }, { "Signer": "0x3a22c8bc68e98b0faf40f349dd2b2890fae01484", "Difficulty": 4 }, { "Signer": "0xbe188d6641e8b680743a4815dfa0f6208038960f", "Difficulty": 3 }, { "Signer": "0xc26880a0af2ea0c7e8130e6ec47af756465452e8", "Difficulty": 2 }, { "Signer": "0xc275dc8be39f50d12f66b6a63629c39da5bae5bd", "Difficulty": 1 } ], "Diff": 5, "Author": "0xcfef2a3dc244ef7d0fb93c45e762d671445c4569" } } ```
Configuration menu - View commit details
-
Copy full SHA for 6f0a02a - Browse repository at this point
Copy the full SHA 6f0a02aView commit details
Commits on Jun 28, 2023
-
Fix typo in db_walkthrough.MD (erigontech#7810)
recepient -> recipient
Configuration menu - View commit details
-
Copy full SHA for c9aa54f - Browse repository at this point
Copy the full SHA c9aa54fView commit details -
Update indore HF block number for polygon mainnet (erigontech#7809)
Setting https://polygonscan.com/block/countdown/44934656 as mainnet indore hard fork block number.
Configuration menu - View commit details
-
Copy full SHA for e490630 - Browse repository at this point
Copy the full SHA e490630View commit details -
Cleaned up error handling in network and node start-up (erigontech#7811)
The check in catches errors in the node start-up code and makes sure that the network is stopped if any node fails to start cleanly, and that5 it returns an error - so that any calling code can take appropriate action.
Configuration menu - View commit details
-
Copy full SHA for bcc2a4a - Browse repository at this point
Copy the full SHA bcc2a4aView commit details -
Fixed for the devnet runner (erigontech#7808)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for 0a1229b - Browse repository at this point
Copy the full SHA 0a1229bView commit details
Commits on Jun 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for affef54 - Browse repository at this point
Copy the full SHA affef54View commit details -
crypto: a few extra tests (erigontech#7795)
* crypto: keccak256 tests * crypto: ecies decrypt test
Configuration menu - View commit details
-
Copy full SHA for ecc1514 - Browse repository at this point
Copy the full SHA ecc1514View commit details -
Rename StageLoopStep to StageLoopIteration (erigontech#7820)
Rename for clarity to highlight that not only one stage is executed, but the entire loop.
Configuration menu - View commit details
-
Copy full SHA for 1f7de0e - Browse repository at this point
Copy the full SHA 1f7de0eView commit details
Commits on Jun 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e18db89 - Browse repository at this point
Copy the full SHA e18db89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83f5917 - Browse repository at this point
Copy the full SHA 83f5917View commit details -
Configuration menu - View commit details
-
Copy full SHA for 084acc1 - Browse repository at this point
Copy the full SHA 084acc1View commit details
Commits on Jul 14, 2023
-
Fix Gnosis sync from scratch (erigontech#7890)
Fix an issue with historical block execution introduced by PR erigontech#7727
Configuration menu - View commit details
-
Copy full SHA for 4c461ac - Browse repository at this point
Copy the full SHA 4c461acView commit details -
Bump patch version in stable to v2.48.1 (erigontech#7895)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for 674b77f - Browse repository at this point
Copy the full SHA 674b77fView commit details
Commits on Aug 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 52f021c - Browse repository at this point
Copy the full SHA 52f021cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b69cbd - Browse repository at this point
Copy the full SHA 9b69cbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c1cd01 - Browse repository at this point
Copy the full SHA 8c1cd01View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9bc6ce - Browse repository at this point
Copy the full SHA d9bc6ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 416ccb8 - Browse repository at this point
Copy the full SHA 416ccb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a0bf9b - Browse repository at this point
Copy the full SHA 9a0bf9bView commit details
Commits on Aug 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6369db5 - Browse repository at this point
Copy the full SHA 6369db5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 637b01b - Browse repository at this point
Copy the full SHA 637b01bView commit details -
Merge branch 'changes/v2.48.1' of github.com:graphprotocol/erigon int…
…o changes/v2.48.1
Configuration menu - View commit details
-
Copy full SHA for 5976279 - Browse repository at this point
Copy the full SHA 5976279View commit details -
Configuration menu - View commit details
-
Copy full SHA for f70b9cf - Browse repository at this point
Copy the full SHA f70b9cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 010043d - Browse repository at this point
Copy the full SHA 010043dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab7f27d - Browse repository at this point
Copy the full SHA ab7f27dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 141936d - Browse repository at this point
Copy the full SHA 141936dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d6e66b - Browse repository at this point
Copy the full SHA 2d6e66bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb6622d - Browse repository at this point
Copy the full SHA cb6622dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50053c7 - Browse repository at this point
Copy the full SHA 50053c7View commit details
Commits on Aug 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 143db27 - Browse repository at this point
Copy the full SHA 143db27View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1571f7 - Browse repository at this point
Copy the full SHA b1571f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for aafd511 - Browse repository at this point
Copy the full SHA aafd511View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1004ddb - Browse repository at this point
Copy the full SHA 1004ddbView commit details
Commits on Sep 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fff8069 - Browse repository at this point
Copy the full SHA fff8069View commit details