Cyfrin / foundry-smart-contract-lottery-cu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to parse as type `uint256`: a character is not in the range 0-9

iftikharuddin opened this issue · comments

I am trying to run the deploy script test net ( sepolia ) but I am getting this error

Failed to parse as type `uint256`: a character is not in the range 0-9

image

The function which is called during deployment to Sepolia:

function getSepoliaEthConfig() public view returns (NetworkConfig memory sepoliaNetworkConfig) {
    sepoliaNetworkConfig = NetworkConfig({
        subscriptionId: 5613, // If left as 0, our scripts will create one!
        gasLane: 0x474e34a077df58807dbe9c96d3c009b23b3c6d0cce433e59bbf5b34f823bc56c,
        automationUpdateInterval: 30, // 30 seconds
        raffleEntranceFee: 0.01 ether,
        callbackGasLimit: 500000, // 500,000 gas
        vrfCoordinatorV2: 0x8103B0A8A00be2DDC778e6e7eaa21791Cd364625,
        link: 0x779877A7B0D9E8603169DdbD7836e478b4624789,
        deployerKey: vm.envUint("PRIVATE_KEY")
    });
}

Excellent use of stack exchange!!!