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

chore: devnet to testnet #351

Merged
merged 18 commits into from
Feb 4, 2025
Merged

chore: devnet to testnet #351

merged 18 commits into from
Feb 4, 2025

Conversation

dtfiedler
Copy link
Collaborator

Includes:

  • removing deprecated attributes for gateways (SDK and network portal updated)
  • adds arns stats to epoch data when created (useful for historical purposes)

dtfiedler and others added 18 commits February 3, 2025 15:36
SDK and Network-portal are updated to use the new values. We can stop storing them on the contract
SDK and Network-portal are updated to use the new values. We can stop
storing them on the contract
…-7415 (#346)

Adds new API to created and distributed Epochs 

```ts
/** epoch.arnsStats */
export type ArnsStats = {
  totalActiveNames: number;
  totalGracePeriodNames: number;
  totalReservedNames: number;
  totalReturnedNames: number;
}
```
Also includes some adjustments to returned name computation
Instead of trying to determine what status a record/name/etc has throughout an epoch, we will just get a snapshot at the begining using the epochStartTimestamp. This will tell us at that point in time, what are the stats around arns.
We have duplicated logic, reducing to help understand logic flow bettter
@dtfiedler dtfiedler marked this pull request as ready for review February 4, 2025 20:16
@dtfiedler dtfiedler merged commit 8d0070b into main Feb 4, 2025
12 checks passed
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

Successfully merging this pull request may close these issues.

3 participants