Create an example contract with multiple methods #7
No reviewers
Labels
No labels
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/contract-coverage-primer#7
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "elebedeva/contract-coverage-primer:example-contract"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close #1
Adding an example contract with
PutNumber()
andGetNumber()
methods.Created an example contract with two methods #1to Created an example contract with two methodsIs there a related issue? If this PR close it, could you mention it in description?
It is common practice to write commit msg imperatively: Created -> Create.
Created an example contract with two methodsto [#1] Create an example contract with multiple methods@ -0,0 +2,4 @@
go 1.20
require github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20230728171209-3bbb21bf8f38
It is better to depend on the
neo-go
version: interop version is tightly coupled with the compiler version (the neo-go itself will be a dependency after we add tests). Maybe add simple test in this PR?I've added a simple test and made sure the main dependency is neo-go.
[#1] Create an example contract with multiple methodsto Create an example contract with multiple methodsLGTM
2049d860f0
to72578fc4be