Skip to content

Commit

Permalink
don't pass nil for context
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Apr 20, 2024
1 parent 081ee6c commit b80a5da
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package migrations

import (
"context"
"encoding/binary"
"testing"

Expand Down Expand Up @@ -122,7 +123,9 @@ func TestFilterUnreferencedSlabs(t *testing.T) {
err = migration.InitMigration(log, nil, 0)
require.NoError(t, err)

newPayloads, err := migration.MigrateAccount(nil, testAddress, oldPayloads)
ctx := context.Background()

newPayloads, err := migration.MigrateAccount(ctx, testAddress, oldPayloads)
require.NoError(t, err)

// Assert
Expand Down

0 comments on commit b80a5da

Please sign in to comment.