Skip to content

Commit

Permalink
update snapshot for src/__tests__/unit/editTransaction/getFormattedFe…
Browse files Browse the repository at this point in the history
…eFields.test.ts
  • Loading branch information
lvndry committed Jan 4, 2024
1 parent 1df1c56 commit 92ca577
Showing 1 changed file with 180 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,15 @@ exports[`getFormattedFeeFields with tx type 0 with locale de-DE should correctly
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale de-DE should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0,000105 ETH",
"formattedGasPrice": "5 Gwei",
"formattedMaxFeePerGas": "0 Gwei",
"formattedMaxPriorityFeePerGas": "0 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale de-DE should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0,000105 LYX",
Expand Down Expand Up @@ -810,6 +819,15 @@ exports[`getFormattedFeeFields with tx type 0 with locale en-US should correctly
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale en-US should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0.000105 ETH",
"formattedGasPrice": "5 Gwei",
"formattedMaxFeePerGas": "0 Gwei",
"formattedMaxPriorityFeePerGas": "0 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale en-US should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0.000105 LYX",
Expand Down Expand Up @@ -1323,6 +1341,15 @@ exports[`getFormattedFeeFields with tx type 0 with locale es-ES should correctly
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale es-ES should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0,000105 ETH",
"formattedGasPrice": "5 Gwei",
"formattedMaxFeePerGas": "0 Gwei",
"formattedMaxPriorityFeePerGas": "0 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale es-ES should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0,000105 LYX",
Expand Down Expand Up @@ -1836,6 +1863,15 @@ exports[`getFormattedFeeFields with tx type 0 with locale fr-FR should correctly
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale fr-FR should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0,000105 ETH",
"formattedGasPrice": "5 Gwei",
"formattedMaxFeePerGas": "0 Gwei",
"formattedMaxPriorityFeePerGas": "0 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale fr-FR should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0,000105 LYX",
Expand Down Expand Up @@ -2349,6 +2385,15 @@ exports[`getFormattedFeeFields with tx type 0 with locale ja-JP should correctly
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale ja-JP should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0.000105 ETH",
"formattedGasPrice": "5 Gwei",
"formattedMaxFeePerGas": "0 Gwei",
"formattedMaxPriorityFeePerGas": "0 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale ja-JP should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0.000105 LYX",
Expand Down Expand Up @@ -2862,6 +2907,15 @@ exports[`getFormattedFeeFields with tx type 0 with locale ko-KR should correctly
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale ko-KR should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0.000105 ETH",
"formattedGasPrice": "5 Gwei",
"formattedMaxFeePerGas": "0 Gwei",
"formattedMaxPriorityFeePerGas": "0 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale ko-KR should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0.000105 LYX",
Expand Down Expand Up @@ -3375,6 +3429,15 @@ exports[`getFormattedFeeFields with tx type 0 with locale pt-BR should correctly
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale pt-BR should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0,000105 ETH",
"formattedGasPrice": "5 Gwei",
"formattedMaxFeePerGas": "0 Gwei",
"formattedMaxPriorityFeePerGas": "0 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale pt-BR should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0,000105 LYX",
Expand Down Expand Up @@ -3888,6 +3951,15 @@ exports[`getFormattedFeeFields with tx type 0 with locale ru-RU should correctly
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale ru-RU should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0,000105 ETH",
"formattedGasPrice": "5 Gwei",
"formattedMaxFeePerGas": "0 Gwei",
"formattedMaxPriorityFeePerGas": "0 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale ru-RU should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0,000105 LYX",
Expand Down Expand Up @@ -4401,6 +4473,15 @@ exports[`getFormattedFeeFields with tx type 0 with locale tr-TR should correctly
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale tr-TR should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0,000105 ETH",
"formattedGasPrice": "5 Gwei",
"formattedMaxFeePerGas": "0 Gwei",
"formattedMaxPriorityFeePerGas": "0 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale tr-TR should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0,000105 LYX",
Expand Down Expand Up @@ -4914,6 +4995,15 @@ exports[`getFormattedFeeFields with tx type 0 with locale zh-CN should correctly
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale zh-CN should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0.000105 ETH",
"formattedGasPrice": "5 Gwei",
"formattedMaxFeePerGas": "0 Gwei",
"formattedMaxPriorityFeePerGas": "0 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 0 with locale zh-CN should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0.000105 LYX",
Expand Down Expand Up @@ -5427,6 +5517,15 @@ exports[`getFormattedFeeFields with tx type 2 with locale de-DE should correctly
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale de-DE should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0,000042 ETH",
"formattedGasPrice": "0 Gwei",
"formattedMaxFeePerGas": "2 Gwei",
"formattedMaxPriorityFeePerGas": "1 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale de-DE should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0,000042 LYX",
Expand Down Expand Up @@ -5940,6 +6039,15 @@ exports[`getFormattedFeeFields with tx type 2 with locale en-US should correctly
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale en-US should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0.000042 ETH",
"formattedGasPrice": "0 Gwei",
"formattedMaxFeePerGas": "2 Gwei",
"formattedMaxPriorityFeePerGas": "1 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale en-US should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0.000042 LYX",
Expand Down Expand Up @@ -6453,6 +6561,15 @@ exports[`getFormattedFeeFields with tx type 2 with locale es-ES should correctly
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale es-ES should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0,000042 ETH",
"formattedGasPrice": "0 Gwei",
"formattedMaxFeePerGas": "2 Gwei",
"formattedMaxPriorityFeePerGas": "1 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale es-ES should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0,000042 LYX",
Expand Down Expand Up @@ -6966,6 +7083,15 @@ exports[`getFormattedFeeFields with tx type 2 with locale fr-FR should correctly
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale fr-FR should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0,000042 ETH",
"formattedGasPrice": "0 Gwei",
"formattedMaxFeePerGas": "2 Gwei",
"formattedMaxPriorityFeePerGas": "1 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale fr-FR should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0,000042 LYX",
Expand Down Expand Up @@ -7479,6 +7605,15 @@ exports[`getFormattedFeeFields with tx type 2 with locale ja-JP should correctly
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale ja-JP should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0.000042 ETH",
"formattedGasPrice": "0 Gwei",
"formattedMaxFeePerGas": "2 Gwei",
"formattedMaxPriorityFeePerGas": "1 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale ja-JP should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0.000042 LYX",
Expand Down Expand Up @@ -7992,6 +8127,15 @@ exports[`getFormattedFeeFields with tx type 2 with locale ko-KR should correctly
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale ko-KR should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0.000042 ETH",
"formattedGasPrice": "0 Gwei",
"formattedMaxFeePerGas": "2 Gwei",
"formattedMaxPriorityFeePerGas": "1 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale ko-KR should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0.000042 LYX",
Expand Down Expand Up @@ -8505,6 +8649,15 @@ exports[`getFormattedFeeFields with tx type 2 with locale pt-BR should correctly
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale pt-BR should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0,000042 ETH",
"formattedGasPrice": "0 Gwei",
"formattedMaxFeePerGas": "2 Gwei",
"formattedMaxPriorityFeePerGas": "1 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale pt-BR should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0,000042 LYX",
Expand Down Expand Up @@ -9018,6 +9171,15 @@ exports[`getFormattedFeeFields with tx type 2 with locale ru-RU should correctly
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale ru-RU should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0,000042 ETH",
"formattedGasPrice": "0 Gwei",
"formattedMaxFeePerGas": "2 Gwei",
"formattedMaxPriorityFeePerGas": "1 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale ru-RU should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0,000042 LYX",
Expand Down Expand Up @@ -9531,6 +9693,15 @@ exports[`getFormattedFeeFields with tx type 2 with locale tr-TR should correctly
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale tr-TR should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0,000042 ETH",
"formattedGasPrice": "0 Gwei",
"formattedMaxFeePerGas": "2 Gwei",
"formattedMaxPriorityFeePerGas": "1 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale tr-TR should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0,000042 LYX",
Expand Down Expand Up @@ -10044,6 +10215,15 @@ exports[`getFormattedFeeFields with tx type 2 with locale zh-CN should correctly
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale zh-CN should correctly format fee fields for Linea unit 1`] = `
{
"formattedFeeValue": "0.000042 ETH",
"formattedGasPrice": "0 Gwei",
"formattedMaxFeePerGas": "2 Gwei",
"formattedMaxPriorityFeePerGas": "1 Gwei",
}
`;

exports[`getFormattedFeeFields with tx type 2 with locale zh-CN should correctly format fee fields for Lukso unit 1`] = `
{
"formattedFeeValue": "0.000042 LYX",
Expand Down

3 comments on commit 92ca577

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Bot] Testing with 'Nitrogen' 💰 1 miss funds ($0.00) ⏲ 50.8s

💰 1 specs may miss funds: Linea

What is the bot and how does it work? Everything is documented here!

⚠️ 2 spec hints
  • Spec Linea:
    • There are not enough accounts (2) to cover all mutations (3).
      Please increase the account target to at least 4 accounts
    • No mutation were found possible. Yet there are funds in the accounts, please investigate.
Details of the 0 mutations

Spec Linea (2)

Spec Linea found 2 Linea accounts (preload: 909ms). Will use Ethereum 1.10.3 on nanoS 2.1.0
Linea 1 cross: 0.0009 ETH (1ops) (0x60A4E7657D8df28594ac4A06CDe01E18E948a892 on 44'/60'/0'/0/0) #0 js:2:linea:0x60A4E7657D8df28594ac4A06CDe01E18E948a892:
Linea 2: 0 ETH (0ops) (0x90bD48144e08b66490BcA9a756BDe9f004F17857 on 44'/60'/1'/0/0) #1 js:2:linea:0x90bD48144e08b66490BcA9a756BDe9f004F17857:

Details of the 3 uncovered mutations

Spec Linea (3)

  • move 50%: linea balance is too low (2)
  • send max: linea balance is too low (2)
  • move some ERC20 like (ERC20, BEP20, etc...): linea balance is too low (2)
Portfolio ($0.00) – Details of the 1 currencies
Spec (accounts) State Remaining Runs (est) funds?
Linea (2) 1 ops , 0.0009 ETH ($0.00) ⚠️ 5 0x60A4E7657D8df28594ac4A06CDe01E18E948a892
Linea 1 cross: 0.0009 ETH (1ops) (0x60A4E7657D8df28594ac4A06CDe01E18E948a892 on 44'/60'/0'/0/0) #0 js:2:linea:0x60A4E7657D8df28594ac4A06CDe01E18E948a892:
Linea 2: 0 ETH (0ops) (0x90bD48144e08b66490BcA9a756BDe9f004F17857 on 44'/60'/1'/0/0) #1 js:2:linea:0x90bD48144e08b66490BcA9a756BDe9f004F17857:
Performance ⏲ 50.8s

Time spent for each spec: (total across mutations)

Spec (accounts) preload scan re-sync tx status sign op broadcast test destination test
TOTAL 909ms 28.5s 0.90ms N/A N/A N/A N/A N/A
Linea (1) 909ms 28.5s 0.90ms N/A N/A N/A N/A N/A

What is the bot and how does it work? Everything is documented here!

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Bot] Testing with 'Nitrogen' 💰 1 miss funds ($0.00) ⏲ 50.4s

💰 1 specs may miss funds: Linea

What is the bot and how does it work? Everything is documented here!

⚠️ 2 spec hints
  • Spec Linea:
    • There are not enough accounts (2) to cover all mutations (3).
      Please increase the account target to at least 4 accounts
    • No mutation were found possible. Yet there are funds in the accounts, please investigate.
Details of the 0 mutations

Spec Linea (2)

Spec Linea found 2 Linea accounts (preload: 896ms). Will use Ethereum 1.10.3 on nanoS 2.1.0
Linea 1 cross: 0.0009 ETH (1ops) (0x60A4E7657D8df28594ac4A06CDe01E18E948a892 on 44'/60'/0'/0/0) #0 js:2:linea:0x60A4E7657D8df28594ac4A06CDe01E18E948a892:
Linea 2: 0 ETH (0ops) (0x90bD48144e08b66490BcA9a756BDe9f004F17857 on 44'/60'/1'/0/0) #1 js:2:linea:0x90bD48144e08b66490BcA9a756BDe9f004F17857:

Details of the 3 uncovered mutations

Spec Linea (3)

  • move 50%: linea balance is too low (2)
  • send max: linea balance is too low (2)
  • move some ERC20 like (ERC20, BEP20, etc...): linea balance is too low (2)
Portfolio ($0.00) – Details of the 1 currencies
Spec (accounts) State Remaining Runs (est) funds?
Linea (2) 1 ops , 0.0009 ETH ($0.00) ⚠️ 5 0x60A4E7657D8df28594ac4A06CDe01E18E948a892
Linea 1 cross: 0.0009 ETH (1ops) (0x60A4E7657D8df28594ac4A06CDe01E18E948a892 on 44'/60'/0'/0/0) #0 js:2:linea:0x60A4E7657D8df28594ac4A06CDe01E18E948a892:
Linea 2: 0 ETH (0ops) (0x90bD48144e08b66490BcA9a756BDe9f004F17857 on 44'/60'/1'/0/0) #1 js:2:linea:0x90bD48144e08b66490BcA9a756BDe9f004F17857:
Performance ⏲ 50.4s

Time spent for each spec: (total across mutations)

Spec (accounts) preload scan re-sync tx status sign op broadcast test destination test
TOTAL 896ms 28.4s 0.88ms N/A N/A N/A N/A N/A
Linea (1) 896ms 28.4s 0.88ms N/A N/A N/A N/A N/A

What is the bot and how does it work? Everything is documented here!

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Bot] Testing with 'Nitrogen' 💰 1 miss funds ($0.00) ⏲ 49.7s

💰 1 specs may miss funds: Linea

What is the bot and how does it work? Everything is documented here!

⚠️ 2 spec hints
  • Spec Linea:
    • There are not enough accounts (2) to cover all mutations (3).
      Please increase the account target to at least 4 accounts
    • No mutation were found possible. Yet there are funds in the accounts, please investigate.
Details of the 0 mutations

Spec Linea (2)

Spec Linea found 2 Linea accounts (preload: 947ms). Will use Ethereum 1.10.3 on nanoS 2.1.0
Linea 1 cross: 0.0009 ETH (1ops) (0x60A4E7657D8df28594ac4A06CDe01E18E948a892 on 44'/60'/0'/0/0) #0 js:2:linea:0x60A4E7657D8df28594ac4A06CDe01E18E948a892:
Linea 2: 0 ETH (0ops) (0x90bD48144e08b66490BcA9a756BDe9f004F17857 on 44'/60'/1'/0/0) #1 js:2:linea:0x90bD48144e08b66490BcA9a756BDe9f004F17857:

Details of the 3 uncovered mutations

Spec Linea (3)

  • move 50%: linea balance is too low (2)
  • send max: linea balance is too low (2)
  • move some ERC20 like (ERC20, BEP20, etc...): linea balance is too low (2)
Portfolio ($0.00) – Details of the 1 currencies
Spec (accounts) State Remaining Runs (est) funds?
Linea (2) 1 ops , 0.0009 ETH ($0.00) ⚠️ 5 0x60A4E7657D8df28594ac4A06CDe01E18E948a892
Linea 1 cross: 0.0009 ETH (1ops) (0x60A4E7657D8df28594ac4A06CDe01E18E948a892 on 44'/60'/0'/0/0) #0 js:2:linea:0x60A4E7657D8df28594ac4A06CDe01E18E948a892:
Linea 2: 0 ETH (0ops) (0x90bD48144e08b66490BcA9a756BDe9f004F17857 on 44'/60'/1'/0/0) #1 js:2:linea:0x90bD48144e08b66490BcA9a756BDe9f004F17857:
Performance ⏲ 49.7s

Time spent for each spec: (total across mutations)

Spec (accounts) preload scan re-sync tx status sign op broadcast test destination test
TOTAL 947ms 27.9s 1.01ms N/A N/A N/A N/A N/A
Linea (1) 947ms 27.9s 1.01ms N/A N/A N/A N/A N/A

What is the bot and how does it work? Everything is documented here!

Please sign in to comment.