feat: Add PPOM Validation to normal send.#22321
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #22321 +/- ##
===========================================
+ Coverage 68.13% 68.14% +0.01%
===========================================
Files 1087 1087
Lines 42665 42676 +11
Branches 11349 11351 +2
===========================================
+ Hits 29066 29079 +13
+ Misses 13599 13597 -2 ☔ View full report in Codecov by Sentry. |
Builds ready [e487671]
Page Load Metrics (1350 ± 156 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
e487671 to
874869f
Compare
|
It will be nice to also have some test coverage in the PR. |
Builds ready [874869f]
Page Load Metrics (1607 ± 144 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
874869f to
dafa308
Compare
Builds ready [dafa308]
Page Load Metrics (1202 ± 93 ms)
|
dafa308 to
c66ee3d
Compare
Builds ready [c66ee3d]
Page Load Metrics (1227 ± 109 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
|
I think the screen recording in the description's "After" needs to be updated. not seeing the banner alert in it cc: @segun |
Builds ready [91ec78a]
Page Load Metrics (778 ± 26 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
91ec78a to
cd3bc5d
Compare
Builds ready [8eac590]
Page Load Metrics (789 ± 30 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [7cfe269]
Page Load Metrics (807 ± 24 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
code fencing Lint fix. Log e. No need for optional chaining use log.error Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> Test case for rendering blockaid banner on send.
61cee15 to
33375bb
Compare
Builds ready [33375bb]
Page Load Metrics (810 ± 26 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Currently we send ppom validation requests only for incoming requests, this PR adds ppom validation for send requests from wallets too.
Related issues
Fixes: #1657
Manual testing steps
0x5FbDB2315678afecb367f032d93F642f64180aa30x5FbDB2315678afecb367f032d93F642f64180aa3Screenshots/Recordings
Before
old_ppom.mov
After
new_ppom.mov
Pre-merge author checklist
Pre-merge reviewer checklist