Generate RPC bindings to contracts #47

Merged
fyrchik merged 2 commits from fyrchik/frostfs-contract:generate-wrappers into master 2023-10-31 10:28:39 +00:00
There is no content yet.
fyrchik added the
discussion
label 2023-10-24 16:52:11 +00:00
fyrchik requested review from storage-core-committers 2023-10-24 16:52:22 +00:00
fyrchik requested review from storage-core-developers 2023-10-24 16:52:23 +00:00
fyrchik requested review from storage-services-committers 2023-10-24 16:52:25 +00:00
fyrchik requested review from storage-services-developers 2023-10-24 16:52:26 +00:00
fyrchik force-pushed generate-wrappers from 185bdbbaf9 to 6b1e2d48ff 2023-10-24 18:55:41 +00:00 Compare
fyrchik force-pushed generate-wrappers from 6b1e2d48ff to 756c14a3ba 2023-10-24 19:23:40 +00:00 Compare
dstepanov-yadro reviewed 2023-10-26 07:22:25 +00:00
@ -0,0 +1,136 @@
// Package alphabet contains RPC wrappers for Alphabet contract.

Are all of this files generated? Is it neo-go bug, that there is no Code generated comment?
From https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source

To convey to humans and machine tools that code is generated, generated source should have a line that matches the following regular expression (in Go syntax):

^// Code generated .* DO NOT EDIT\.$

Are all of this files generated? Is it neo-go bug, that there is no `Code generated` comment? From https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source ``` To convey to humans and machine tools that code is generated, generated source should have a line that matches the following regular expression (in Go syntax): ^// Code generated .* DO NOT EDIT\.$ ```
Poster
Owner

It is a known issue https://github.com/nspcc-dev/neo-go/issues/3139 (neo-go is not yes updated, will fix)

It is a known issue https://github.com/nspcc-dev/neo-go/issues/3139 (neo-go is not yes updated, will fix)
dstepanov-yadro marked this conversation as resolved
dstepanov-yadro approved these changes 2023-10-26 15:42:29 +00:00
fyrchik force-pushed generate-wrappers from 756c14a3ba to a7948d8c14 2023-10-27 08:45:30 +00:00 Compare
fyrchik force-pushed generate-wrappers from a7948d8c14 to bbb56aa035 2023-10-27 08:45:42 +00:00 Compare
Poster
Owner

Updated neo-go, now with gofmt and auto-generated warning

Updated neo-go, now with gofmt and auto-generated warning
dkirillov approved these changes 2023-10-30 06:35:45 +00:00
acid-ant approved these changes 2023-10-30 10:13:40 +00:00
Makefile Outdated
@ -52,0 +56,4 @@
@# but this leads to a large amount of code duplication. It can be written by hand,
@# in case we need to override the type of some variables.
@# --config $*/$*.bindings.yml
@# Unfortunately, primitive integer types are not yes supported.
Collaborator

Typo yes -> yet.

Typo yes -> yet.
Poster
Owner

fixed

fixed
aarifullin approved these changes 2023-10-30 11:01:57 +00:00
fyrchik force-pushed generate-wrappers from bbb56aa035 to 1314cc38f6 2023-10-30 14:39:38 +00:00 Compare
dkirillov approved these changes 2023-10-30 14:44:21 +00:00
fyrchik merged commit 901d5a4083 into master 2023-10-31 10:28:39 +00:00
fyrchik deleted branch generate-wrappers 2023-10-31 10:28:40 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-services-developers
No Milestone
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-contract#47
There is no content yet.