Skip to content

[vda-xx] Update owner functions #452

@ITStar10

Description

@ITStar10

Need to update the owner functions of the vda-xxx packages. Checking the read-only mode in the owenr functions is wrong.

  • Now it checks the config.signKey
if (this.readOnly || !this.config.signKey) {
   throw new Error(`Unable to submit to blockchain in read only mode`)
}
  • Need to be updated :
if (this.readOnly || !this.vdaWeb3Client) {
   throw new Error(`Unable to submit to blockchain in read only mode`)
}

Need to update following packages:

  • vda-node-manager
  • vda-reward-client
  • vda-token-client
  • vda-xp-reward-client
  • [ ]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions