Skip to content

Commit 2bf71f5

Browse files
committed
feat(#242): fixed script for encounters
1 parent 94d1d20 commit 2bf71f5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

scripts/migrate_with_data.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,11 @@
237237
(key[0].lower() + key[1:]): value for key, value in set.items()
238238
}
239239

240+
for idx, enc in enumerate(new_dict["app_state"]["cardchain"]["encounters"]):
241+
new_dict["app_state"]["cardchain"]["encounters"][idx] = {
242+
(key[0].lower() + key[1:]): value for key, value in enc.items()
243+
}
244+
240245
coinMap = {}
241246
for account in new_dict["app_state"]["bank"]["balances"]:
242247
for coin in account["coins"]:

0 commit comments

Comments
 (0)