SigmaGmbH / swisstronik-tutorials

This repo provides tutorials/samples for deploying and interacting with contracts. Learn to use Hardhat and SwisstronikJS to confidently use Swisstronik Blockchain.
19 stars 68 forks source link

Task Tech 06- proxy #25

Open dieutx opened 1 month ago

dieutx commented 1 month ago

It requires that both deployed proxy contract and the deployed contract address [proxy] are verified to be able to do the contract implementation replacement transaction (as I know).

However, eth_getStorageAt is disabled by design to prevent confusion with encrypted data (https://swisstronik.gitbook.io/swisstronik-docs/about-swisstronik/swisstronik-vs-ethereum), which is necessary to verify contract.

So what should I do?

root@dieuts:~/proxy-bsc/swisstronik-tech03-ERC721# npx hardhat run scripts/deployV1.js --network swisstronik
Deploying V1contract...
V1 Contract deployed to: 0x68986c4e99f182281247632a9612ec48f946Baa4
Pausing 10 seconds in order to verify Contract
Pause finished. Verifying Contract...
Error veryfing Contract. Reason: ProviderError: eth_getStorageAt was disabled, since storage is encrypted.

My git https://github.com/dieutx/swisstronik-tech06-proxy.git

KAF241 commented 1 month ago

Have you got this issue fixed or do you still need any help?