perun-network / erdstall-ts-sdk

TypeScript client SDK to interact with Erdstall.
Apache License 2.0
5 stars 2 forks source link

Pass epoch and block number in phase shift event #76

Open sebastianst opened 3 years ago

sebastianst commented 3 years ago

A phase shift handler currently only receives a signal without any information. We could pass the old epoch number and block number to the handler as an

interface PhaseShiftEvent {
  epoch: number; // just passed epoch
  blockNumber: number;
}
ndzik commented 2 years ago

blockNumber still missing. Have to look in core to see if this is still viable.

ndzik commented 1 year ago

Bumping this issue up again. It is small and came up recently when grooming our backlog.