-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support typed data #343
Support typed data #343
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #343 +/- ##
==========================================
+ Coverage 63.74% 64.93% +1.19%
==========================================
Files 68 67 -1
Lines 8570 9087 +517
==========================================
+ Hits 5463 5901 +438
- Misses 3107 3186 +79
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
…to-notify-client-the-mutation-has-been-processed
This PR exceeds the recommended size of 1200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
This PR exceeds the recommended size of 1200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
This PR exceeds the recommended size of 1200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
This PR exceeds the recommended size of 1200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
This PR exceeds the recommended size of 1200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
This PR exceeds the recommended size of 1200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
Background
let users connect to the db3 network safely with Metamask
Why typed data
It's safe to sign none transaction data with Metamask
Integrate with Metamask
The implementation
add a new mutation type to wrap the other mutation
db3/src/proto/proto/db3_mutation.proto
Lines 72 to 78 in 0a95405
the types of typed data
db3/src/sdk/src/mutation_sdk.rs
Lines 48 to 55 in 0a95405