arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
Remove nolints
Eduard S eduard@iden3.io
Thu, 08 Oct 2020 16:40:12 +0200
commit

d1002721f7669a71438568ca9ea1b38b7038b699

parent

cbc46db6dace9c431abf0709bc781f739f4414a5

3 files changed, 3 insertions(+), 7 deletions(-)

jump to
M eth/auction.go → eth/auction.go

@@ -168,7 +168,7 @@ Amount *big.Int

} // AuctionEvents is the list of events in a block of the Auction Smart Contract -type AuctionEvents struct { //nolint:structcheck +type AuctionEvents struct { NewBid []AuctionEventNewBid NewSlotDeadline []AuctionEventNewSlotDeadline NewClosedAuctionSlots []AuctionEventNewClosedAuctionSlots
M eth/rollup.go → eth/rollup.go

@@ -150,7 +150,6 @@ WithdrawalDelay uint64

} // QueueStruct is the queue of L1Txs for a batch -//nolint:structcheck type QueueStruct struct { L1TxQueue []common.L1Tx TotalL1TxFee *big.Int

@@ -171,7 +170,6 @@ NLevels int64

} // RollupState represents the state of the Rollup in the Smart Contract -//nolint:structcheck,unused type RollupState struct { StateRoot *big.Int ExitRoots []*big.Int

@@ -229,7 +227,7 @@ InstantWithdraw bool

} // RollupEvents is the list of events in a block of the Rollup Smart Contract -type RollupEvents struct { //nolint:structcheck +type RollupEvents struct { L1UserTx []RollupEventL1UserTx AddToken []RollupEventAddToken ForgeBatch []RollupEventForgeBatch

@@ -251,7 +249,6 @@ }

} // RollupForgeBatchArgs are the arguments to the ForgeBatch function in the Rollup Smart Contract -//nolint:structcheck,unused type RollupForgeBatchArgs struct { NewLastIdx int64 NewStRoot *big.Int

@@ -269,7 +266,6 @@ ProofC [2]*big.Int

} // RollupForgeBatchArgsAux are the arguments to the ForgeBatch function in the Rollup Smart Contract -//nolint:structcheck,unused type RollupForgeBatchArgsAux struct { NewLastIdx *big.Int NewStRoot *big.Int
M eth/wdelayer.go → eth/wdelayer.go

@@ -80,7 +80,7 @@ NewHermezGovernanceDAOAddress ethCommon.Address

} // WDelayerEvents is the lis of events in a block of the WithdrawalDelayer Smart Contract -type WDelayerEvents struct { //nolint:structcheck +type WDelayerEvents struct { Deposit []WDelayerEventDeposit Withdraw []WDelayerEventWithdraw EmergencyModeEnabled []WDelayerEventEmergencyModeEnabled