Use bindings config to generate RPC wrappers #144
Labels
No labels
P0
P1
P2
P3
good first issue
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-contract#144
Loading…
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).Originally posted by @fyrchik in TrueCloudLab/frostfs-node#1571 (comment)