Skip to content

Commit 2131751

Browse files
committed
test(test-assets): update data creation functions for v2
1 parent ccb7858 commit 2131751

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

crates/test-assets/src/lib.rs

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,50 @@ pub const ESCROW_QUERY_RESPONSE: &str = r#"
113113
}
114114
"#;
115115

116+
pub const ESCROW_QUERY_RESPONSE_V2: &str = r#"
117+
{
118+
"data": {
119+
"escrowAccounts": [
120+
{
121+
"balance": "34",
122+
"totalAmountThawing": "10",
123+
"payer": {
124+
"id": "0x9858EfFD232B4033E47d90003D41EC34EcaEda94",
125+
"signers": [
126+
{
127+
"id": "0x533661F0fb14d2E8B26223C86a610Dd7D2260892"
128+
},
129+
{
130+
"id": "0x2740f6fA9188cF53ffB6729DDD21575721dE92ce"
131+
}
132+
]
133+
}
134+
},
135+
{
136+
"balance": "42",
137+
"totalAmountThawing": "0",
138+
"payer": {
139+
"id": "0x22d491bde2303f2f43325b2108d26f1eaba1e32b",
140+
"signers": [
141+
{
142+
"id": "0x245059163ff6ee14279aa7b35ea8f0fdb967df6e"
143+
}
144+
]
145+
}
146+
},
147+
{
148+
"balance": "2987",
149+
"totalAmountThawing": "12",
150+
"payer": {
151+
"id": "0x192c3B6e0184Fa0Cc5B9D2bDDEb6B79Fb216a002",
152+
"signers": []
153+
}
154+
}
155+
]
156+
}
157+
}
158+
"#;
159+
116160
pub const NETWORK_SUBGRAPH_DEPLOYMENT: DeploymentId =
117161
deployment_id!("QmU7zqJyHSyUP3yFii8sBtHT8FaJn2WmUnRvwjAUTjwMBP");
118162

0 commit comments

Comments
 (0)