-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hello, I am trying to mint things with the SDK, but I am getting this sale ended error. I have verified that I can still mint the token from the zora UI. Here is the error message I am getting:
`ERROR Mint failed: [ContractFunctionExecutionError: The contract function "mintWithRewards" reverted.
Error: SaleEnded()
Contract Call:
address: 0xcf6e80defd9be067f5adda2924b55c2186d3e930
function: mintWithRewards(address minter, uint256 tokenId, uint256 quantity, bytes minterArguments, address mintReferral)
args: (0x04e2516a2c207e84a1839755675dfd8ef6302f0a, 3, 1, 0x00000000000000000000000023b0195e3ec1ff09d3e54ce52b3b382087aefe5a00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000)
sender: 0x23B0195e3ec1Ff09D3e54cE52b3b382087aeFe5a
Docs: https://viem.sh/docs/contract/simulateContract
Version: [email protected]]
ERROR Minting error: [TypeError: Cannot read property 'slice' of undefined]
ERROR Error message: Cannot read property 'slice' of undefined
ERROR Error name: TypeError`