Create an example contract with multiple methods #7

Merged
fyrchik merged 4 commits from elebedeva/contract-coverage-primer:example-contract into master 2023-08-01 10:42:02 +00:00
Collaborator

Close #1

Adding an example contract with PutNumber() and GetNumber() methods.

Close #1 Adding an example contract with `PutNumber()` and `GetNumber()` methods.
elebedeva requested review from fyrchik 2023-07-31 11:19:59 +00:00
elebedeva changed title from Created an example contract with two methods #1 to Created an example contract with two methods 2023-07-31 11:20:53 +00:00
Collaborator

Is there a related issue? If this PR close it, could you mention it in description?

Is there a related issue? If this PR close it, could you mention it in description?
Collaborator

It is common practice to write commit msg imperatively: Created -> Create.

It is common practice to write commit msg imperatively: Created -> Create.
elebedeva changed title from Created an example contract with two methods to [#1] Create an example contract with multiple methods 2023-07-31 12:49:07 +00:00
fyrchik reviewed 2023-07-31 14:51:40 +00:00
go.mod Outdated
@ -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?

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?
Poster
Collaborator

I've added a simple test and made sure the main dependency is neo-go.

I've added a simple test and made sure the main dependency is neo-go.
fyrchik approved these changes 2023-07-31 14:51:50 +00:00
fyrchik requested review from fyrchik 2023-07-31 15:35:27 +00:00
acid-ant changed title from [#1] Create an example contract with multiple methods to Create an example contract with multiple methods 2023-08-01 06:01:16 +00:00
aarifullin approved these changes 2023-08-01 09:07:20 +00:00
aarifullin left a comment
Collaborator

LGTM

LGTM
elebedeva force-pushed example-contract from 2049d860f0 to 72578fc4be 2023-08-01 09:28:49 +00:00 Compare
acid-ant approved these changes 2023-08-01 09:46:54 +00:00
fyrchik approved these changes 2023-08-01 10:41:57 +00:00
fyrchik merged commit 72578fc4be into master 2023-08-01 10:42:02 +00:00
elebedeva deleted branch example-contract 2023-08-01 13:16:54 +00:00
Sign in to join this conversation.
There is no content yet.