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

Contract tab displays wrong code/metadata #1446

Open
WhiteR4bbitt opened this issue May 25, 2023 · 2 comments
Open

Contract tab displays wrong code/metadata #1446

WhiteR4bbitt opened this issue May 25, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@WhiteR4bbitt
Copy link

Verified contract 0x904bcc39a1629a20104aae54ef2e62d30ca2af19 which is NationMarket here: https://gwscan.com/account/0x904bcc39a1629a20104aae54ef2e62d30ca2af19?tab=contract

Sourcify lookup: https://sourcify.dev/#/lookup/0x904Bcc39A1629A20104AAe54ef2E62D30ca2af19

The contents on Sourcify (and viewed in Remix) are accurate and can be confirmed by importing 0x904bcc39a1629a20104aae54ef2e62d30ca2af19 into Remix on Godwoken Mainnet.

None of the Read/Write functions exist in the actual contract and the code/ABI are 100% the wrong contract.

@Keith-CY Keith-CY added the bug Something isn't working label May 28, 2023
@Keith-CY Keith-CY moved this to 🆕 New in Layer2 Explorer May 28, 2023
@Keith-CY
Copy link
Member

The contract and compiling info could be found at https://repo.sourcify.dev/contracts/full_match/71402/0x904Bcc39A1629A20104AAe54ef2E62D30ca2af19/metadata.json

The contract should be NationMarket.sol, please have a check @zmcNotafraid

@Keith-CY
Copy link
Member

The data was rectified accidentally by running the sync task, so we cannot debug with online data.

Will go through the code to check the logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants