Skip to content

Contracts do not deploy on Windows due to filenames with colons (i.e., ":") in them #558

@joshstevens19

Description

@joshstevens19

It seems the ovm compiler does not work on windows. When you try to deploy to one of the L2 nodes with windows it just throws a transaction error. If you do the same command on a Linux subsystem it works fine and it's fine on macs.

Error on windows:

image

Success on windows subsystem Linux:

image

You can see a big difference in the input data on windows vs Linux:

image

The left one is the successful deployment on Linux and the right one is the bad deployment on windows. both using the same code. As you can see the successful one is double the length.

it would be great if you guys did document this for windows users. The solution is to install Linux windows system on your windows machine and then execute the deploy script through your Linux windows system and it all works fine!

It also seems that your repo itself has : in file names, which means you can not clone it successfully on windows as windows does not support : in file names:

image

Be great if you could change these so it supports cloning on every OS this could also be why it does not deploy on windows. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions