-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migration to fill in missing but legit AppDataHashes
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
-- Populates app data table with a set of legacy (ie not well formed) but known to be legitimate app data values. | ||
-- We are assuming no specific metadata semantics (ie empty app data) for these values. | ||
INSERT INTO app_data | ||
(contract_app_data, full_app_data) | ||
VALUES | ||
-- Legit user 0x634b41c246f9afce16de397424704130b588139f | ||
('\x1ba2c7f5680dd17a4d852b9c590afa0969893c2b1052a7f553542697f5668171', decode('{}', 'escape')), | ||
-- Legit use case (lots of users) | ||
('\x8906d5e6f69e3d8133f70c0451990044978ad5ed54be76f6f618b6c5784526c5', decode('{}', 'escape')), | ||
-- Fee withdrawals | ||
('\x2947be33ebfa25686ec204857135dd1c676f35d6c252eb066fffaf9b493a01b4', decode('{}', 'escape')), | ||
-- Example python trading script | ||
('\x0000000000000000000000000000000000000000000000000000000000000ccc', decode('{}', 'escape')), | ||
-- Legit user 0xfcd2f5f382e4b3cd3b67a4e399ada0edf56d0383 | ||
('\xd19e76e4a302bc4e0018de6210f5fde3c55e3618a23a261fa94e4d19ceeb039d', decode('{}', 'escape')), | ||
-- Limit order tutorial | ||
('\xf785fae7a7c5abc49f3cd6a61f6df1ff26433392b066ee9ff2240ff1eb7ab6e4', decode('{}', 'escape')); |