Skip to content

Commit 7823caf

Browse files
committed
Fix signer
1 parent d66b0e4 commit 7823caf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

espresso/devnet-tests/key_rotation_test.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,16 @@ func TestChangeBatchInboxOwner(t *testing.T) {
6868
config, err := d.RollupConfig(ctx)
6969
require.NoError(t, err)
7070

71+
// Get the deployer's account to sign our next transaction with
72+
_, deployer, err := d.SystemConfig(ctx)
73+
if err != nil {
74+
t.Fatal(err)
75+
}
76+
7177
// Change the BatchAuthenticator's owner
7278
batchAuthenticator, err := bindings.NewBatchAuthenticator(config.BatchAuthenticatorAddress, d.L1)
7379
require.NoError(t, err)
74-
tx, err := batchAuthenticator.TransferOwnership(&bind.TransactOpts{}, d.secrets.Addresses().Bob)
80+
tx, err := batchAuthenticator.TransferOwnership(deployer, d.secrets.Addresses().Bob)
7581
require.NoError(t, err)
7682
_, err = d.SendL1Tx(ctx, tx)
7783
require.NoError(t, err)

0 commit comments

Comments
 (0)