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

Feat/v1.13.15 #112

Merged
merged 222 commits into from
Dec 2, 2024
Merged

Feat/v1.13.15 #112

merged 222 commits into from
Dec 2, 2024

Conversation

tak1827
Copy link
Contributor

@tak1827 tak1827 commented Dec 2, 2024

Revertしたものを再マージする
#111
Squash Mergeで消えたgo-ethereum側のCommitを復元させるため。

holiman and others added 30 commits December 22, 2023 13:46
slog.SetDefault has undesirable side effects. It also sets the default logger destination,
for example. So we should not call it by default in init.
cmd/evm: fixes the blob gas calculation if a transaction is invalid
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Martin HS <martin@swende.se>
Co-authored-by: Felix Lange <fjl@twurst.com>
This PR schedules the cancun fork for the goerli testnet as discussed on ACD.
Spec: ethereum/execution-specs#860

We schedule:
  goerli at 1705473120
When managing geth, it is sometimes desirable to do a partial wipe; deleting state but retaining freezer data. A partial wipe can be somewhat tricky to accomplish. 

This change implements the ability to perform partial wipe by making it possible to run geth removedb non-interactive, using command line options instead.
This is a rewrite of the 'simulated backend', an implementation of the ethclient interfaces
which is backed by a simulated blockchain. It was getting annoying to maintain the old
version of the simulated backend feature because there was a lot of code duplication with
the main client. 

The new version is built using parts that we already have: an in-memory geth node instance
running in developer mode provides the chain, while the Go API is provided by ethclient.
A backwards-compatibility wrapper is provided, but the simulated backend has also moved to
a more sensible import path: github.com/ethereum/go-ethereum/ethclient/simulated

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
* Fix broken badge in README.md

Replaced broken Github link with IPFS link for long-term storage.

* update go badge

Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>

---------

Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
tak1827 and others added 28 commits September 24, 2024 22:28
Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>
* Imported diffs of blockchain.go and headerchain.go from bsc@v1.4.6

* Imported fast finality reorganization from bsc@v1.4.6 (#75)

* Imported fast finality reorganization from bsc@v1.4.6

* Fix errors in test code

* elaborate the timeing update finalized and justified gauge (#77)

---------

Co-authored-by: tak <re795h@gmail.com>
* Imported stop process of eth.handler from bsc@v1.4.6

* Imported `chainFinalizedHeightFn` of fetcher.BlockFetcher from bsc@v1.4.6

* remove stop chan from eth/handler (#82)

---------

Co-authored-by: tak <re795h@gmail.com>
* support eth67

* secured go.mod

* fix compile error

* upgrade wealdtech/go-eth2-types/v2 from v2.5.2 to v2.8.1, to avoid bnb forked fastssz

* downgrade github.com/wealdtech/go-eth2-types to v2.6.0, to kept github.com/ferranbt/fastssz version as v0.1.2

* rever back github.com/herumi/bls-eth-go-binary original version
* support eth67

* secured go.mod

* fix compile error

* upgrade wealdtech/go-eth2-types/v2 from v2.5.2 to v2.8.1, to avoid bnb forked fastssz

* downgrade github.com/wealdtech/go-eth2-types to v2.6.0, to kept github.com/ferranbt/fastssz version as v0.1.2

* rever back github.com/herumi/bls-eth-go-binary original version

* integrate bsc cancun support

* import bsc PR #2428

* import bsc PR #2525

* import bsc PR #2350

* import bsc PR #2311

* import bsc PR #2337

* Updated with `gencodec -dir eth/ethconfig/ -type Config -formats toml -out eth/ethconfig/gen_config.go` (#94)

* Import eth/handler.go from bsc@v1.4.15 (#93)

* Update core/blockchain.go

Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>

* Update core/chain_makers.go

Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>

* respond review by ironbeer part1

* Restore changes from 4e4fa3e (#95)

* Update params/config.go

Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>

* Import miner/worker.go from bsc@v1.4.15 (2) (#99)

* Import miner/worker.go from bsc@v1.4.15 (3) (#100)

* Update consensus/oasys/oasys.go

Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>

---------

Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>
* support eth67

* secured go.mod

* fix compile error

* upgrade wealdtech/go-eth2-types/v2 from v2.5.2 to v2.8.1, to avoid bnb forked fastssz

* downgrade github.com/wealdtech/go-eth2-types to v2.6.0, to kept github.com/ferranbt/fastssz version as v0.1.2

* rever back github.com/herumi/bls-eth-go-binary original version

* integrate bsc cancun support

* import bsc PR #2428

* import bsc PR #2525

* import bsc PR #2350

* import bsc PR #2311

* import bsc PR #2337

* organize ParentBeaconRoot handling

* unsupport eth67

* fix linter error

* fix `unexpected withdrawal hash value in oasys`

* set blob index during commit it

* add fake beacon api

* fix blob freeze bugs

* Updated with `gencodec -dir eth/ethconfig/ -type Config -formats toml -out eth/ethconfig/gen_config.go` (#94)

* Import eth/handler.go from bsc@v1.4.15 (#93)

* Update core/blockchain.go

Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>

* Update core/chain_makers.go

Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>

* respond review by ironbeer part1

* Restore changes from 4e4fa3e (#95)

* Update params/config.go

Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>

* fastfinality: incorporate bsc changes ##2589

* fastfinality: incorporate bsc PR #2568

* fix consensus making failure caused by integration of bsc pr #2589

* Import miner/worker.go from bsc@v1.4.15 (2) (#99)

* Import miner/worker.go from bsc@v1.4.15 (3) (#100)

* Dedup of BaseFee field after cancun (#102)

* Import blob fee API from geth@v1.14.11 (#103)

* Fixed fakebeacon (#104)

* Change index field to string type

* Modified block estimation for Oasys

* respond feedback from ironbeer

---------

Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>
* support eth67

* secured go.mod

* fix compile error

* upgrade wealdtech/go-eth2-types/v2 from v2.5.2 to v2.8.1, to avoid bnb forked fastssz

* downgrade github.com/wealdtech/go-eth2-types to v2.6.0, to kept github.com/ferranbt/fastssz version as v0.1.2

* rever back github.com/herumi/bls-eth-go-binary original version

* integrate bsc cancun support

* import bsc PR #2428

* import bsc PR #2525

* import bsc PR #2350

* import bsc PR #2311

* import bsc PR #2337

* organize ParentBeaconRoot handling

* unsupport eth67

* fix linter error

* fix `unexpected withdrawal hash value in oasys`

* set blob index during commit it

* add fake beacon api

* fix blob freeze bugs

* Updated with `gencodec -dir eth/ethconfig/ -type Config -formats toml -out eth/ethconfig/gen_config.go` (#94)

* Import eth/handler.go from bsc@v1.4.15 (#93)

* Update core/blockchain.go

Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>

* Update core/chain_makers.go

Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>

* respond review by ironbeer part1

* Restore changes from 4e4fa3e (#95)

* Update params/config.go

Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>

* fastfinality: incorporate bsc changes ##2589

* fastfinality: incorporate bsc PR #2568

* fix consensus making failure caused by integration of bsc pr #2589

* Import miner/worker.go from bsc@v1.4.15 (2) (#99)

* Import miner/worker.go from bsc@v1.4.15 (3) (#100)

* Dedup of BaseFee field after cancun (#102)

* Import blob fee API from geth@v1.14.11 (#103)

* Fixed fakebeacon (#104)

* Change index field to string type

* Modified block estimation for Oasys

* add evm access controler experlimentaly

* respond feedback from ironbeer

* brash up evm access controller

* add missing key mapping to evm control contract

* remove Oasys.TxVerify

* add deployment13 testcase

* resolve evm access denied tx persisted in txpool bug (#108)

* Add from/to validation to eth_sendRawTransaction (#107)

* Add validation to SendRawTransaction

* Rename EVMAccessControl to TransactionFilter and move validation to txpool

* Revert "Rename EVMAccessControl to TransactionFilter and move validation to txpool"

This reverts commit 4dac3f8.

* Fix package error

* Improved error message

---------

Co-authored-by: ironbeer <7997273+ironbeer@users.noreply.github.com>
…109)

* temporaly force validators to enable vote to activate fast finality

* remove voting as keyword to avoid confusion
@tak1827 tak1827 merged commit e94a68c into main Dec 2, 2024
@tak1827 tak1827 deleted the feat/v1.13.15 branch December 2, 2024 03:32
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.