metaplex-foundation / metaplex

A directory of what the Metaplex Foundation works on!
https://metaplex.com
Apache License 2.0
3.31k stars 6.27k forks source link

Candy Machine with gateway can only be minted 2 minutes after goLiveDate #1414

Closed nelsontky closed 2 years ago

nelsontky commented 2 years ago

Describe the bug A candy machine that uses a gatekeeper that has a go live date of 2022-01-06T08:00:00.000Z can only be minted at 2022-01-06T08:02:00.000Z

To Reproduce Steps to reproduce the behavior: Use the config below:

{
  "price": 0.5,
  "number": 10,
  "gatekeeper": {
    "gatekeeperNetwork": "ignREusXmGrscGNUesoU9mxfds9AiYTezUKex2PsZV6",
    "expireOnUse": true
  },
  "solTreasuryAccount": "WALLET_ADDRESS",
  "splTokenAccount": null,
  "splToken": null,
  "goLiveDate": "CURRENT_TIME_IN_ISO_FORMAT (e.g. 2022-01-06T08:00:00.000Z)",
  "endSettings": null,
  "whitelistMintSettings": null,
  "hiddenSettings": null,
  "storage": "arweave",
  "ipfsInfuraProjectId": null,
  "ipfsInfuraSecret": null,
  "awsS3Bucket": null,
  "noRetainAuthority": false,
  "noMutable": false
}

If we try to mint with the FLP UI on the same minute as the goLiveDate, mint would fail.

Expected behavior If we try to mint with the FLP UI on the same minute as the goLiveDate, mint should pass.

Screenshots Screenshot of mint attempt that would fail. CM goLiveDate is 2022-01-06T08:12:00.000Z, which was more than 1 minute before the time I tried to mint. fail

When 2 minutes has passed from the goLiveDate mint would be successful. pass

prashantcrypto commented 2 years ago

i can make your candymcahine for 1 sol. if you are interseted message me on discord shyaid#3516

github-actions[bot] commented 2 years ago

This Issue has received no activity for 30 days. We will close it in 2 days, please reopen if you are still experiencing this issue.