Skip to content

Commit

Permalink
dev: merge v1310
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolly23 committed Mar 4, 2024
1 parent 2da2166 commit 3462009
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ func (w *worker) prepareWork(genParams *generateParams) (*core.MinerEnvironment,

if !w.chainConfig.IsFeynman(header.Number, header.Time) {
// Handle upgrade build-in system contract code
systemcontracts.UpgradeBuildInSystemContract(w.chainConfig, header.Number, parent.Time, header.Time, env.state)
systemcontracts.UpgradeBuildInSystemContract(w.chainConfig, header.Number, parent.Time, header.Time, env.State)
}

return env, nil
Expand Down
2 changes: 1 addition & 1 deletion miner/worker_puissant.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (w *worker) makeEnv(parent *types.Header, header *types.Header, coinbase co

// Retrieve the parent state to execute on top and start a prefetcher for
// the miner to speed block sealing up a bit
topState, err := w.chain.StateAtWithSharedPool(parent.Root)
topState, err := w.chain.StateAt(parent.Root)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 3462009

Please sign in to comment.