-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds confirmation code #1
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -0,0 +1,28 @@ | |||
name: Run Tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding some github actions so we can run tests up here as well
if (!['eip681', 'contractCall', 'eip712'].includes(payloadType)) { | ||
return res.status(400).json({ message: 'Invalid payload type, must be eip681 or contractCall' }); | ||
} | ||
|
||
const paymentUuid = uuid || uuidv4(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved all these checks to the service, and defined proper types for them. IN case we ever need to deserialize (asked Cursor for help)
dappName: payload.dappName, | ||
payloadType: payload.payloadType, | ||
|
||
additionalPayload: payload.additionalPayload, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be thrown into txParams
as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I should store this one as it's own column, wdyt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm yeah I guess its own column makes sense
- Configure tests and simple-git-hooks - Update jest to latest
- Simplify DB schema - Refactoring code on API controllers - Debugging with Postman - Adds payload types
- Adds additionalPayload column - Fixes all tests - Configures github actions for running tests on PRs - Remove simple-git-hooks. Was causing an error on git pipeline
7f2e6b0
to
1920b59
Compare
Still Pending
formatTxDataResponse
andformatTxMessageResponse