You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug may still exist (for Remix only)
Looks like there may be an operating system factor at play here...
I did all my initial testing on a Mac. I saw this:
.sol and metadata are required for a full match
.sol file only will get you to a partial match
Now, I'm creating content on my work Windows PC... I'm seeing that: Using Remix for compilation,
Providing the metadata JSON alone does not enable the verify button (Good - consistent with what I had seen before)
Providing the .sol file alone reaches partial match (Good - consistent with what I had seen before)
Providing both the .sol and metadata JSON files (required for full match) is failing the verification. This is true for initial verification and re-verification after a partial match (img 1 and 2). This same flow works ok on Mac...
Description
Tried verifying smart contracts with these tool combinations:
solc
(not solcjs) for generating abi, bytecode, metadata JSON + ethers js for deploymentBoth tool combinations produced the same exact results shown below.
Flow
For the same contract:
Phase 1:
Phase 2:
Resource missing; unsuccessful fetching: contracts/InventoryLookup.sol
The main issue is that, for phases 1 and 2, the same inputs produce different/inconsistent results.
2023-11-14.Smart.Contract.Verification.-.EthersJs.and.solc.issue.mp4
Steps to reproduce
GitHub repo with the example code
Additional context
No response
Hedera network
testnet
Version
https://hashscan-latest.hedera-devops.com/testnet/dashboard
Operating system
macOS
The text was updated successfully, but these errors were encountered: