Ariella Vu
7cfa454570
Storybook: add SignatureRequestOriginal ( #14707 )
...
* SB: add SignatureRequestOriginal
* SB:SignatureRequestOriginal: add reusable Template
* SB:SignatureRequestOriginal: add args
missing isRequired args
* SB:SignatureRequestOriginal: add eth_signTypedData
* SB:SignatureRequestOriginal: update README.mdx
* SB:README: update description
* SignatureRequestOriginal: destruct mock value
3 years ago
Ariella Vu
1464ab724f
Storybook: Fix SignatureRequest component ( #14706 )
...
* SB:SignatureRequest: fix control type
* SB:SignatureRequest: fix args
expected by sanitizeMessage
* SignatureRequests: cleanup
3 years ago
Thomas Huang
dbe89049bd
Unit test proptype ( #14564 )
...
* Change import file to root index
* Properly set showFiat proptype to bool
3 years ago
dragana8
d01a2ad7e5
Overall CSS #13441 ( #13902 )
...
* styling updates
Co-authored-by: Alex Donesky <adonesky@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
3 years ago
dragana8
a0c4febfce
"Cancel/reject all" for signature requests #13201 ( #13786 )
3 years ago
Frederik Bolding
c2cd6f8097
Bump `addons-linter` ( #14717 )
...
* Bump addons-linter
* Deduplicate yarn.lock
* Rerun yarn install and LavaMoat policy gen
3 years ago
Brad Decker
ae4efef43e
add networks without ticker trait ( #14607 )
...
* add networks without ticker trait
3 years ago
Lachlan Tweedie
eee4cc3100
Add Coinbase Pay as fiat onramp option ( #14648 )
3 years ago
Alex Donesky
23565cac2c
Bump @metamask/controllers version, remove patches ( #14618 )
3 years ago
Hassan Malik
a3917763d4
Removed onExecutionEnvironmentError ( #14698 )
...
* used correct method to stop snap
* removed dead code, snap controller already subscribes to execution environment errors
* fixed linting error
3 years ago
Daniel
d305dcba9d
Change styles for the high price impact notification in Swaps ( #14697 )
3 years ago
Bowen Sanders
77c1100858
create e2e test for manageState snap ( #14699 )
3 years ago
Dan J Miller
8948018e5a
Ensure ledger keyring message event listener are removed on metamask lock ( #14691 )
...
* Ensure ledger keyring message event listener are removed on metamask lock
* Clean up
3 years ago
Alex Donesky
5e55cf2cf2
add case in useTransactionDisplayData to handle transaction type safeTransferFrom ( #14678 )
...
* add case in useTransactionDisplayData to handle transaction type safeTransferFrom
* add test
3 years ago
kumavis
02d374fde0
deps - patch secp256k1 for fast module init via lazy loading ( #14677 )
3 years ago
Niranjana Binoy
6c757ab5e0
Event tracking for Token Detection V2 ( #14441 )
3 years ago
Erik Marks
4b2cd0ef7a
Fix Snaps view search ( #14693 )
...
Closes #14687
Snap IDs were not properly encoded (and decoded) as URI components in the Snaps view search implementation. This ensures that they are.
3 years ago
Daniel
9a153d2388
Remove gas editing in Swaps ( #14673 )
...
* Remove gas editing in Swaps
* Remove "extraApprovalGas"
3 years ago
Frederik Bolding
b258cbafe7
Remove confirmation for terminated snaps ( #14566 )
3 years ago
PeterYinusa
12cda5eb2d
Chromedriver v101 ( #14617 )
...
* update chromedriver package
* update chrome binary used in ci
3 years ago
Frederik Bolding
2dac88cbf4
snaps-skunkworks@0.12.0 ( #14670 )
...
* snaps-skunkworks@0.12.0
* Bump iframe execution environment
* Remove policy override
* Rerun LavaMoat
Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
3 years ago
PeterYinusa
890e0ed70f
Fix auto-lock e2e test ( #14685 )
...
Fixes auto lock e2e tests introduced in https://github.com/MetaMask/metamask-extension/pull/14624
3 years ago
ryanml
54292f6c81
Fix eth_sign 'Learn more' dialog link ( #14667 )
3 years ago
George Marshall
23f4b58dca
Updating alert text color ( #14674 )
3 years ago
PeterYinusa
f47d02b72a
Auto lock e2e ( #14624 )
...
* add auto lock e2e test
* fix console errors
3 years ago
kumavis
55e88a0e8e
lavamoat - bump for stats support ( #14641 )
...
* lavamoat - bump for stats support
* lavamoat - update policy
* deps - dedupe lockfile
3 years ago
VSaric
833eaa61c1
Fix Ropsten Test Network icon ( #14626 )
3 years ago
Ariella Vu
98c7515344
TransactionListItem: fix save/cancel rounded btn ( #14659 )
3 years ago
Niranjana Binoy
0a10b425ea
Add New Tokens Found page ( #14366 )
3 years ago
Daniel
2bd7127433
Swaps / STX improvements ( #14622 )
3 years ago
Frederik Bolding
9e401b14bf
Simplify removeSnap functionality after snaps-skunkworks update ( #14646 )
3 years ago
ryanml
a2ea1cacc8
Fixing Speed up/Cancel information text ( #14551 )
...
* Fixing Speed up/Cancel information text
* Adding tests
3 years ago
Frederik Bolding
fa9d703aa0
Fix SRP paste duplication ( #14625 )
...
* Fix SRP paste duplication
* Remove else-case for paste event
* Add E2E test that would catch this issue in the future
* Fix linting
3 years ago
kumavis
07da8ce589
LavaMoat - UI upgrade - secure package naming ( #14565 )
...
* lavamoat - update lavamoat-browserify to v15
* lavamoat/ui - unify override across build types
* lavamoat/ui - update policy overrides
* lavamoat - update to lavapack@3 to match lavamoat-browserify@15
* lavamoat - add missing policy
* lavamoat - add missing nanoid policy
* lavamoat - regenerate policy
* deps - update lock
* lavamoat - update policy
* lavamoat - update policy
3 years ago
PeterYinusa
b0ad0cb1f3
E2e send tests ( #14568 )
...
* update fill method
* remove redundant steps
* remove arbitrary delays
3 years ago
Alex Miller
32a82be2b6
[GridPlus] Updates Lattice-related modules to unlock functionality ( #14467 )
...
GridPlus has updated the EVM signing pathway in Lattice firmware,
which has not yet been released. Additionally, requesters can now
include ABI definitions with signing requests, which are used by
Lattice firmware to decode calldata in place.
All updates are backward compatable.
Updates:
* https://github.com/GridPlus/gridplus-sdk/compare/v1.1.6...v1.2.4
* https://github.com/GridPlus/eth-lattice-keyring/compare/v0.6.1...v0.7.3
3 years ago
Frederik Bolding
c3071b273b
slip44@2.1.0 ( #14619 )
3 years ago
Mark Stacey
91fd8342dc
Reproducible `.zip` files ( #14623 )
...
* Create `.zip` files deterministically
Our build system now creates `.zip` archives deterministically.
Previously the `.zip` file would differ between builds even when the
files being archived were identical. This was because the order the
files were passed in was non-deterministic, and the `mtime` for each
file was different between builds.
The files are now sorted before being zipped, and the `mtime` for each
file has been set to the unix epoch.
* Update lavamoat build policy
3 years ago
Alex Donesky
4550a10d32
fix incorrect casing of includeUsdRate option passed to CurrencyRateController ( #14615 )
3 years ago
Mark Stacey
f3b7a656fc
Fix redundant entry in lockfile ( #14616 )
...
The lockfile would change upon install due to a redundant entry. This
seems to have been introduced in #14612 as a result of running
`yarn-deduplicate`.
3 years ago
Brad Decker
564ad2f81b
Track send flow history on txMeta ( #14510 )
3 years ago
PeterYinusa
4127583224
Jest tests - incremental coverage ( #14612 )
...
* add jest-it-up dependancy
* add reporter
* post test run jest-it-up
* Add CI check
* update coverage
* deduplicate dependancies
3 years ago
kumavis
5524f224b2
build - update bify-module-groups for build determinism ( #14610 )
3 years ago
David Walsh
8a71f0f008
Add search information for Theme dropdown ( #14476 )
3 years ago
Ariella Vu
f926925b3f
metametrics: deprecate flatMap ( #14608 )
3 years ago
Mark Stacey
23e3f52a04
Update version parsing to allow rollback release ( #14288 )
...
* Update version parsing to allow rollback release
When we want to rollback a release on Chrome, sometimes we use the
fourth part of the version for the rollback release. This is because
the Chrome web stores does not directly allow rolling back, but instead
requires us to re-submit the release we want to roll back to with a
higher version number.
The manifest version parsing now allows for a fourth version part.
The comments have also been updated to be more descriptive, and to fix
a minor inaccuracy.
* Fix typo in comment
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
3 years ago
Kevin Ghim
6bf87b83a6
Update bug-report.yml ( #14466 )
...
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
3 years ago
Daniel
9daab6aa59
Disable STX if a regular tx is in progress ( #14554 )
...
* Disable STX if a regular tx is in progress
* disableStxIfRegularTxInProgress : early return
* Fix UTs
* Trigger Build
3 years ago
Erik Marks
6915dd1a57
Fix development build scripts ( #14594 )
...
#14583 broke the development build scripts (e.g. `yarn start`) by adding a positional argument to a package script (`build:dev`) that is used and passed positional arguments in the build script itself. This PR removes the positional argument from the `build:dev` script and `yarn start` now works again. In addition, the `--apply-lavamoat` flag is properly forwarded to child processes, which was not the case in the original implementation.
To test, `yarn start` should work and LavaMoat should _not_ be applied, in distinction to `yarn build:dev dev --apply-lavamoat=true`. Whether LavaMoat is applied can be determined by checking whether `Object.isFrozen(Object.prototype)` is `true` (with LavaMoat) or `false` (without LavaMoat).
3 years ago
Frederik Bolding
3b3a680682
Stop using 4bytes for contract deployment ( #14598 )
3 years ago