-
Notifications
You must be signed in to change notification settings - Fork 3
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
Schema validation #462
base: v2
Are you sure you want to change the base?
Schema validation #462
Conversation
b79fd49
to
8eea648
Compare
8eea648
to
816e220
Compare
816e220
to
4d5ec7e
Compare
@JIOjosBG Before merging this, I suggest opening the extension and testing sign and broadcast on polygon. After we merge the eip-1559 branch, we should test everything on the avalanche chain as well as to be sure it's all working |
There was a problem with ajv's lazy compiling that resultet in the extension not loading. I updated the library and now it seems to work properly. Tested with sign hash for web wallet txn and broadcasting a swap on polygon via extension itself. |
…ire-common into feature/schema-validation
This PR:
a. Compiling ts interfaces via
compile:tsSchemas
scriptb. Validates them via the exported schemas object
libs/module/interfaces.ts
tointerfaces/module.ts