Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lumos42 committed Oct 2, 2023
1 parent ca48ca3 commit d9053a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions miner/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@ func (miner *Miner) GenerateBlock(predicateContext *precompileconfig.PredicateCo
return miner.worker.commitNewWork(predicateContext)
}

func (miner *Miner) GetLastBlockTime() uint64 {
// the timestamp for the new block will be >= this value
return miner.worker.chain.CurrentBlock().Time
}

// SubscribePendingLogs starts delivering logs from pending transactions
// to the given channel.
func (miner *Miner) SubscribePendingLogs(ch chan<- []*types.Log) event.Subscription {
Expand Down
2 changes: 0 additions & 2 deletions plugin/evm/syncervm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ func TestSkipStateSync(t *testing.T) {
}

func TestStateSyncFromScratch(t *testing.T) {
t.Skip()
rand.Seed(1)
test := syncTest{
syncableInterval: 256,
Expand All @@ -69,7 +68,6 @@ func TestStateSyncFromScratch(t *testing.T) {
}

func TestStateSyncToggleEnabledToDisabled(t *testing.T) {
t.Skip()
rand.Seed(1)
// Hack: registering metrics uses global variables, so we need to disable metrics here so that we can initialize the VM twice.
metrics.Enabled = false
Expand Down

0 comments on commit d9053a5

Please sign in to comment.