Skip to content

Commit

Permalink
Amend fixtures to reflect the new format
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Oct 9, 2023
1 parent 921f6ff commit e4ae991
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 27 deletions.
16 changes: 4 additions & 12 deletions cmd/crates/soroban-test/tests/fixtures/test-jsons/get-events.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
"AAAABQAAAAdDT1VOVEVSAA==",
"AAAABQAAAAlpbmNyZW1lbnQAAAA="
],
"value": {
"xdr": "AAAAAQAAAAE="
}
"value": "AAAAAQAAAAE="
},
{
"type": "system",
Expand All @@ -27,9 +25,7 @@
"AAAABQAAAAh0cmFuc2Zlcg==",
"AAAAAQB6Mcc="
],
"value": {
"xdr": "AAAABQAAAApHaWJNb255UGxzAAA="
}
"value": "AAAABQAAAApHaWJNb255UGxzAAA="
},
{
"type": "contract",
Expand All @@ -42,9 +38,7 @@
"AAAABQAAAAh0cmFuc2Zlcg==",
"AAAAAQB6Mcc="
],
"value": {
"xdr": "AAAABQAAAApHaWJNb255UGxzAAA="
}
"value": "AAAABQAAAApHaWJNb255UGxzAAA="
},
{
"type": "system",
Expand All @@ -57,9 +51,7 @@
"AAAABQAAAAh0cmFuc2Zlcg==",
"AAAAAQB6Mcc="
],
"value": {
"xdr": "AAAABQAAAApHaWJNb255UGxzAAA="
}
"value": "AAAABQAAAApHaWJNb255UGxzAAA="
}
]
}
21 changes: 6 additions & 15 deletions cmd/soroban-cli/src/rpc/fixtures/event_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,30 @@
"AAAABQAAAAh0cmFuc2Zlcg==",
"AAAAAQB6Mcc="
],
"value": {
"xdr": "AAAABQAAAApHaWJNb255UGxzAAA="
}
"value": "AAAABQAAAApHaWJNb255UGxzAAA="
}, {
"eventType": "contract",
"ledger": "43601284",
"ledgerClosedAt": "2022-11-16T16:10:41Z",
"contractId": "CDR6QKTWZQYW6YUJ7UP7XXZRLWQPFRV6SWBLQS4ZQOSAF4BOUD77OO5Z"
,
"contractId": "CDR6QKTWZQYW6YUJ7UP7XXZRLWQPFRV6SWBLQS4ZQOSAF4BOUD77OO5Z",
"id": "0164090849041387521-0000000003",
"pagingToken": "164090849041387521-3",
"topic": [
"AAAABQAAAAh0cmFuc2Zlcg==",
"AAAAAQB6Mcc="
],
"value": {
"xdr": "AAAABQAAAApHaWJNb255UGxzAAA="
}
"value": "AAAABQAAAApHaWJNb255UGxzAAA="
}, {
"eventType": "system",
"ledger": "43601285",
"ledgerClosedAt": "2022-11-16T16:10:41Z",
"contractId": "CCR6QKTWZQYW6YUJ7UP7XXZRLWQPFRV6SWBLQS4ZQOSAF4BOUD77OTE2"
,
"contractId": "CCR6QKTWZQYW6YUJ7UP7XXZRLWQPFRV6SWBLQS4ZQOSAF4BOUD77OTE2",
"id": "0164090849041387521-0000000003",
"pagingToken": "164090849041387521-3",
"topic": [
"AAAABQAAAAh0cmFuc2Zlcg==",
"AAAAAQB6Mcc="
],
"value": {
"xdr": "AAAABQAAAApHaWJNb255UGxzAAA="
}
}
]
"value": "AAAABQAAAApHaWJNb255UGxzAAA="
}]
}

0 comments on commit e4ae991

Please sign in to comment.