Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to deploy a smart contract in LAOS Mainnet and Sigma using Hardhat (with different errors!) #280

Open
tonimateos opened this issue Jan 12, 2024 · 2 comments · May be fixed by #801
Assignees
Labels
bug Something isn't working Grooming Needed Extra attention is needed High Priority Proposed to focus on this when other tasks are present

Comments

@tonimateos
Copy link
Contributor

tonimateos commented Jan 12, 2024

ACCEPTANCE:

  • the deploy described below does not give any issue
  • usage of truffle is removed from LAOS' repo

To reproduce, put some currency on your deploying account. Put the pvk in your .env as PRIVATE_KEY="04e.....04"

checkout repo: https://github.com/freeverseio/experiments/tree/master/erc20NonTransferrable

npm ci
npx hardhat compile

npx hardhat run --network amoy scripts/deploy.ts  # this will work
npx hardhat run --network polygonMainnet scripts/deploy.ts # this will work

npx hardhat run --network sigma scripts/deploy.ts  # this will NOT work
npx hardhat run --network laos scripts/deploy.ts  # this will NOT work

The errors in LAOS mainnet and Sigma are different!

Error in LAOS MAINNET

Image

Error in LAOS SIGMA
Image

ACCEPTANCE

  • Both scripts run well on laos and on sigma
@tonimateos tonimateos added this to LAOS Jan 12, 2024
@tonimateos tonimateos converted this from a draft issue Jan 12, 2024
@tonimateos tonimateos added bug Something isn't working Grooming Needed Extra attention is needed labels Jan 12, 2024
@tonimateos
Copy link
Contributor Author

I could deploy using both Remix & Truffle, but not with Hardhat

@tonimateos tonimateos changed the title Impossible to deploy a smart contract in Caladan & KLAOS Impossible to deploy a smart contract in Caladan & KLAOS using Hardhat Jan 15, 2024
@tonimateos
Copy link
Contributor Author

Try with Moonbeam first

@tonimateos tonimateos removed the Grooming Needed Extra attention is needed label Jan 22, 2024
@tonimateos tonimateos added the Grooming Needed Extra attention is needed label Jan 31, 2024
@tonimateos tonimateos removed the Grooming Needed Extra attention is needed label Mar 26, 2024
@tonimateos tonimateos removed the bug Something isn't working label Jul 10, 2024
@tonimateos tonimateos added bug Something isn't working Grooming Needed Extra attention is needed labels Sep 10, 2024
@tonimateos tonimateos changed the title Impossible to deploy a smart contract in Caladan & KLAOS using Hardhat Impossible to deploy a smart contract in LAOS Mainnet and Sigma using Hardhat (with different errors!) Sep 10, 2024
@magecnion magecnion self-assigned this Sep 10, 2024
@tonimateos tonimateos added the High Priority Proposed to focus on this when other tasks are present label Sep 10, 2024
@magecnion magecnion removed their assignment Sep 12, 2024
@magecnion magecnion self-assigned this Sep 25, 2024
@magecnion magecnion self-assigned this Sep 30, 2024
@magecnion magecnion linked a pull request Nov 6, 2024 that will close this issue
@magecnion magecnion self-assigned this Nov 14, 2024
@luispdm luispdm assigned luispdm and unassigned luispdm Nov 15, 2024
@luispdm luispdm removed their assignment Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Grooming Needed Extra attention is needed High Priority Proposed to focus on this when other tasks are present
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

4 participants