mirror of
https://github.com/luxfi/mpc.git
synced 2026-09-24 00:26:24 +00:00
fix(ci): goimports with local-prefixes=github.com/luxfi/mpc
This commit is contained in:
+2
-1
@@ -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 {
|
||||
|
||||
@@ -4,6 +4,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
)
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -8,6 +8,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
"github.com/luxfi/mpc/pkg/smart"
|
||||
)
|
||||
|
||||
@@ -6,6 +6,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
)
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
)
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import (
|
||||
"net/http"
|
||||
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
)
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ import (
|
||||
|
||||
"github.com/go-chi/chi/v5"
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
)
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ import (
|
||||
"sort"
|
||||
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
"github.com/luxfi/mpc/pkg/logger"
|
||||
)
|
||||
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/hanzoai/orm"
|
||||
|
||||
"github.com/luxfi/mpc/pkg/db"
|
||||
)
|
||||
|
||||
|
||||
@@ -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
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user