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
Expected behavior
As mentioned in this PR's discussion, it should be easy to replace the contract name in a manifest with a new name by, e.g., using StdLib.jsonSerialze.
Platform:
OS: MacOS 11.4
Version nccs 3.0.2, neoxp 3.0.5
The text was updated successfully, but these errors were encountered:
c.Manifest is not a string since #2254, that's why it fails. At the same time if we're talking about factories why do need to take manifest from GetContract, why factory doesn't have it stored internally?
Describe the bug
Calling
StdLib.JsonSerialize
on a contract manifest returns error "Specified cast is not valid."To Reproduce
neoxp reset -f && neoxp run
neoxp contract deploy bin/sc/ExampleContract.nef genesis
neoxp contract invoke invoke.json genesis
Expected behavior
As mentioned in this PR's discussion, it should be easy to replace the contract name in a manifest with a new name by, e.g., using
StdLib.jsonSerialze
.Platform:
The text was updated successfully, but these errors were encountered: