-
Notifications
You must be signed in to change notification settings - Fork 90
authorization list support on send-transaction #837
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
Conversation
…ate yarn.lock for dependency management
This PR is stale because it has been open for 7 days with no activity. Remove stale label or comment or this PR will be closed in 3 days. |
We're building your pull request over on Zeet. |
This PR is stale because it has been open for 7 days with no activity. Remove stale label or comment or this PR will be closed in 3 days. |
This PR is stale because it has been open for 7 days with no activity. Remove stale label or comment or this PR will be closed in 3 days. |
PR-Codex overview
This PR introduces error handling for invalid
BigInt
values and integrates authorization handling into transaction schemas and processing. It enhances type safety and validation for transactions, particularly withauthorizationList
.Detailed summary
badBigIntError
function for error handling insrc/server/middleware/error.ts
.InsertedTransaction
type to includeauthorizationList
insrc/shared/utils/transaction/types.ts
.requiredBigInt
function for validatingBigInt
values insrc/shared/utils/primitive-types.ts
.authorizationSchema
andauthorizationListSchema
insrc/server/schemas/transaction/authorization.ts
.toParsedAuthorization
function for parsing authorization data.sendTransaction
handler to includeauthorizationList
insrc/server/routes/backend-wallet/send-transaction.ts
.