Open AnnaShaleva opened 2 weeks ago
BTW, it should likely be netmode.MainNetNeoFS
and netmode.TestNetNeoFS
to match the embeds:
https://github.com/nspcc-dev/neo-go/blob/5566e354d451fd14d3b2a856cfe4b1b654a7343e/config/config_embed.go#L24-L32
Mainnet and testnet networks are well-known, can be added.
Is your feature request related to a problem? Please describe.
netmode
package doesn't contain NeoFS chains IDs. We've already discussed this problem with @roman-khimov, but I can't find the conversation. The arguments against extension were that NeoFS-related things are not finally established in the Neo ecosystem as it required for moving these constants to thenetmode
package.But I see that there are users of NeoGo for those it will be useful to have a designated constants for NeoFS networks, because they work with NeoFS node configs. Thus, I suggest to consider extending
netmode
package one more time.Describe the solution you'd like
Add
netmode.NeoFSMainNet
andnetmode.NeoFSTestNet
constants.Describe alternatives you've considered
Keep
netmode
package as is and let the users ofnetmode
package handle FS chain configs by their own forces.