mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 21:38:05 -05:00
Fix Transaction Pool in E2E (#10561)
This commit is contained in:
@@ -127,6 +127,7 @@ func (m *Miner) Start(ctx context.Context) error {
|
||||
"--mine",
|
||||
"--unlock=0x878705ba3f8bc32fcf7f4caa1a35e72af65cf766",
|
||||
"--allow-insecure-unlock",
|
||||
"--txpool.locals=0x878705ba3f8bc32fcf7f4caa1a35e72af65cf766",
|
||||
fmt.Sprintf("--password=%s", eth1Path+"/keystore/"+minerPasswordFile),
|
||||
}
|
||||
|
||||
|
||||
@@ -88,6 +88,7 @@ func (node *Node) Start(ctx context.Context) error {
|
||||
"--ws.origins=\"*\"",
|
||||
"--ipcdisable",
|
||||
"--verbosity=4",
|
||||
"--txpool.locals=0x878705ba3f8bc32fcf7f4caa1a35e72af65cf766",
|
||||
}
|
||||
// If we are testing sync, geth needs to be run via full sync as snap sync does not
|
||||
// work in our setup.
|
||||
|
||||
@@ -65,7 +65,7 @@ func (t *TransactionGenerator) Start(ctx context.Context) error {
|
||||
}
|
||||
f := filler.NewFiller(rnd)
|
||||
// Broadcast Transactions every 3 blocks
|
||||
txPeriod := time.Duration(params.BeaconConfig().SecondsPerETH1Block*3) * time.Second
|
||||
txPeriod := time.Duration(params.BeaconConfig().SecondsPerSlot) * time.Second
|
||||
ticker := time.NewTicker(txPeriod)
|
||||
gasPrice := big.NewInt(1e11)
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user