From 5d06bfc4e44dae78c710526c26a7e92ba4bd0f30 Mon Sep 17 00:00:00 2001 From: Mikelle Date: Thu, 25 Mar 2021 19:44:41 +0300 Subject: [PATCH] fixed synchronizer_test.go --- test/ethclient.go | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/test/ethclient.go b/test/ethclient.go index 9453f42..2090838 100644 --- a/test/ethclient.go +++ b/test/ethclient.go @@ -301,22 +301,11 @@ func NewClientSetupExample() *ClientSetup { HermezAuctionContract: ethCommon.HexToAddress("0x8E442975805fb1908f43050c9C1A522cB0e28D7b"), WithdrawDelayerContract: ethCommon.HexToAddress("0x5CB7979cBdbf65719BEE92e4D15b7b7Ed3D79114"), } - buckets := make([]common.BucketParams, 1) - for i := range buckets { - buckets[i] = common.BucketParams{ - CeilUSD: big.NewInt(0), - BlockStamp: big.NewInt(0), - Withdrawals: big.NewInt(0), - RateBlocks: big.NewInt(0), - RateWithdrawals: big.NewInt(0), - MaxWithdrawals: big.NewInt(0), - } - } rollupVariables := &common.RollupVariables{ FeeAddToken: big.NewInt(11), ForgeL1L2BatchTimeout: 10, WithdrawalDelay: 80, - Buckets: buckets, + Buckets: []common.BucketParams{}, } auctionConstants := &common.AuctionConstants{ BlocksPerSlot: 40,