Showing 1,971 of 13,422 total issues
Method IInbox.Initialize
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *IInbox) Initialize(opts *bind.TransactOpts, agentManager_ common.Address, origin_ common.Address, destination_ common.Address, summit_ common.Address) (*types.Transaction, error) {
Method IInbox.SubmitStateReportWithSnapshot
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *IInbox) SubmitStateReportWithSnapshot(opts *bind.TransactOpts, stateIndex uint8, srSignature []byte, snapPayload []byte, snapSignature []byte) (*types.Transaction, error) {
Function InitGuardDB
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func InitGuardDB(parentCtx context.Context, database string, path string, tablePrefix string, handler metrics.Handler) (_ db.GuardDB, err error) {
Method Guard.submitStateReport
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (g Guard) submitStateReport(ctx context.Context, chainID uint32, state types.State, stateIndex int, data types.StateValidationData) (err error) {
Method Store.StoreAgentTree
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ctx context.Context,
agentRoot [32]byte,
agentAddress common.Address,
blockNumber uint64,
proof [][32]byte,
Method lightInboxContract.SubmitAttestation
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
transactor *bind.TransactOpts,
attPayload []byte,
signature signer.Signature,
agentRoot [32]byte,
snapGas []*big.Int,
Function AgentsTypesStateToState
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func AgentsTypesStateToState(state agentsTypes.State, snapshotRoot [32]byte, proof [][]byte, stateIndex uint32, blockNumber uint64) (State, error) {
Method Store.StoreStates
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (s Store) StoreStates(ctx context.Context, states []agentsTypes.State, snapshotRoot [32]byte, proofs [][][]byte, blockNumber uint64) error {
Method Store.StoreMessage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (s Store) StoreMessage(ctx context.Context, message agentsTypes.Message, blockNumber uint64, minimumTimeSet bool, minimumTime uint64) error {
Method IInbox.VerifyStateWithAttestation
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *IInbox) VerifyStateWithAttestation(opts *bind.TransactOpts, stateIndex uint8, snapPayload []byte, attPayload []byte, attSignature []byte) (*types.Transaction, error) {
Function InitExecutorDB
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func InitExecutorDB(parentCtx context.Context, database string, path string, tablePrefix string, handler metrics.Handler) (_ db.ExecutorDB, err error) {
Method lightInboxContract.SubmitStateReportWithSnapshot
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (a lightInboxContract) SubmitStateReportWithSnapshot(transactor *bind.TransactOpts, stateIndex uint8, signature signer.Signature, snapPayload []byte, snapSignature []byte) (tx *ethTypes.Transaction, err error) {
Method lightInboxContract.VerifyStateWithAttestation
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (a lightInboxContract) VerifyStateWithAttestation(transactor *bind.TransactOpts, stateIndex uint8, snapPayload []byte, attPayload []byte, attSignature []byte) (tx *ethTypes.Transaction, err error) {
Method ILightInbox.SubmitAttestation
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *ILightInbox) SubmitAttestation(opts *bind.TransactOpts, attPayload []byte, attSignature []byte, agentRoot_ [32]byte, snapGas_ []*big.Int) (*types.Transaction, error) {
Method IInbox.PassReceipt
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *IInbox) PassReceipt(opts *bind.TransactOpts, attNotaryIndex uint32, attNonce uint32, paddedTips *big.Int, rcptPayload []byte) (*types.Transaction, error) {
Function InitNotaryDB
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func InitNotaryDB(parentCtx context.Context, database string, path string, tablePrefix string, handler metrics.Handler) (_ db.NotaryDB, err error) {
Function NewNotary
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func NewNotary(ctx context.Context, cfg config.AgentConfig, omniRPCClient omnirpcClient.RPCClient, txDB db.NotaryDB, handler metrics.Handler) (_ Notary, err error) {
Method ILightManager.RemoteWithdrawTips
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *ILightManager) RemoteWithdrawTips(opts *bind.TransactOpts, msgOrigin uint32, proofMaturity *big.Int, recipient common.Address, amount *big.Int) (*types.Transaction, error) {
Function NewAttestation
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func NewAttestation(snapshotRoot [32]byte, dataHash [32]byte, nonce uint32, blockNumber *big.Int, timestamp *big.Int) Attestation {
Function NewRateLimiter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
cfg relconfig.Config,
l LatestBlockFetcher,
q quoter.Quoter,
metricHandler metrics.Handler,
tokens map[string]relconfig.TokenConfig,