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

Trying to deploy a new token to the local network (venom) #34

Open
manu-bhadoria opened this issue Nov 1, 2023 · 1 comment
Open

Trying to deploy a new token to the local network (venom) #34

manu-bhadoria opened this issue Nov 1, 2023 · 1 comment

Comments

@manu-bhadoria
Copy link

manu-bhadoria commented Nov 1, 2023

Following the venom documentation to deploy a token on local network.

I am running npx locklift run -s ./scripts/1-deploy-collection.ts -n local and getting error

[INFO]  Found 3 sources
[INFO]  Found 3 changes, compiling...
[ERROR]  path: C:\my-first-nft\contracts\Nft.tsol, contractFile: Nft. error: Error: Source file requires different compiler version (current compiler is 0.62.0+commit.e66e9ac9.Windows.msvc)
 --> C:/my-first-nft\node_modules\@broxus\tip4\contracts\TIP4_1\structures\ICallbackParamsStructure.tsol:1:1:
  |
1 | pragma ever-solidity ^0.61.2;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Error: Source file requires different compiler version (current compiler is 0.62.0+commit.e66e9ac9.Windows.msvc)
 --> C:/my-first-nft\node_modules\@broxus\tip4\contracts\TIP4_1\interfaces\ITIP4_1NFT.tsol:1:1:
  |
1 | pragma ever-solidity ^0.61.2;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Error: Source file requires different compiler version (current compiler is 0.62.0+commit.e66e9ac9.Windows.msvc)
 --> C:/my-first-nft\node_modules\@broxus\tip4\contracts\TIP4_1\interfaces\INftChangeOwner.tsol:1:1:
  |
1 | pragma ever-solidity ^0.61.2;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Error: Source file requires different compiler version (current compiler is 0.62.0+commit.e66e9ac9.Windows.msvc)
 --> C:/my-first-nft\node_modules\@broxus\tip4\contracts\TIP4_1\interfaces\INftChangeManager.tsol:1:1:
  |
1 | pragma ever-solidity ^0.61.2;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Error: Source file requires different compiler version (current compiler is 0.62.0+commit.e66e9ac9.Windows.msvc)
 --> C:/my-first-nft\node_modules\@broxus\tip4\contracts\TIP4_1\interfaces\INftTransfer.tsol:1:1:
  |
1 | pragma ever-solidity ^0.61.2;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Error: Source file requires different compiler version (current compiler is 0.62.0+commit.e66e9ac9.Windows.msvc)
 --> C:/my-first-nft\node_modules\@broxus\tip4\contracts\TIP6\ITIP6.tsol:1:1:
  |
1 | pragma ever-solidity ^0.61.2;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Error: Source file requires different compiler version (current compiler is 0.62.0+commit.e66e9ac9.Windows.msvc)
 --> C:/my-first-nft\node_modules\@broxus\tip4\contracts\TIP6\TIP6.tsol:1:1:
  |
1 | pragma ever-solidity ^0.61.2;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Error: Source file requires different compiler version (current compiler is 0.62.0+commit.e66e9ac9.Windows.msvc)
 --> C:/my-first-nft\node_modules\@broxus\tip4\contracts\TIP4_1\TIP4_1Nft.tsol:3:1:
  |
3 | pragma ever-solidity ^0.61.2;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```
  
  Tried changing compiler versions to various others but to no solution.
@30mb1
Copy link
Member

30mb1 commented Nov 1, 2023

Hi!
This is not the problem of locklift. You are trying to use 0.62.0 compiler while tip4 contracts are tied to 0.61.2 . Anyway, I acknowledged team about this and we will fix that asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants