Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Revert unwanted change in bitcoin tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hakim-adamik committed May 16, 2022
1 parent b60cb64 commit 8f980ab
Showing 1 changed file with 0 additions and 205 deletions.
205 changes: 0 additions & 205 deletions src/families/bitcoin/__snapshots__/bridge.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19844,9 +19844,6 @@ Array [
"type": "OUT",
"value": "210486",
},
],
Array [],
Array [
Object {
"accountId": "js:2:litecoin:Ltub2ZDyeYFtDj5kHy4w5WaXBDE9217rNDYfmv7u5NV8dk8vKdmkqAfPdwRma5rkPcj5daMU8JiiLXQYPX9rtqEzrK1YrmkofcpADTV7s5FgzLF:native_segwit",
"blockHash": "9a7e5b92df5bcdadc21e15e4bbe57521dfb563ba51f81680834b751c82e307bf",
Expand Down Expand Up @@ -19938,7 +19935,6 @@ Array [
],
"standard": undefined,
"tokenId": undefined,
"transactionSequenceNumber": 16777215,
"type": "IN",
"value": "3010000",
},
Expand Down Expand Up @@ -20995,8 +20991,6 @@ Array [
"type": "IN",
"value": "4565400",
},
],
Array [
Object {
"accountId": "js:2:litecoin:Ltub2ZoEDG8AmPfD8oGoFEvfsKWjeyiXh6TiKYjgLnoVxfeECfQteY6sDF1AuH1iW6ekue2PSwdbbvG2NpFPzLqcgNgteHZPNo6zGthjcAmwxT3:segwit",
"blockHash": "2145991c0bd4599cf6bbba462df12622f919a6e6dbf62932d2ac79fca2c9c01d",
Expand Down Expand Up @@ -21044,9 +21038,6 @@ Array [
"type": "OUT",
"value": "147582",
},
],
Array [],
Array [
Object {
"accountId": "js:2:litecoin:Ltub2ZoEDG8AmPfDAyu3yK2WfA9zE8VgL3E3nNjnS5VRYAo7LfrrEmaCUYqWP8tgo6vNWc7dsr3kDykaX7yDpkAN93RWorZG6tekiyNpBNtFJhc:segwit",
"blockHash": "bf4e8295d05f5decd7ec79cf14c15d73957119cba26f850bbd354f00c9049550",
Expand Down Expand Up @@ -21752,103 +21743,6 @@ Array [
"type": "IN",
"value": "5000000",
},
],
Array [],
]
`;

exports[`peercoin currency bridge scanAccounts peercoin seed 1 1`] = `
Array [
Object {
"balance": "0",
"bitcoinResources": Object {},
"currencyId": "peercoin",
"derivationMode": "",
"freshAddress": "PHRKwqt8ZWWNdEiqMRpiU1xhUDYjmV7XiX",
"freshAddressPath": "44'/6'/0'/0/1",
"freshAddresses": Array [
Object {
"address": "PD3w1eqRUJGd8K678WSDVqU9qcfijmU7JS",
"derivationPath": "44'/6'/0'/0/0",
},
],
"id": "js:2:peercoin:r29uBq4dqT4ZLPtkuN51ASxXHAuSmY4QEqvYKPjj8kBNvdpcc4wRvhTPDoLmUj1qx1UbwS32DgsKkRPdgjrwNdWrHiSDjH7hBeqiEmGi79xEZNBt:",
"index": 0,
"name": "Peercoin 1",
"nfts": undefined,
"operationsCount": 3,
"pendingOperations": Array [],
"seedIdentifier": "04bf3614e4ebe909f34b3b87cf41e63647dd1266704fcbf28f7037836c129962fdc6ead43b3811ec109d710415f7cb2260e542ee8711776512fe22979e629bea5b",
"spendableBalance": "0",
"starred": false,
"swapHistory": Array [],
"syncHash": undefined,
"unitMagnitude": 6,
"used": true,
"xpub": "r29uBq4dqT4ZLPtkuN51ASxXHAuSmY4QEqvYKPjj8kBNvdpcc4wRvhTPDoLmUj1qx1UbwS32DgsKkRPdgjrwNdWrHiSDjH7hBeqiEmGi79xEZNBt",
},
Object {
"balance": "0",
"bitcoinResources": Object {},
"currencyId": "peercoin",
"derivationMode": "",
"freshAddress": "PCrC3djBR5XMoob4dxp7TtZcaNwahTnBcd",
"freshAddressPath": "44'/6'/1'/0/3",
"freshAddresses": Array [
Object {
"address": "PAnoNsM6qhjaKdvM82eoFnzGKSGVFrhvzH",
"derivationPath": "44'/6'/1'/0/0",
},
],
"id": "js:2:peercoin:r29uBq4dqT4ZLPtkuP4N8ms3jx8ts6zcfHMNNZUJhMqo1DgJpWSfFiwYwZb3uQYaHya6LSWNfALUxQwdFw3ZZEoB2DCKYK2QqBp5VbaZbo9FHbbv:",
"index": 1,
"name": "Peercoin 2",
"nfts": undefined,
"operationsCount": 5,
"pendingOperations": Array [],
"seedIdentifier": "04bf3614e4ebe909f34b3b87cf41e63647dd1266704fcbf28f7037836c129962fdc6ead43b3811ec109d710415f7cb2260e542ee8711776512fe22979e629bea5b",
"spendableBalance": "0",
"starred": false,
"swapHistory": Array [],
"syncHash": undefined,
"unitMagnitude": 6,
"used": true,
"xpub": "r29uBq4dqT4ZLPtkuP4N8ms3jx8ts6zcfHMNNZUJhMqo1DgJpWSfFiwYwZb3uQYaHya6LSWNfALUxQwdFw3ZZEoB2DCKYK2QqBp5VbaZbo9FHbbv",
},
Object {
"balance": "0",
"bitcoinResources": Object {},
"currencyId": "peercoin",
"derivationMode": "",
"freshAddress": "PNWyBf25cbMx9CEjvyxJRtDtg42GAX2wx8",
"freshAddressPath": "44'/6'/2'/0/0",
"freshAddresses": Array [
Object {
"address": "PNWyBf25cbMx9CEjvyxJRtDtg42GAX2wx8",
"derivationPath": "44'/6'/2'/0/0",
},
],
"id": "js:2:peercoin:r29uBq4dqT4ZLPtkuRYpvqYJ7Uri474wVJSGfCBycWK88JbhoE31jzYQrxa4re5gRRjdK52fYte1wR6Gjo3KsnMGk1JNqELQoema8GaWRcX4Tp3c:",
"index": 2,
"name": "Peercoin 3",
"nfts": undefined,
"operationsCount": 0,
"pendingOperations": Array [],
"seedIdentifier": "04bf3614e4ebe909f34b3b87cf41e63647dd1266704fcbf28f7037836c129962fdc6ead43b3811ec109d710415f7cb2260e542ee8711776512fe22979e629bea5b",
"spendableBalance": "0",
"starred": false,
"swapHistory": Array [],
"syncHash": undefined,
"unitMagnitude": 6,
"used": false,
"xpub": "r29uBq4dqT4ZLPtkuRYpvqYJ7Uri474wVJSGfCBycWK88JbhoE31jzYQrxa4re5gRRjdK52fYte1wR6Gjo3KsnMGk1JNqELQoema8GaWRcX4Tp3c",
},
]
`;

exports[`peercoin currency bridge scanAccounts peercoin seed 1 2`] = `
Array [
Array [
Object {
"accountId": "js:2:litecoin:Ltub2YRPRjnvZVoBBbfDrEV3jJdGQCTMHgKg1V1mnAZuQbbSY6XPhufcRTpoGB4595dUuW1GSDy6CApUYmCfwA4YjG5JWrAFd4GBR1WRJ8Jm6cM:",
"blockHash": "9d64a0e3801f7ae5ee7d226314023746bd1024cd7bf06ec19626b4b594e22869",
Expand Down Expand Up @@ -22016,8 +21910,6 @@ Array [
"type": "OUT",
"value": "2172713",
},
],
Array [
Object {
"accountId": "js:2:peercoin:r29uBq4dqT4ZLPtkuN51ASxXHAuSmY4QEqvYKPjj8kBNvdpcc4wRvhTPDoLmUj1qx1UbwS32DgsKkRPdgjrwNdWrHiSDjH7hBeqiEmGi79xEZNBt:",
"blockHash": "dc5137eea1380c5aa9daa9c7b984d0603dd055580972af1d15c97933f1ab8cb3",
Expand Down Expand Up @@ -22138,103 +22030,6 @@ Array [
"type": "OUT",
"value": "3322090",
},
],
Array [],
]
`;

exports[`pivx currency bridge scanAccounts pivx seed 1 1`] = `
Array [
Object {
"balance": "0",
"bitcoinResources": Object {},
"currencyId": "pivx",
"derivationMode": "",
"freshAddress": "DBUbDxkrqF7W4XeTqjt32z2kwc7kCnWWcZ",
"freshAddressPath": "44'/77'/0'/0/2",
"freshAddresses": Array [
Object {
"address": "DCr8iLpjZdwNQfcbcSg3uZWTsGdTJVJ8PB",
"derivationPath": "44'/77'/0'/0/0",
},
],
"id": "js:2:pivx:ToEA6kbZp37Q14yj3MBi989NwAtYpRezRAveGjoQtrBNenh5w5D8AAU3pQFHk3bd7YRXgQ86JoXBZHm8voQeCNJX4ETH7WdGGcfD35CsCEgQjih:",
"index": 0,
"name": "PivX 1",
"nfts": undefined,
"operationsCount": 7,
"pendingOperations": Array [],
"seedIdentifier": "0416e1de49a4dd716985e2992bfaad4e7db30a6adbf63dafbd6607e447ce9f782771ef9f6790fafb1bfd15f72c5e8988825660426546152e15b578d160128e6238",
"spendableBalance": "0",
"starred": false,
"swapHistory": Array [],
"syncHash": undefined,
"unitMagnitude": 8,
"used": true,
"xpub": "ToEA6kbZp37Q14yj3MBi989NwAtYpRezRAveGjoQtrBNenh5w5D8AAU3pQFHk3bd7YRXgQ86JoXBZHm8voQeCNJX4ETH7WdGGcfD35CsCEgQjih",
},
Object {
"balance": "25947828",
"bitcoinResources": Object {},
"currencyId": "pivx",
"derivationMode": "",
"freshAddress": "DG4Zmw1PyrxZrBFhjtHDyfCxWY4PrP5WZq",
"freshAddressPath": "44'/77'/1'/0/5",
"freshAddresses": Array [
Object {
"address": "DCtvHdQUvae9DQGvsF1AoaWvtwYJ46iPdj",
"derivationPath": "44'/77'/1'/0/0",
},
],
"id": "js:2:pivx:ToEA6kbZp37Q14yj58Etmammo9PZzJApeRsUnjSqri7fugNHm29Z8XHyhs1qePUKDUkrBD51sAwqD6HjFx3Z81S4djrYPrxKJssLrekhh2j2rpT:",
"index": 1,
"name": "PivX 2",
"nfts": undefined,
"operationsCount": 9,
"pendingOperations": Array [],
"seedIdentifier": "0416e1de49a4dd716985e2992bfaad4e7db30a6adbf63dafbd6607e447ce9f782771ef9f6790fafb1bfd15f72c5e8988825660426546152e15b578d160128e6238",
"spendableBalance": "25947828",
"starred": false,
"swapHistory": Array [],
"syncHash": undefined,
"unitMagnitude": 8,
"used": true,
"xpub": "ToEA6kbZp37Q14yj58Etmammo9PZzJApeRsUnjSqri7fugNHm29Z8XHyhs1qePUKDUkrBD51sAwqD6HjFx3Z81S4djrYPrxKJssLrekhh2j2rpT",
},
Object {
"balance": "0",
"bitcoinResources": Object {},
"currencyId": "pivx",
"derivationMode": "",
"freshAddress": "DEoUabmgN4eJ3XMThHT1ZAPekpVfr1m17F",
"freshAddressPath": "44'/77'/2'/0/0",
"freshAddresses": Array [
Object {
"address": "DEoUabmgN4eJ3XMThHT1ZAPekpVfr1m17F",
"derivationPath": "44'/77'/2'/0/0",
},
],
"id": "js:2:pivx:ToEA6kbZp37Q14yj8uQJcgxNYNLfh77mCkRc5WYNKnFXz9F7ioREkssDvZtYm6haAQc3xEgMhTLT6TMHKzEVX4HLudaACbipsLTvnthw2KUUhTf:",
"index": 2,
"name": "PivX 3",
"nfts": undefined,
"operationsCount": 0,
"pendingOperations": Array [],
"seedIdentifier": "0416e1de49a4dd716985e2992bfaad4e7db30a6adbf63dafbd6607e447ce9f782771ef9f6790fafb1bfd15f72c5e8988825660426546152e15b578d160128e6238",
"spendableBalance": "0",
"starred": false,
"swapHistory": Array [],
"syncHash": undefined,
"unitMagnitude": 8,
"used": false,
"xpub": "ToEA6kbZp37Q14yj8uQJcgxNYNLfh77mCkRc5WYNKnFXz9F7ioREkssDvZtYm6haAQc3xEgMhTLT6TMHKzEVX4HLudaACbipsLTvnthw2KUUhTf",
},
]
`;

exports[`pivx currency bridge scanAccounts pivx seed 1 2`] = `
Array [
Array [
Object {
"accountId": "js:2:peercoin:r29uBq4dqT4ZLPtkuP4N8ms3jx8ts6zcfHMNNZUJhMqo1DgJpWSfFiwYwZb3uQYaHya6LSWNfALUxQwdFw3ZZEoB2DCKYK2QqBp5VbaZbo9FHbbv:",
"blockHash": "077ff24aae4d567d1b13ccc9c83c4edd7d65d0adc52bbef2b2c5b120f827d5b2",
Expand Down

1 comment on commit 8f980ab

@github-actions
Copy link

Choose a reason for hiding this comment

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

✅ 1 txs ❌ 1 txs ($3.00) for Bot 'Hedera'

1 mutation errors
all accounts sync in 1122ms
▬ Hedera 1.0.8 on nanoS 2.1.0
→ FROM Hedera 3: 14.841 HBAR (26ops) (0.0.751521 on 44/3030) hederaBip44#2 js:2:hedera:0.0.751521:hederaBip44 (! sum of ops -15.14948663 HBAR)
max spendable ~14.839
★ using mutation 'Send max'
→ TO Hedera 2: 15.129 HBAR (26ops) (0.0.751518 on 44/3030) hederaBip44#1 js:2:hedera:0.0.751518:hederaBip44
✔️ transaction SEND 14.8393804 HBAR
TO 0.0.751518
STATUS (1.88ms)
  amount: 14.8393804 HBAR
  estimated fees: 0.000833 HBAR
  total spent: 14.8402134 HBAR
⚠️ Error: expect(received).toMatchObject(expected)

- Expected  - 1
+ Received  + 1

  Object {
-   "Amount": "14.8393804 hbar",
+   "Amount": "14.83938040 hbar",
  }

Error: expect(received).toMatchObject(expected)

- Expected  - 1
+ Received  + 1

  Object {
-   "Amount": "14.8393804 hbar",
+   "Amount": "14.83938040 hbar",
  }
Details of the 2 mutations

Spec Hedera (3)

Spec Hedera found 3 Hedera accounts. Will use Hedera 1.0.8 on nanoS 2.1.0
(1992ms) Hedera 1 cross: 0.0000676 HBAR (5ops) (0.0.751515 on 44/3030) hederaBip44#0 js:2:hedera:0.0.751515:hederaBip44
(653ms) Hedera 2: 29.97 HBAR (25ops) (0.0.751518 on 44/3030) hederaBip44#1 js:2:hedera:0.0.751518:hederaBip44
(988ms) Hedera 3: 0.0007068 HBAR (25ops) (0.0.751521 on 44/3030) hederaBip44#2 js:2:hedera:0.0.751521:hederaBip44
all accounts sync in 647ms
▬ Hedera 1.0.8 on nanoS 2.1.0
→ FROM Hedera 2: 29.97 HBAR (25ops) (0.0.751518 on 44/3030) hederaBip44#1 js:2:hedera:0.0.751518:hederaBip44 (! sum of ops 29.96959321 HBAR)
max spendable ~29.968
★ using mutation 'Send ~50%'
→ TO Hedera 3: 0.0007068 HBAR (25ops) (0.0.751521 on 44/3030) hederaBip44#2 js:2:hedera:0.0.751521:hederaBip44
✔️ transaction SEND 14.84033955 HBAR
TO 0.0.751521
STATUS (3.19ms)
  amount: 14.84033955 HBAR
  estimated fees: 0.000833 HBAR
  total spent: 14.84117255 HBAR
✔️ has been signed! (2619ms) 
✔️ broadcasted! (294ms) optimistic operation: 
  -14.84033955 HBAR  OUT        s9-hcP6RKWPuUACirQm_uo3tnM1KzB7kE_6aSn7qpEZTozf0VrwkeW0phKAmFUeq 2022-05-16T16:27
✔️ operation confirmed (11.8s): 
  -14.84135541 HBAR  OUT        s9-hcP6RKWPuUACirQm_uo3tnM1KzB7kE_6aSn7qpEZTozf0VrwkeW0phKAmFUeq 2022-05-16T16:27
✔️ Hedera 2: 15.129 HBAR (26ops) (0.0.751518 on 44/3030) hederaBip44#1 js:2:hedera:0.0.751518:hederaBip44 (! sum of ops 15.1282378 HBAR)
(final state reached in 11.8s)

all accounts sync in 1122ms
▬ Hedera 1.0.8 on nanoS 2.1.0
→ FROM Hedera 3: 14.841 HBAR (26ops) (0.0.751521 on 44/3030) hederaBip44#2 js:2:hedera:0.0.751521:hederaBip44 (! sum of ops -15.14948663 HBAR)
max spendable ~14.839
★ using mutation 'Send max'
→ TO Hedera 2: 15.129 HBAR (26ops) (0.0.751518 on 44/3030) hederaBip44#1 js:2:hedera:0.0.751518:hederaBip44
✔️ transaction SEND 14.8393804 HBAR
TO 0.0.751518
STATUS (1.88ms)
  amount: 14.8393804 HBAR
  estimated fees: 0.000833 HBAR
  total spent: 14.8402134 HBAR
⚠️ Error: expect(received).toMatchObject(expected)

- Expected  - 1
+ Received  + 1

  Object {
-   "Amount": "14.8393804 hbar",
+   "Amount": "14.83938040 hbar",
  }


Portfolio ($3.00)

Details of the 1 currencies
Spec (accounts) Operations Balance funds?
Hedera (2) 57 (+2) 29.971 HBAR (- 0.0010158) ($3.00) 💪 0.0.751515

Please sign in to comment.