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

neotest.CompileFile does not add sourceURL to nef #3543

Open
ixje opened this issue Aug 4, 2024 · 0 comments
Open

neotest.CompileFile does not add sourceURL to nef #3543

ixje opened this issue Aug 4, 2024 · 0 comments
Labels
bug Something isn't working I4 No visible changes neotest Neotest framework and coverage tool S4 Routine U2 Seriously planned
Milestone

Comments

@ixje
Copy link
Contributor

ixje commented Aug 4, 2024

Current Behavior

compiling a contract with CompileFile that has the sourceurl field set in the config will return Contract with a NEF that does not have the sourceurl set. If this output is then used to deploy the contract it will not reflect the actual config of the contract.

Expected Behavior

The NEF file returned in the Contract return from CompileFile has the source field that reflects the sourceurl of the config passed to CompileFile.

Steps to Reproduce

  1. create a smart contract
  2. compile with neotest.CompileFile
  3. evaluate the Source field of the returned value: Contract.NEF.Source
  4. observe that it is always ""

Your Environment

  • Version of the product used: v0.106.3-0.20240705103125-ed9817d35b29
@ixje ixje added bug Something isn't working U2 Seriously planned labels Aug 4, 2024
@roman-khimov roman-khimov added this to the v0.106.4 milestone Aug 4, 2024
@roman-khimov roman-khimov added S4 Routine I4 No visible changes labels Aug 4, 2024
@AnnaShaleva AnnaShaleva added the neotest Neotest framework and coverage tool label Aug 19, 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 I4 No visible changes neotest Neotest framework and coverage tool S4 Routine U2 Seriously planned
Projects
None yet
Development

No branches or pull requests

3 participants