eth/catalyst: enable some commented-out testcases   (#29073)

pull/29090/head
cui 9 months ago committed by GitHub
parent 26724fc2aa
commit edffacca8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      eth/catalyst/api_test.go

@ -262,11 +262,8 @@ func TestInvalidPayloadTimestamp(t *testing.T) {
{0, true}, {0, true},
{parent.Time, true}, {parent.Time, true},
{parent.Time - 1, true}, {parent.Time - 1, true},
{parent.Time + 1, false},
// TODO (MariusVanDerWijden) following tests are currently broken, {uint64(time.Now().Unix()) + uint64(time.Minute), false},
// fixed in upcoming merge-kiln-v2 pr
//{parent.Time() + 1, false},
//{uint64(time.Now().Unix()) + uint64(time.Minute), false},
} }
for i, test := range tests { for i, test := range tests {

Loading…
Cancel
Save