Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vda-xx] Update owner functions #452

Open
4 tasks
ITStar10 opened this issue Jul 30, 2024 · 0 comments
Open
4 tasks

[vda-xx] Update owner functions #452

ITStar10 opened this issue Jul 30, 2024 · 0 comments
Assignees

Comments

@ITStar10
Copy link
Contributor

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
  • [ ]
@ITStar10 ITStar10 self-assigned this Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant