BlogDocs

Blockscout v2 contract verification(#3576)

Merged
Merging
yash/blockscoutv2-verification
(
687328a
) into
main
(
0733596
)
-13%
IMPROVEMENTS
0
REGRESSIONS
1
UNTOUCHED
8
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Failed

keccakIdRegression
packages/thirdweb/src/utils/any-evm/keccak-id.bench.ts::keccakId
-13%
1.3 ms
1.5 ms

Passed

encode tx (json abi)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (json abi)
+1%
191.7 µs
190.6 µs
units:toUnits("40.0", 18)
packages/thirdweb/src/utils/units.bench.ts::units:toUnits("40.0", 18)
0%
34.2 µs
34.3 µs
units:toUnits("40", 18)
packages/thirdweb/src/utils/units.bench.ts::units:toUnits("40", 18)
0%
33.7 µs
33.7 µs
units:toTokens(12345678901234567890n, 18)
packages/thirdweb/src/utils/units.bench.ts::units:toTokens(12345678901234567890n, 18)
0%
25.1 µs
25.2 µs
units:toTokens(40000000000000000000n, 18)
packages/thirdweb/src/utils/units.bench.ts::units:toTokens(40000000000000000000n, 18)
0%
183.6 µs
184.4 µs
encode tx (human readable)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (human readable)
-2%
401.7 µs
408.1 µs
encode tx (contract abi)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (contract abi)
-3%
403.4 µs
415.7 µs
encode tx (prepared method)
packages/thirdweb/src/transaction/actions/encode.bench.ts::encode tx (prepared method)
-6%
338.7 µs
361.5 µs

Commits

Click on a commit to change the comparison range
base
main
0733596
-13%
Blockscout v2 contract verification (#3576) ## Problem solved Short description of the bug fixed or feature added ## Changes made - [ ] Public API changes: list the public API changes made if any - [ ] Internal API changes: explain the internal logic changes ## How to test - [ ] Automated tests: link to unit test file - [ ] Manual tests: step by step instructions on how to test ## Contributor NFT Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged. ```Address: ``` <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on adding support for Blockscout v2 contract verification. ### Detailed summary - Added `ExplorerType` enum for different explorer types - Modified contract verifier to handle Blockscout v2 verification - Updated verification functions to support different explorer types > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
687328a
3 months ago
by kumaryash90
ResourcesHomePricingDocsBlogGitHubChangelog