Skip to content

Devops Tools Error #242

Closed Answered by pacelliv
Naman1729 asked this question in Q&A
Jul 4, 2023 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Oof verifying has been problematic.

First try running foundryup and try again, hopefully it will help.

If the issue persist (which wouldn't surprise me) run the verify command:

forge verify-contract --chain-id 11155111 --constructor-args $(cast abi-encode "constructor(uint64,bytes32,uint256,uint32,address)" <subscription_id> <gas_lane> <interval> <entrance_fee> <callback_gas_limit> <vrf_coordinator_address>) --etherscan-api-key <api_key> <contract_address> src/Raffle.sol:Raffle

For the entrance fee pass the value in wei, not "0.01 ether".

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Shiva-Sai-ssb
Comment options

@shikhar229169
Comment options

@Naman1729
Comment options

@pacelliv
Comment options

Answer selected by Naman1729
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants