Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update OP v1 tables #1376

Merged
merged 5 commits into from
Aug 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions optimism2/erc20/tokens.sql
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ COPY erc20.tokens (contract_address, symbol, decimals) FROM stdin;
\\xd8f365c2c85648f9b89d9f1bf72c0ae4b1c36cfd TheDAO 18
\\x374Ad0f47F4ca39c78E5Cc54f1C9e426FF8f231A PREMIA 18
\\x6ca558bd3eaB53DA1B25aB97916dd14bf6CFEe4E pETHo 18
\\x00a35FD824c717879BF370E70AC6868b95870Dfb IB 18
\.


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ COPY ovm2.contract_creator_address_list (creator_address,project) FROM stdin;
\\xC7f8D87734aB2cbf70030aC8aa82abfe3e8126cb Premia
\\xDa2d96eADAb3671D9DFC6b2901aA85E99F8f0EB3 Ripae
\\x952e9c6391d9C0f6C6174D395Aa9B4eC1030335A Tarot Finance
\\x6A6B51FcB0217521601237227FA2E43a95eC06b0 KyberSwap
\\x1BA608D6a354fbEb41FD7cC799e7f09b2612AB26 Iron Bank
\.

COMMIT;
Expand Down
5 changes: 5 additions & 0 deletions optimism2/ovm2/get_contracts/insert_project_name_mapping.sql
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ Layerzero Layer Zero
Xtoken xToken
Instadapp InstaDapp
Lifi LiFi
Optimistic Exporer Optimistic Explorer - Get Started NFT
ironbank Iron Bank
Ironbank Iron Bank
Copy link
Member

Choose a reason for hiding this comment

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

postgres seems to treat line 54 & 55 as the same -- likely not case sensitive, leading to duplicates and failed load. i had to remove line 55 to run. will this work?

Copy link
Member

Choose a reason for hiding this comment

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

i ran if you wanted to check output

iron_bank Iron Bank
Iron_bank Iron Bank
Copy link
Member

Choose a reason for hiding this comment

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

same comment

\.
COMMIT;
CREATE UNIQUE INDEX CONCURRENTLY IF NOT EXISTS dune_name_mapped_name_uniq_idx ON ovm2.project_name_mappings (dune_name);
Expand Down