1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Update tx data for simpleSends and add isBestQuote to swaps data (#14496)

This commit is contained in:
Thomas Huang 2022-04-22 00:04:37 -07:00 committed by GitHub
parent 0fd1cea1fe
commit 34d43e66ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -19,7 +19,7 @@
"type": "0x2" "type": "0x2"
}, },
"origin": "metamask", "origin": "metamask",
"type": "sentEther", "type": "simpleSend",
"history": [ "history": [
{ {
"id": 6854191329910881, "id": 6854191329910881,
@ -39,7 +39,7 @@
"type": "0x2" "type": "0x2"
}, },
"origin": "metamask", "origin": "metamask",
"type": "sentEther" "type": "simpleSend"
}, },
[ [
{ {
@ -95,7 +95,7 @@
"type": "0x2" "type": "0x2"
}, },
"origin": "metamask", "origin": "metamask",
"type": "sentEther", "type": "simpleSend",
"history": [ "history": [
{ {
"id": 6854191329910881, "id": 6854191329910881,
@ -115,7 +115,7 @@
"type": "0x2" "type": "0x2"
}, },
"origin": "metamask", "origin": "metamask",
"type": "sentEther" "type": "simpleSend"
}, },
[ [
{ {
@ -172,7 +172,7 @@
"type": "0x2" "type": "0x2"
}, },
"origin": "metamask", "origin": "metamask",
"type": "sentEther", "type": "simpleSend",
"history": [ "history": [
{ {
"id": 6854191329910881, "id": 6854191329910881,
@ -192,7 +192,7 @@
"type": "0x2" "type": "0x2"
}, },
"origin": "metamask", "origin": "metamask",
"type": "sentEther" "type": "simpleSend"
}, },
[ [
{ {

View File

@ -244,6 +244,7 @@ export const createSwapsMockStore = () => {
fetchTime: 1354, fetchTime: 1354,
aggregator: 'TEST_AGG_2', aggregator: 'TEST_AGG_2',
aggType: 'AGG', aggType: 'AGG',
isBestQuote: true,
slippage: 2, slippage: 2,
sourceTokenInfo: { sourceTokenInfo: {
address: '0x6b175474e89094c44da98b954eedeac495271d0f', address: '0x6b175474e89094c44da98b954eedeac495271d0f',