From 5b8e5389466c5a2617c19d98b7f81f09e2ac2f83 Mon Sep 17 00:00:00 2001 From: Francisco de Borja Aranda Castillejo Date: Thu, 15 Aug 2024 15:46:55 +0200 Subject: [PATCH] add signer to deployment --- e2e/e2etests/test_precompiles_regular.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/e2etests/test_precompiles_regular.go b/e2e/e2etests/test_precompiles_regular.go index d434dfa32b..6833d8bebd 100644 --- a/e2e/e2etests/test_precompiles_regular.go +++ b/e2e/e2etests/test_precompiles_regular.go @@ -12,11 +12,11 @@ import ( func TestPrecompilesRegular(r *runner.E2ERunner, args []string) { require.Len(r, args, 0, "No arguments expected") - _, tx, contract, err := regularcaller.DeployRegularCaller(&bind.TransactOpts{}, r.ZEVMClient) + _, tx, contract, err := regularcaller.DeployRegularCaller(r.ZEVMAuth, r.ZEVMClient) require.NoError(r, err, "Failed to deploy RegularCaller contract") receipt := utils.MustWaitForTxReceipt(r.Ctx, r.ZEVMClient, tx, r.Logger, r.ReceiptTimeout) - require.Equal(r, receipt.Status, 1, "Failed to deploy RegularCaller contract") + require.Equal(r, receipt.Status, uint64(1), "Failed to deploy RegularCaller contract") // Call the Regular contract in the static precompile address. ok, err := contract.TestBech32ToHexAddr(&bind.CallOpts{})