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

Sync with origin #47

Merged
merged 11 commits into from
May 8, 2024
Merged

Sync with origin #47

merged 11 commits into from
May 8, 2024

Conversation

pustovalov
Copy link
Member

No description provided.

vbaranov and others added 11 commits May 7, 2024 11:57
…ockscout#9864)

* Detect EIP-1967 proxy even for not verified smart-contracts

* put_verified_from_twin/2 function

* Implement proxy implementation model

* Fix test

* Fix DB migration

* Refactoring

* Fix tests

* Change schema to store implementation arrays

* Refactoring

* Update apps/explorer/lib/explorer/etherscan/contracts.ex

Co-authored-by: nikitosing <[email protected]>

* Process review comments

* Fix call of Implementation.get_implementation_address_hash

* Refactor save_implementation_data/5 to save_implementation_data/4

* Process review comment

* Remove duplicate call of implementation_updated_at

* Eliminate metadata_from_verified_bytecode_twin from save_implementation_data function

* Fix formatting

* Set non-nil smart-contract into Implementation.get_implementation_address_hash(...)

* Simplify clauses in save_implementation_data/3

* Get implementation data in a single DB request

* Fix tests

* Set different proxy verification success message in case of single/plural implementations

* Refactoring

---------

Co-authored-by: nikitosing <[email protected]>
* feat: save smart-contract proxy type in the DB

* Add tests

* Allow null proxy type in DB

* Fix tests
Stats container env variables was not working correctly
…ockscout#9994)

* chore: Migrate to GET variant of {{metadata_url}}/api/v1/metadata

* Fix test
* fix: Don't put error to NFT metadata

* Remove unused Explorer.Helper.maybe_decode/1
* feat: add user ops indexer to docker compose configs

* fix: missing env in .gitignore
* fix: search for long integers

* fix: ignore negative block numbers

* chore: move `safe_parse_block_number` to `Explorer.Helper`

* refactor: make function name more generic

* refactor: utilize `safe_parse_non_negative_integer` in `paging_options`
@pustovalov pustovalov requested a review from spilin May 8, 2024 14:00
@spilin spilin merged commit 4f7841d into master May 8, 2024
10 of 14 checks passed
@spilin spilin deleted the sync-08-05 branch May 8, 2024 14:15
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

Successfully merging this pull request may close these issues.

8 participants