Skip to content

Commit

Permalink
remove unneeded schema changes
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-lee-cb committed Oct 1, 2024
1 parent 43c4223 commit 29f5f65
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.

This file was deleted.

2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ model ContactlessPaymentTxOrMsg {
payloadType String
chainId String
txParams Json?
rpcProxySubmissionParams String? // stored as a stringified Json to preserve field order
rpcProxySubmissionParams Json?
additionalPayload Json?
dappName String?
dappUrl String?
Expand Down
1 change: 1 addition & 0 deletions src/services/paymentTxOrMsgService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export const createPaymentTxOrMsg = async (payload: Payload) => {
};
} else if (isEip712Payload(payload)) {
// noop, rpcProxySubmissionParams contains the message needed to be signed and submitted
// TODO (Justin): Make this work for Slice
txParams = {};
} else {
throw new Error('Invalid payload type');
Expand Down

0 comments on commit 29f5f65

Please sign in to comment.