diff --git a/vms/proposervm/post_fork_option_test.go b/vms/proposervm/post_fork_option_test.go index 8e93e2aad05f..ea9e4336dd9f 100644 --- a/vms/proposervm/post_fork_option_test.go +++ b/vms/proposervm/post_fork_option_test.go @@ -135,7 +135,7 @@ func TestBlockVerify_PostForkOption_ParentChecks(t *testing.T) { }, ParentV: oracleCoreBlk.opts[0].ID(), BytesV: []byte{4}, - TimestampV: oracleCoreBlk.opts[0].Timestamp().Add(proposer.MaxVerifyDelay), + TimestampV: oracleCoreBlk.opts[0].Timestamp().Add(proposer.MaxBuildDelay), } coreVM.BuildBlockF = func(context.Context) (snowman.Block, error) { return childCoreBlk, nil diff --git a/vms/proposervm/pre_fork_block_test.go b/vms/proposervm/pre_fork_block_test.go index c2e49bfb36fe..f0601ed991cd 100644 --- a/vms/proposervm/pre_fork_block_test.go +++ b/vms/proposervm/pre_fork_block_test.go @@ -275,7 +275,7 @@ func TestBlockVerify_PreFork_ParentChecks(t *testing.T) { } } - proVM.Set(proVM.Time().Add(proposer.MaxVerifyDelay)) + proVM.Set(proVM.Time().Add(proposer.MaxBuildDelay)) prntProBlk, err := proVM.BuildBlock(context.Background()) require.NoError(err) @@ -286,7 +286,7 @@ func TestBlockVerify_PreFork_ParentChecks(t *testing.T) { StatusV: choices.Processing, }, BytesV: []byte{2}, - TimestampV: prntCoreBlk.Timestamp().Add(proposer.MaxVerifyDelay), + TimestampV: prntCoreBlk.Timestamp().Add(proposer.MaxBuildDelay), } childProBlk := preForkBlock{ Block: childCoreBlk,