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

Commit

Permalink
Update Cosmos snapshot for dataset tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hakim-adamik committed May 11, 2022
1 parent a621f96 commit c14d9a1
Showing 1 changed file with 80 additions and 5 deletions.
85 changes: 80 additions & 5 deletions src/families/cosmos/__snapshots__/bridge.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`cosmos currency bridge scanAccounts cosmos seed 1 1`] = `
Array [
Object {
"balance": "2264526",
"balance": "2160735",
"cosmosResources": Object {
"delegatedBalance": "2139044",
"withdrawAddress": "cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl",
Expand All @@ -22,7 +22,7 @@ Array [
"index": 0,
"name": "Cosmos 1",
"nfts": undefined,
"operationsCount": 23,
"operationsCount": 24,
"pendingOperations": Array [],
"seedIdentifier": "0388459b2653519948b12492f1a0b464720110c147a8155d23d423a5cc3c21d89a",
"starred": false,
Expand All @@ -33,9 +33,9 @@ Array [
"xpub": "cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl",
},
Object {
"balance": "300000",
"balance": "282475",
"cosmosResources": Object {
"delegatedBalance": "0",
"delegatedBalance": "100000",
"withdrawAddress": "cosmos108uy5q9jt59gwugq5yrdhkzcd9jryslmpcstk5",
},
"currencyId": "cosmos",
Expand All @@ -52,7 +52,7 @@ Array [
"index": 1,
"name": "Cosmos 2",
"nfts": undefined,
"operationsCount": 14,
"operationsCount": 16,
"pendingOperations": Array [],
"seedIdentifier": "0388459b2653519948b12492f1a0b464720110c147a8155d23d423a5cc3c21d89a",
"starred": false,
Expand Down Expand Up @@ -563,6 +563,30 @@ Array [
"type": "OUT",
"value": "4062",
},
Object {
"accountId": "js:2:cosmos:cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl:",
"blockHash": null,
"blockHeight": "10448659",
"contract": undefined,
"extra": Object {
"validators": Array [],
},
"fee": "3791",
"hash": "B0F87B7AA829F0B5FA7C5354BC117006F0B41A0896C84123254866F10E5D51C3",
"id": "js:2:cosmos:cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl:-B0F87B7AA829F0B5FA7C5354BC117006F0B41A0896C84123254866F10E5D51C3-OUT",
"operator": undefined,
"recipients": Array [
"cosmos1vveyawht8pdl2kyazyru5y7435ev4fuhf6j2h6",
],
"senders": Array [
"cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl",
],
"standard": undefined,
"tokenId": undefined,
"transactionSequenceNumber": 80,
"type": "OUT",
"value": "103791",
},
Object {
"accountId": "js:2:cosmos:cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl:",
"blockHash": null,
Expand Down Expand Up @@ -734,6 +758,32 @@ Array [
"type": "IN",
"value": "1000",
},
Object {
"accountId": "js:2:cosmos:cosmos108uy5q9jt59gwugq5yrdhkzcd9jryslmpcstk5:",
"blockHash": null,
"blockHeight": "10450729",
"contract": undefined,
"extra": Object {
"cosmosSourceValidator": "cosmosvaloper10wljxpl03053h9690apmyeakly3ylhejrucvtm",
"validators": Array [
Object {
"address": "cosmosvaloper1sjllsnramtg3ewxqwwrwjxfgc4n4ef9u2lcnj0",
"amount": "50000",
},
],
},
"fee": "11233",
"hash": "1F137043FE21920EF19D2428C86AF452ECE578086324C1324CACEE644BB129EA",
"id": "js:2:cosmos:cosmos108uy5q9jt59gwugq5yrdhkzcd9jryslmpcstk5:-1F137043FE21920EF19D2428C86AF452ECE578086324C1324CACEE644BB129EA-REDELEGATE",
"operator": undefined,
"recipients": Array [],
"senders": Array [],
"standard": undefined,
"tokenId": undefined,
"transactionSequenceNumber": 3,
"type": "REDELEGATE",
"value": "11237",
},
Object {
"accountId": "js:2:cosmos:cosmos108uy5q9jt59gwugq5yrdhkzcd9jryslmpcstk5:",
"blockHash": null,
Expand Down Expand Up @@ -902,6 +952,31 @@ Array [
"type": "IN",
"value": "1000",
},
Object {
"accountId": "js:2:cosmos:cosmos108uy5q9jt59gwugq5yrdhkzcd9jryslmpcstk5:",
"blockHash": null,
"blockHeight": "10449344",
"contract": undefined,
"extra": Object {
"validators": Array [
Object {
"address": "cosmosvaloper10wljxpl03053h9690apmyeakly3ylhejrucvtm",
"amount": "100000",
},
],
},
"fee": "6296",
"hash": "A1B23720D35DBE4C29673C59905E73A3D1405B8CCE97D01A0C1FAF1BD38544EF",
"id": "js:2:cosmos:cosmos108uy5q9jt59gwugq5yrdhkzcd9jryslmpcstk5:-A1B23720D35DBE4C29673C59905E73A3D1405B8CCE97D01A0C1FAF1BD38544EF-DELEGATE",
"operator": undefined,
"recipients": Array [],
"senders": Array [],
"standard": undefined,
"tokenId": undefined,
"transactionSequenceNumber": 2,
"type": "DELEGATE",
"value": "6296",
},
Object {
"accountId": "js:2:cosmos:cosmos108uy5q9jt59gwugq5yrdhkzcd9jryslmpcstk5:",
"blockHash": null,
Expand Down

1 comment on commit c14d9a1

@github-actions
Copy link

Choose a reason for hiding this comment

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

Thanks for your contribution.
To be able to merge in develop branch, you need to:

  • pass the CI
  • have a dev review
  • have a QA review

Please sign in to comment.