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

Remove isActive from the StorkNode and StorkContract structs #19

Description

@shankars99

bool isActive is not needed

Incase of a StorkNode if the node misbehaves

  1. storkNodes[_storkNodeAddr].stakeValue can be set to 0
  2. storkNodes[_storkNodeAddr].stakeEndTime can be set to block.timestamp

As a StorkContract can't misbehave

  1. just set storkContracts[_storkContractAddr].txCount can be set to 0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions