Use bindings config to generate RPC wrappers #1571
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1571
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
neo-go compiler can emit bindings config file which is used by generator to provide custom named types.
As an example, we have
Subject*
andGroup*
types in the frostfsid contract.There is a quirk in neo-go which prevented me from making a PR https://github.com/nspcc-dev/neo-go/issues/3768
In this task:
Subject*
,Group*
andNamespace*
structs in the rpcclient/frostfsid package. This structs should be autogenerated.tests
should reuse these structs instead of custom ones.frostfs/client
package should reuse the parsing code where possible (some types could be made synonyms, others will persist, because of uint64/big.Int mismatch).Let's also discuss what other contracts can benefit from custom return types.
Closed, wrong repo
Closed, wrong repo