Skip to content

Commit

Permalink
add chain id to userOpWithHints
Browse files Browse the repository at this point in the history
  • Loading branch information
aanand1 committed Sep 5, 2024
1 parent 85e0cd9 commit 918c4f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/user_operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ func NewUserOperationPartialRaw(chainId uint64, userOp *UserOperation, hints []c
}

type UserOperationWithHintsRaw struct {
ChainId *hexutil.Big `json:"chainId" validate:"required"`
UserOperation *UserOperationRaw `json:"userOperation" validate:"required"`
Hints []common.Address `json:"hints"` // Optional
}
Expand Down

0 comments on commit 918c4f7

Please sign in to comment.