mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Remove nolints
This commit is contained in:
@@ -168,7 +168,7 @@ type AuctionEventHEZClaimed struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// AuctionEvents is the list of events in a block of the Auction Smart Contract
|
// AuctionEvents is the list of events in a block of the Auction Smart Contract
|
||||||
type AuctionEvents struct { //nolint:structcheck
|
type AuctionEvents struct {
|
||||||
NewBid []AuctionEventNewBid
|
NewBid []AuctionEventNewBid
|
||||||
NewSlotDeadline []AuctionEventNewSlotDeadline
|
NewSlotDeadline []AuctionEventNewSlotDeadline
|
||||||
NewClosedAuctionSlots []AuctionEventNewClosedAuctionSlots
|
NewClosedAuctionSlots []AuctionEventNewClosedAuctionSlots
|
||||||
|
|||||||
@@ -150,7 +150,6 @@ type RollupVariables struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// QueueStruct is the queue of L1Txs for a batch
|
// QueueStruct is the queue of L1Txs for a batch
|
||||||
//nolint:structcheck
|
|
||||||
type QueueStruct struct {
|
type QueueStruct struct {
|
||||||
L1TxQueue []common.L1Tx
|
L1TxQueue []common.L1Tx
|
||||||
TotalL1TxFee *big.Int
|
TotalL1TxFee *big.Int
|
||||||
@@ -171,7 +170,6 @@ type RollupVerifierStruct struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// RollupState represents the state of the Rollup in the Smart Contract
|
// RollupState represents the state of the Rollup in the Smart Contract
|
||||||
//nolint:structcheck,unused
|
|
||||||
type RollupState struct {
|
type RollupState struct {
|
||||||
StateRoot *big.Int
|
StateRoot *big.Int
|
||||||
ExitRoots []*big.Int
|
ExitRoots []*big.Int
|
||||||
@@ -229,7 +227,7 @@ type RollupEventWithdrawEvent struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// RollupEvents is the list of events in a block of the Rollup Smart Contract
|
// RollupEvents is the list of events in a block of the Rollup Smart Contract
|
||||||
type RollupEvents struct { //nolint:structcheck
|
type RollupEvents struct {
|
||||||
L1UserTx []RollupEventL1UserTx
|
L1UserTx []RollupEventL1UserTx
|
||||||
AddToken []RollupEventAddToken
|
AddToken []RollupEventAddToken
|
||||||
ForgeBatch []RollupEventForgeBatch
|
ForgeBatch []RollupEventForgeBatch
|
||||||
@@ -251,7 +249,6 @@ func NewRollupEvents() RollupEvents {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// RollupForgeBatchArgs are the arguments to the ForgeBatch function in the Rollup Smart Contract
|
// RollupForgeBatchArgs are the arguments to the ForgeBatch function in the Rollup Smart Contract
|
||||||
//nolint:structcheck,unused
|
|
||||||
type RollupForgeBatchArgs struct {
|
type RollupForgeBatchArgs struct {
|
||||||
NewLastIdx int64
|
NewLastIdx int64
|
||||||
NewStRoot *big.Int
|
NewStRoot *big.Int
|
||||||
@@ -269,7 +266,6 @@ type RollupForgeBatchArgs struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// RollupForgeBatchArgsAux are the arguments to the ForgeBatch function in the Rollup Smart Contract
|
// RollupForgeBatchArgsAux are the arguments to the ForgeBatch function in the Rollup Smart Contract
|
||||||
//nolint:structcheck,unused
|
|
||||||
type RollupForgeBatchArgsAux struct {
|
type RollupForgeBatchArgsAux struct {
|
||||||
NewLastIdx *big.Int
|
NewLastIdx *big.Int
|
||||||
NewStRoot *big.Int
|
NewStRoot *big.Int
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ type WDelayerEventNewHermezGovernanceDAOAddress struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// WDelayerEvents is the lis of events in a block of the WithdrawalDelayer Smart Contract
|
// WDelayerEvents is the lis of events in a block of the WithdrawalDelayer Smart Contract
|
||||||
type WDelayerEvents struct { //nolint:structcheck
|
type WDelayerEvents struct {
|
||||||
Deposit []WDelayerEventDeposit
|
Deposit []WDelayerEventDeposit
|
||||||
Withdraw []WDelayerEventWithdraw
|
Withdraw []WDelayerEventWithdraw
|
||||||
EmergencyModeEnabled []WDelayerEventEmergencyModeEnabled
|
EmergencyModeEnabled []WDelayerEventEmergencyModeEnabled
|
||||||
|
|||||||
Reference in New Issue
Block a user