fix(ci): goimports with local-prefixes=github.com/luxfi/mpc

This commit is contained in:
2026-03-01 19:10:22 -08:00
parent a7152aaa0b
commit 538710c872
19 changed files with 26 additions and 9 deletions
+2 -1
View File
@@ -10,8 +10,9 @@ import (
"github.com/golang-jwt/jwt/v5"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
"golang.org/x/crypto/bcrypt"
"github.com/luxfi/mpc/pkg/db"
)
type JWTClaims struct {
+1
View File
@@ -4,6 +4,7 @@ import (
"net/http"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
)
+2 -1
View File
@@ -7,8 +7,9 @@ import (
"strings"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
"github.com/pquerna/otp/totp"
"github.com/luxfi/mpc/pkg/db"
)
func (s *Server) handleRegister(w http.ResponseWriter, r *http.Request) {
+2 -1
View File
@@ -7,8 +7,9 @@ import (
"time"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
"golang.org/x/crypto/sha3"
"github.com/luxfi/mpc/pkg/db"
)
// Bridge signing request — matches the bridge server's expected format.
+1
View File
@@ -8,6 +8,7 @@ import (
"time"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
)
+1
View File
@@ -5,6 +5,7 @@ import (
"net/http"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
)
+1
View File
@@ -6,6 +6,7 @@ import (
"net/http"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
"github.com/luxfi/mpc/pkg/smart"
)
+1
View File
@@ -6,6 +6,7 @@ import (
"time"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
)
+1
View File
@@ -8,6 +8,7 @@ import (
"time"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
)
+1
View File
@@ -6,6 +6,7 @@ import (
"net/http"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
)
+1
View File
@@ -6,6 +6,7 @@ import (
"net/http"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
)
+1
View File
@@ -6,6 +6,7 @@ import (
"net/http"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
)
+1
View File
@@ -5,6 +5,7 @@ import (
"net/http"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
)
+1
View File
@@ -8,6 +8,7 @@ import (
"github.com/go-chi/chi/v5"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
)
+1
View File
@@ -7,6 +7,7 @@ import (
"sort"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
)
+1
View File
@@ -5,6 +5,7 @@ import (
"time"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
"github.com/luxfi/mpc/pkg/logger"
)
+1
View File
@@ -11,6 +11,7 @@ import (
"time"
"github.com/hanzoai/orm"
"github.com/luxfi/mpc/pkg/db"
)
+3 -3
View File
@@ -249,9 +249,9 @@ func BuildUserOp(sender, to, value, callData string, nonce uint64) *UserOperatio
Nonce: nonceHex,
InitCode: "0x",
CallData: "0x" + hex.EncodeToString(execCalldata),
CallGasLimit: "0x15f90", // 90000 — caller should override with estimate
VerificationGasLimit: "0x186a0", // 100000
PreVerificationGas: "0xbb8", // 3000
CallGasLimit: "0x15f90", // 90000 — caller should override with estimate
VerificationGasLimit: "0x186a0", // 100000
PreVerificationGas: "0xbb8", // 3000
MaxFeePerGas: "0x3b9aca00", // 1 gwei
MaxPriorityFeePerGas: "0x3b9aca00",
PaymasterAndData: "0x",
+3 -3
View File
@@ -30,9 +30,9 @@ type SafeConfig struct {
// SafeTransaction represents a queued Safe transaction (EIP-712 typed).
type SafeTransaction struct {
To string `json:"to"`
Value string `json:"value"` // decimal wei
Data string `json:"data"` // 0x-prefixed hex calldata
Operation int `json:"operation"` // 0=Call, 1=DelegateCall
Value string `json:"value"` // decimal wei
Data string `json:"data"` // 0x-prefixed hex calldata
Operation int `json:"operation"` // 0=Call, 1=DelegateCall
SafeTxGas string `json:"safe_tx_gas"`
BaseGas string `json:"base_gas"`
GasPrice string `json:"gas_price"`