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

Aurora Explorer: contract decompilation error #1

Open
linguists opened this issue Dec 13, 2021 · 0 comments
Open

Aurora Explorer: contract decompilation error #1

linguists opened this issue Dec 13, 2021 · 0 comments

Comments

@linguists
Copy link

Describe your issue here.

Steps to reproduce

We deployed the contract UiPoolDataProvider https://github.com/pret-labs/pret-protocol/blob/master/contracts/misc/UiPoolDataProvider.sol to Aurora mainnet.

When viewing the contract from the explorer (https://explorer.mainnet.aurora.dev/address/0x798687d303a3642B5994571AFf48627DE68276A7/read-contract), the interfaces and source code don't match with the deployed contract source code. We have confirmed that the contract code is correct, and when testing from other clients, the interfaces are correct.

Expected behaviour

The contract interfaces should match the contract source code

Actual behaviour

The decompiled contract is a completely different one

pustovalov pushed a commit that referenced this issue May 6, 2024
* Contract code on-demand fetcher

* Review comments #1

* Review comments #2: ignore addresses with nonce

* Review comments 3: fix threshold calculation

* Refine trigger_fetch function

* Skip updating retries number in case of failed eth_getCode response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant