forked from etclabscore/core-geth
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[pull] master from etclabscore:master #26
Open
pull
wants to merge
2,469
commits into
phamquangquy92vd:master
Choose a base branch
from
etclabscore:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
params: remove mordor bootnode meowsbits
build(deps): bump jinja2 from 3.0.2 to 3.1.3
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.37 to 3.1.41. - [Release notes](https://github.com/gitpython-developers/GitPython/releases) - [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES) - [Commits](gitpython-developers/GitPython@3.1.37...3.1.41) --- updated-dependencies: - dependency-name: gitpython dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
build(deps): bump gitpython from 3.1.37 to 3.1.41
* all: implement era format, add history importer/export * internal/era/e2store: refactor e2store to provide ReadAt interface * internal/era/e2store: export HeaderSize * internal/era: refactor era to use ReadAt interface * internal/era: elevate anonymous func to named * cmd/utils: don't store entire era file in-memory during import / export * internal/era: better abstraction between era and e2store * cmd/era: properly close era files * cmd/era: don't let defers stack * cmd/geth: add description for import-history * cmd/utils: better bytes buffer * internal/era: error if accumulator has more records than max allowed * internal/era: better doc comment * internal/era/e2store: rm superfluous reader, rm superfluous testcases, add fuzzer * internal/era: avoid some repetition * internal/era: simplify clauses * internal/era: unexport things * internal/era,cmd/utils,cmd/era: change to iterator interface for reading era entries * cmd/utils: better defer handling in history test * internal/era,cmd: add number method to era iterator to get the current block number * internal/era/e2store: avoid double allocation during write * internal/era,cmd/utils: fix lint issues * internal/era: add ReaderAt func so entry value can be read lazily Co-authored-by: lightclient <[email protected]> Co-authored-by: Martin Holst Swende <[email protected]> * internal/era: improve iterator interface * internal/era: fix rlp decode of header and correctly read total difficulty * cmd/era: fix rebase errors * cmd/era: clearer comments * cmd,internal: fix comment typos --------- Co-authored-by: Martin Holst Swende <[email protected]>
Adds a configurable HTTP request limit, and bumps the engine default
* fix wrong comment * reviewers input * Update log/handler_glog.go --------- Co-authored-by: Martin HS <[email protected]>
(ethclient/simulated):fix typo
…ethash,core,core/txpool/blobpool,core/txpool,core/types,core/vm,eth/catalyst,eth/protocols/eth,miner,params/types/coregeth,params/types/ctypes,params/types/genesisT,params/types/goethereum: add conditions per block number for cancun EIPs
* params: add cancun timestamp for mainnet * core/forkid: add test for mainnet cancun forkid * core/forkid: update todo tests for cancun
This change adds support for blob-transaction in certain API-endpoints, e.g. eth_fillTransaction. A follow-up PR will add support for signing such transactions.
…atherForks forkid_test.go:563:40: not enough arguments in call to gatherForks have (ctypes.ChainConfigurator) want (ctypes.ChainConfigurator, uint64) (typecheck)
…(#28959) As mentioned in #26621, the block index format for era1 is not in line with the regular era block index. This change modifies the index so all relative offsets are based against the beginning of the block index record.
all: release go-ethereum v1.13.12
fix: update link to trezor
Signed-off-by: Diego López León <[email protected]>
…/clique,consensus/ethash,core,core/txpool/blobpool,core/txpool,core/types,core/vm,eth/catalyst,eth/protocols/eth,miner,params/types/coregeth,params/types/ctypes,params/types/genesisT,params/types/goethereum: Merge branch 'merge/foundation-release/1.13.4' into merge/foundation-release/1.13.5 # Conflicts: # core/chain_makers.go
…4' into merge/foundation-release/1.13.5
This change makes the legacy transaction pool use of `uint256.Int` instead of `big.Int`. The changes are made primarily only on the internal functions of legacypool. --------- Co-authored-by: Martin Holst Swende <[email protected]>
…emove stale information about docker adapter (#29874)
…ver,p2p: p2p/discover: refactor node and endpoint representation (#29844) Here we clean up internal uses of type discover.node, converting most code to use enode.Node instead. The discover.node type used to be the canonical representation of network hosts before ENR was introduced. Most code worked with *node to avoid conversions when interacting with Table methods. Since *node also contains internal state of Table and is a mutable type, using *node outside of Table code is prone to data races. It's also cleaner not having to wrap/unwrap *enode.Node all the time. discover.node has been renamed to tableNode to clarify its purpose. While here, we also change most uses of net.UDPAddr into netip.AddrPort. While this is technically a separate refactoring from the *node -> *enode.Node change, it is more convenient because *enode.Node handles IP addresses as netip.Addr. The switch to package netip in discovery would've happened very soon anyway. The change to netip.AddrPort stops at certain interface points. For example, since package p2p/netutil has not been converted to use netip.Addr yet, we still have to convert to net.IP/net.UDPAddr in a few places.
…ypto,crypto/ecies,crypto/secp256k1,crypto,go.sum,p2p/rlpx: all: update to go version 1.22.1 (#28946) Since Go 1.22 has deprecated certain elliptic curve operations, this PR removes references to the affected functions and replaces them with a custom implementation in package crypto. This causes backwards-incompatible changes in some places. --------- Co-authored-by: Marius van der Wijden <[email protected]> Co-authored-by: Felix Lange <[email protected]>
Co-authored-by: Felix Lange <[email protected]>
…3.15-p2p-lint Fix lint issue SA1019 reflect.SliceHeader
…3.15-p2p Add latest p2p
…,p2p/discover,p2p/discover/v5wire,p2p/enode,p2p/netutil,p2p: p2p: use netip.Addr where possible (#29891) enode.Node was recently changed to store a cache of endpoint information. The IP address in the cache is a netip.Addr. I chose that type over net.IP because it is just better. netip.Addr is meant to be used as a value type. Copying it does not allocate, it can be compared with ==, and can be used as a map key. This PR changes most uses of Node.IP() into Node.IPAddr(), which returns the cached value directly without allocating. While there are still some public APIs left where net.IP is used, I have converted all code used internally by p2p/discover to the new types. So this does change some public Go API, but hopefully not APIs any external code actually uses. There weren't supposed to be any semantic differences resulting from this refactoring, however it does introduce one: In package p2p/netutil we treated the 0.0.0.0/8 network (addresses 0.x.y.z) as LAN, but netip.Addr.IsPrivate() doesn't. The treatment of this particular IP address range is controversial, with some software supporting it and others not. IANA lists it as special-purpose and invalid as a destination for a long time, so I don't know why I put it into the LAN list. It has now been marked as special in p2p/netutil as well.
Fixes an issue where discovery responses were not recognized.
…3.15-p2p-discover-unwrap-4in6 Include latest foundation release fixes in p2p
…3.14 Merge/foundation release/1.13.14+15
Remove Foundation GitHub Action
This should fix an issue where Jenkins complains about a missing package 'slices'. https://ci.etccore.in/blue/organizations/jenkins/core-geth-regression/detail/core-geth-regression/327/pipeline#step-51-log-121 Date: 2024-06-08 08:25:37-06:00 Signed-off-by: meows <[email protected]>
Jenkinsfile: bump go version v1.20.3 -> v1.22.4
It failed after last commit bumping Go version. https://ci.etccore.in/blue/organizations/jenkins/core-geth-regression/detail/core-geth-regression/328/pipeline#step-58-log-2 Date: 2024-06-08 10:35:38-06:00 Signed-off-by: meows <[email protected]>
* Jenkinsfile: problem: jenkins Go install not working + go version go: cannot find GOROOT directory: 'go' binary is trimmed and GOROOT is not set Date: 2024-06-08 10:42:51-06:00 Signed-off-by: meows <[email protected]> * Revert "Jenkinsfile: problem: jenkins Go install not working" This reverts commit 858f16d. * Jenkinsfile: use explicit go path and go command workaround weird script problem which cant find the right go i dont know why it insistent on using /usr/bin/go instead of /usr/local/go/bin/go, which is also in the PATH Date: 2024-06-08 10:57:39-06:00 Signed-off-by: meows <[email protected]> * Jenkinsfile: make geth executable by everyone Date: 2024-06-08 11:16:31-06:00 Signed-off-by: meows <[email protected]> * Jenkinsfile: problem: newline expected Date: 2024-06-08 11:20:51-06:00 Signed-off-by: meows <[email protected]> * Jenkinsfile: problem: newline unexpected wtf? Date: 2024-06-08 11:31:14-06:00 Signed-off-by: meows <[email protected]> * Jenkinsfile: problem: newline unexpected Date: 2024-06-08 11:39:10-06:00 Signed-off-by: meows <[email protected]> * Jenkinsfile: problem: newline unexpected Date: 2024-06-08 11:43:37-06:00 Signed-off-by: meows <[email protected]> * Jenkinsfile: syntax problem Date: 2024-06-08 11:51:55-06:00 Signed-off-by: meows <[email protected]> * Jenkinsfile: problem: unexpected newline I wasnt building geth, oops. Date: 2024-06-08 12:23:43-06:00 Signed-off-by: meows <[email protected]> --------- Signed-off-by: meows <[email protected]>
Signed-off-by: Diego López León <[email protected]>
Signed-off-by: Diego López León <[email protected]>
Signed-off-by: Diego López León <[email protected]>
Signed-off-by: Diego López León <[email protected]>
Release/v1.12.20
Signed-off-by: wangjingcun <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )