Skip to content

Commit

Permalink
VRF-585: add err checks
Browse files Browse the repository at this point in the history
  • Loading branch information
iljapavlovs committed Sep 12, 2023
1 parent 5cc0c15 commit 12a04ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration-tests/smoke/vrfv2plus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func TestVRFv2PlusBilling(t *testing.T) {
subNativeTokenBalanceBeforeRequest := subscription.EthBalance

jobRunsBeforeTest, err := env.CLNodes[0].API.MustReadRunsByJob(vrfv2PlusData.VRFJob.Data.ID)
require.NoError(t, err, "error reading job runs")

// test and assert
randomWordsFulfilledEvent, err := vrfv2plus.RequestRandomnessAndWaitForFulfillment(
Expand Down Expand Up @@ -199,6 +200,7 @@ func TestVRFv2PlusBilling(t *testing.T) {
require.NoError(t, err, vrfv2plus.ErrCreateVRFV2PlusJobs)

err = vrfv2PlusContracts.Coordinator.RegisterMigratableCoordinator(newCoordinator.Address())
require.NoError(t, err, "error registering migratable coordinator")

err = env.EVMClient.WaitForEvents()
require.NoError(t, err, vrfv2plus.ErrWaitTXsComplete)
Expand Down

0 comments on commit 12a04ce

Please sign in to comment.