From e5e2e7d022da79f1de9c3b62b73f9f34f18f4472 Mon Sep 17 00:00:00 2001 From: Arthur Abeilice Date: Thu, 7 Nov 2024 13:25:13 -0300 Subject: [PATCH] fix(tests): correct function name casing in L1InfoTree initialisation --- zk/l1infotree/updater_internal_test.go | 4 ++-- zk/l1infotree/updater_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/zk/l1infotree/updater_internal_test.go b/zk/l1infotree/updater_internal_test.go index 9d96163237c..ec1e358b533 100644 --- a/zk/l1infotree/updater_internal_test.go +++ b/zk/l1infotree/updater_internal_test.go @@ -58,7 +58,7 @@ func TestUpdater_initialiseL1InfoTree(t *testing.T) { // updater := NewUpdater(db) // func initialiseL1InfoTree(hermezDb *hermez_db.HermezDb) (*L1InfoTree, error) { - l1infotree, err := initialiseL1InfoTree(db) + l1infotree, err := InitialiseL1InfoTree(db) assert.NoError(t, err) assert.NotNil(t, l1infotree) @@ -71,7 +71,7 @@ func TestUpdater_createL1InfoTreeUpdate(t *testing.T) { assert.NotNil(t, db) // func createL1InfoTreeUpdate(hermezDb *hermez_db.HermezDb, l1InfoTree *L1InfoTree) (*zkTypes.L1InfoTreeUpdate, error) { - l1infotree, err := initialiseL1InfoTree(db) + l1infotree, err := InitialiseL1InfoTree(db) assert.NoError(t, err) assert.NotNil(t, l1infotree) diff --git a/zk/l1infotree/updater_test.go b/zk/l1infotree/updater_test.go index 4245c6c6336..98f3346980a 100644 --- a/zk/l1infotree/updater_test.go +++ b/zk/l1infotree/updater_test.go @@ -196,7 +196,7 @@ func TestUpdater_CheckForInfoTreeUpdates(t *testing.T) { err := updater.WarmUp(tx) assert.NoError(t, err) - _, err := updater.CheckForInfoTreeUpdates( + _, err = updater.CheckForInfoTreeUpdates( "TestUpdater_CheckForInfoTreeUpdates", tx, )