-
Notifications
You must be signed in to change notification settings - Fork 17
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
Contract binary package #401
Conversation
Otherwise pkg.go.dev refuses to show anything, see https://pkg.go.dev/license-policy Signed-off-by: Roman Khimov <[email protected]>
Strip the contract name from NEF (it's redundant), make it more clear that we have a manifest already in JSON ("config" can also refer to "config.yml" for the compiler). Signed-off-by: Roman Khimov <[email protected]>
And check for updates in workflow. Signed-off-by: Roman Khimov <[email protected]>
aafb87f
to
21ced72
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice overall
func TestGetFS(t *testing.T) { | ||
c, err := GetFS() | ||
require.NoError(t, err) | ||
require.Equal(t, len(fsContracts), len(c)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest to also test They're returned in the order they're supposed to be deployed starting from NNS
statement from docs. We can also check exact (i guess) result contents since embedded files are now presented in the repo
ok to be done later
Don't pollute contracts go.mod with go-spew and CLI dependencies. Signed-off-by: Roman Khimov <[email protected]>
Signed-off-by: Roman Khimov <[email protected]>
Make them available via a simple package update. Signed-off-by: Roman Khimov <[email protected]>
Real errors are returned like this: "error": "call 'resolve' method of the NNS contract: invocation failed: at instruction 4100 (THROW): unhandled exception: \"token not found\"" So it can't be a simple equality check. Signed-off-by: Roman Khimov <[email protected]>
21ced72
to
b22d2d7
Compare
They were changed after nspcc-dev/neofs-contract#401. Signed-off-by: Pavel Karpy <[email protected]>
No description provided.