Skip to content
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

Branch v1.0.10 #38

Merged
merged 1,619 commits into from
Oct 14, 2024
Merged

Branch v1.0.10 #38

merged 1,619 commits into from
Oct 14, 2024

Conversation

zfliex924
Copy link
Collaborator

No description provided.

ucwong and others added 30 commits August 7, 2023 18:30
Fixes a graphql-dos

---------

Co-authored-by: Sina Mahmoodi <[email protected]>
Co-authored-by: Sina Mahmoodi <[email protected]>
Moving the response sending there allows tracking all peer goroutines
in the peer WaitGroup.
…(#27853)

Context: The UpdateContractCode method was introduced for the state storage commitment
schemes that include the whole code for their commitment computation. It must therefore be called
before the root hash is computed at the end of IntermediateRoot.

This should have no impact on the MPT since, in this context, the method is a no-op.
build(deps): bump github.com/supranational/blst

Bumps [github.com/supranational/blst](https://github.com/supranational/blst) from 0.3.11-0.20230406105308-e9dfc5ee724b to 0.3.11.
- [Release notes](https://github.com/supranational/blst/releases)
- [Commits](https://github.com/supranational/blst/commits/v0.3.11)

---
updated-dependencies:
- dependency-name: github.com/supranational/blst
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The Go authors updated golang/x/ext to change the function signature of the slices sort method. 
It's an entire shitshow now because x/ext is not tagged, so everyone's codebase just 
picked a new version that some other dep depends on, causing our code to fail building.

This PR updates the dep on our code too and does all the refactorings to follow upstream...
This upgrades to the latest release of ckzg, and also attempts to fix some blst-related
build errors that occur on launchpad.net.
FastFinality puts more infor into the header.extra field to keep vote information.
For mainnet, on epoch height, it could be 1526 bytes, which was 517 bytes before.
So the hardcoded 700 bytes for header could be no longer enough, increase it by
2 times would be enough.

this bug could cause P2P sync failure for nodes that are lagging behind, since they
would request access of ancient db, and GetBlockHeaders could be failed.
PR merge will append the PR number at the end, like:... (#1805), which
has extra 8 characters
discov: add hardcoded bootnodes
* fix: crash of highestVerifiedHeader

* fix: panic of blobpool

* fix: genesis set up

* 1. modify NewDatabaseWithNodeDB to upstream
2. fix race use of hasher in statedb
3. fix use wrong value when updateTrie

* fix dir legacypool

* fix dir blobpool

* fix dir vote

* remove diffsync related code

* fix core/state/snapshot

* disable pipeCommit for now

* fix applyTransaction for bloom setting

* CI: fast finality in gasprice test

* CI: diffFetcher was removed

* CI: downloader, remove beaconsync test

* CI: no beaconsync in downloader, remove a failed case

TestCheckpointChallenge was removed in:
ethereum/go-ethereum#27147
since after merge, it is useless for ethereum, but might be useful for BSC.
disable the case right now, as it is not a big issue.

* CI: bsc protocol decHandlers

* CI: receipt Bloom process

* 1. skip CheckConfigForkOrder for non-parlia engine
2. all test cases in core work well now
	cd core && go test ./... -v

* fix test cases in trie dir

* CI: no beaconsync in downloader, remove a failed case(redo)

* fix dir miner

* fix dir cmd/geth

* CI: filter test, BaseFee & Finality

* fix dir graphql

* remove diffStore

* fix ethclient

* fix TestRPCGetTransactionReceipt

* fix dir internal

* ut add dir ethstats and signer

* disable pipeCommit thoroughly; fix concurrent map iteration and map write in statedb

* CI: fix snap sync

it could be changed by mistake

* fix tests/Run to generate snapshot

* prepare for merge

* remove useless

* use common hasher in getDeletedStateObject, no race here

* an critical comment for state.Prepare

* do not copy nil accessList

* add omitempty tag for unused new fields of core.Genesis

* remove totalFees

* calculate fees before FinalizeAndAssemble

* revert interface Finalize of consensus

* do not double gas limit upon london block

* use Leveldb as default

* Revert "remove diffStore"

This reverts commit df343b137412b0beb25298a6ba9c3c19e47f20b1.

* Revert "remove diffsync related code"

This reverts commit 8d84b81feae5d794cb5d7fcfdb7f5f7da751941b.

* compile pass after revert

* remove diffsync

* fix dir eth/protocols/trust

* fix TestFastNode

* decHandlers for trust protocol

* keep persist diff in test
buddh0 and others added 28 commits January 29, 2024 14:44
* core/rawdb: fsync the index and data file after each freezer write

* core/rawdb: fsync the data file in freezer after write
Moving the response sending there allows tracking all peer goroutines
in the peer WaitGroup.
# Conflicts:
#	.github/release.env
#	.github/workflows/pre-release.yml
#	CHANGELOG.md
#	README.md
#	SECURITY.md
#	accounts/abi/bind/bind_test.go
#	consensus/parlia/abi.go
#	consensus/satoshi/lubanFork.go
#	consensus/satoshi/satoshi.go
#	core/genesis.go
#	core/state_transition.go
#	core/systemcontracts/upgrade.go
#	core/vm/contracts.go
#	core/vm/contracts_lightclient.go
#	core/vm/contracts_lightclient_test.go
#	core/vm/evm.go
#	core/vm/lightclient/v1/ics23_proof.go
#	core/vm/lightclient/v1/multistoreproof.go
#	core/vm/lightclient/v1/rootmultistore.go
#	core/vm/lightclient/v1/types.go
#	core/vm/lightclient/v1/utils.go
#	core/vm/lightclient/v1/wire.go
#	docker/Dockerfile
#	docker/Dockerfile.truffle
#	eth/backend.go
#	eth/gasprice/gasprice_test.go
#	go.mod
#	go.sum
#	miner/worker.go
#	params/config.go
#	params/protocol_params.go
#	params/version.go
#	tests/truffle/.env
#	tests/truffle/scripts/bootstrap.sh
# Conflicts:
#	CHANGELOG.md
#	README.md
#	cmd/bootnode/main.go
#	cmd/faucet/faucet.go
#	cmd/geth/main.go
#	cmd/utils/flags.go
#	consensus/consensus.go
#	consensus/parlia/lubanFork.go
#	consensus/parlia/parlia_test.go
#	consensus/satoshi/satoshi.go
#	consensus/satoshi/snapshot.go
#	core/genesis.go
#	core/genesis_test.go
#	core/rawdb/database.go
#	core/state/state_object.go
#	core/state_prefetcher.go
#	core/state_processor.go
#	core/state_processor_test.go
#	core/state_transition.go
#	core/systemcontracts/upgrade.go
#	core/txpool/legacypool/legacypool.go
#	core/vm/contracts.go
#	core/vm/evm.go
#	core/vm/lightclient/v1/types.go
#	docker/Dockerfile
#	docs/postmortems/2021-08-22-split-postmortem.md
#	eth/backend.go
#	eth/ethconfig/config.go
#	eth/gasprice/gasprice_test.go
#	go.mod
#	go.sum
#	internal/ethapi/api.go
#	miner/worker.go
#	p2p/discover/table_test.go
#	params/config.go
#	params/protocol_params.go
#	params/version.go
#	signer/core/signed_data.go
#	tests/truffle/.env
#	tests/truffle/config/config-bsc-rpc.toml
#	tests/truffle/config/config-validator.toml
#	tests/truffle/docker-compose.yml
#	tests/truffle/scripts/bootstrap.sh
#	tests/truffle/scripts/bsc-rpc.sh
#	tests/truffle/scripts/bsc-validator.sh
# Conflicts:
#	cmd/bootnode/main.go
#	p2p/discover/common.go
#	p2p/discover/table.go
#	p2p/discover/table_test.go
#	p2p/discover/table_util_test.go
#	p2p/discover/v4_udp.go
#	p2p/discover/v5_udp.go
#	p2p/server.go
@charles2023wood charles2023wood merged commit 271a982 into master Oct 14, 2024
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.