You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
create a smart contract
compile with neotest.CompileFile
evaluate the Source field of the returned value: Contract.NEF.Source
observe that it is always ""
Your Environment
Version of the product used: v0.106.3-0.20240705103125-ed9817d35b29
The text was updated successfully, but these errors were encountered:
Current Behavior
compiling a contract with
CompileFile
that has thesourceurl
field set in the config will returnContract
with a NEF that does not have thesourceurl
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 fromCompileFile
has thesource
field that reflects thesourceurl
of the config passed toCompileFile
.Steps to Reproduce
neotest.CompileFile
Source
field of the returned value:Contract.NEF.Source
""
Your Environment
The text was updated successfully, but these errors were encountered: