Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Plugin Coding Standard #826

@cschuchardt88

Description

@cschuchardt88

Summary or problem description
For example RpcClient method GetContractStateAsync doesn't even use its model class at all for serializing and deserializing .
image

RpcClient

  • RpcStateRoot No ToJson
  • RpcMethodToken No ToJson
  • RpcFoundStates No ToJson
  • GetContractStateAsync
  • Possibly More

Do you have any solution you want to propose?
We have some kind of standard for writing plugins; code in general. For example, Folder structure layout. Maybe Interfaces for certain things like getting storage from other plugins. Making and writing unit tests. A naming convention for properties names in config.json. Just to name a couple. If we don't as you can see things can get lost in time, as new requirements come along and deadlines need to be met. Also we can update .editorconfig file for most of these little things.

Where in the software does this update applies to?

  • Plugins

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions