Skip to content

Commit

Permalink
add linea_goerli
Browse files Browse the repository at this point in the history
  • Loading branch information
lvndry committed Jan 5, 2024
1 parent 38877d5 commit 8a93197
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/cli/src/live-common-setup-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ setSupportedCurrencies([
"neon_evm",
"lukso",
"linea",
"linea_goerli",
]);

for (const k in process.env) setEnvUnsafe(k as EnvName, process.env[k]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,5 @@ setSupportedCurrencies([
"neon_evm",
"lukso",
"linea",
"linea_goerli",
]);
1 change: 1 addition & 0 deletions apps/ledger-live-mobile/src/live-common-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ setSupportedCurrencies([
"neon_evm",
"lukso",
"linea",
"linea_goerli",
]);

if (Config.BLE_LOG_LEVEL) BluetoothTransport.setLogLevel(Config.BLE_LOG_LEVEL);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ setSupportedCurrencies([
"neon_evm",
"lukso",
"linea",
"linea_goerli",
]);

for (const k in process.env) setEnvUnsafe(k as EnvName, process.env[k]);
Expand Down
29 changes: 29 additions & 0 deletions libs/ledgerjs/packages/cryptoassets/src/currencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4494,6 +4494,35 @@ export const cryptocurrenciesById: Record<CryptoCurrencyId, CryptoCurrency> = {
},
],
},
linea_goerli: {
type: "CryptoCurrency",
id: "linea_goerli",
coinType: CoinType.ETH,
name: "Linea",
managerAppName: "Ethereum",
ticker: "ETH",
scheme: "linea_goerli",
color: "#000000",
family: "evm",
units: ethereumUnits("ETH", "ETH"),
disableCountervalue: false,
isTestnetFor: "linea",
ethereumLikeInfo: {
chainId: 59140,
node: { type: "external", uri: "https://rpc.goerli.linea.build" },
explorer: {
type: "etherscan",
uri: "https://api-testnet.lineascan.build/api",
},
},
explorerViews: [
{
tx: "https://goerli.lineascan.build/tx/$hash",
address: "https://goerli.lineascan.build/address/$address",
token: "https://goerli.lineascan.build/token/$address",
},
],
},
// Keep it at the bottom
// Tickers dup
binance_beacon_chain: {
Expand Down
3 changes: 2 additions & 1 deletion libs/ledgerjs/packages/types-cryptoassets/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ export type CryptoCurrencyId =
| "casper"
| "neon_evm"
| "lukso"
| "linea";
| "linea"
| "linea_goerli";

export type LedgerExplorerId =
| "btc"
Expand Down

3 comments on commit 8a93197

@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) ⏲ 67s

💰 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 (3) 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 (3)

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

Details of the 3 uncovered mutations

Spec Linea (3)

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

Time spent for each spec: (total across mutations)

Spec (accounts) preload scan re-sync tx status sign op broadcast test destination test
TOTAL 919ms 44.5s 1.44ms N/A N/A N/A N/A N/A
Linea (2) 919ms 44.5s 1.44ms 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) ⏲ 67.2s

💰 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 (3) 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 (3)

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

Details of the 3 uncovered mutations

Spec Linea (3)

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

Time spent for each spec: (total across mutations)

Spec (accounts) preload scan re-sync tx status sign op broadcast test destination test
TOTAL 901ms 44.8s 1.30ms N/A N/A N/A N/A N/A
Linea (2) 901ms 44.8s 1.30ms 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) ⏲ 82.5s

💰 1 specs may miss funds: Linea

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

⚠️ 1 spec hints
  • Spec Linea:
    • No mutation were found possible. Yet there are funds in the accounts, please investigate.
Details of the 0 mutations

Spec Linea (4)

Spec Linea found 4 Linea accounts (preload: 872ms). Will use Ethereum 1.10.3 on nanoS 2.1.0
Linea 1 cross: 0.0079 ETH (3ops) (0x60A4E7657D8df28594ac4A06CDe01E18E948a892 on 44'/60'/0'/0/0) #0 js:2:linea:0x60A4E7657D8df28594ac4A06CDe01E18E948a892:
Linea 2: 0.003 ETH (1ops) (0x90bD48144e08b66490BcA9a756BDe9f004F17857 on 44'/60'/1'/0/0) #1 js:2:linea:0x90bD48144e08b66490BcA9a756BDe9f004F17857:
Linea 3: 0.003 ETH (1ops) (0xb6E8b0371A15CDadF1D8EdA34F78870A5e688B25 on 44'/60'/2'/0/0) #2 js:2:linea:0xb6E8b0371A15CDadF1D8EdA34F78870A5e688B25:
Linea 4: 0 ETH (0ops) (0xe404f128644459C5A0F6FAc6824AdA8F94798c8f on 44'/60'/3'/0/0) #3 js:2:linea:0xe404f128644459C5A0F6FAc6824AdA8F94798c8f:

Details of the 3 uncovered mutations

Spec Linea (3)

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

Time spent for each spec: (total across mutations)

Spec (accounts) preload scan re-sync tx status sign op broadcast test destination test
TOTAL 872ms 60.6s 3.42ms N/A N/A N/A N/A N/A
Linea (3) 872ms 60.6s 3.42ms 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.