mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
core/txpool/blobpool: add test config back
This commit is contained in:
parent
c65177c035
commit
a648256a74
1 changed files with 11 additions and 0 deletions
|
|
@ -51,7 +51,18 @@ var (
|
|||
testBlobVHashes [][32]byte
|
||||
)
|
||||
|
||||
var testChainConfig *params.ChainConfig
|
||||
|
||||
func init() {
|
||||
testChainConfig = new(params.ChainConfig)
|
||||
*testChainConfig = *params.TestChainConfig
|
||||
|
||||
testChainConfig.ShanghaiBlock = big.NewInt(0)
|
||||
*testChainConfig.ShanghaiBlock = *big.NewInt(0)
|
||||
|
||||
testChainConfig.CancunBlock = big.NewInt(0)
|
||||
*testChainConfig.CancunBlock = *big.NewInt(0)
|
||||
|
||||
for i := 0; i < 10; i++ {
|
||||
testBlob := &kzg4844.Blob{byte(i)}
|
||||
testBlobs = append(testBlobs, testBlob)
|
||||
|
|
|
|||
Loading…
Reference in a new issue