Skip to content

feat: coretime implementation - #1558

Merged
filvecchiato merged 26 commits into
masterfrom
filippo_coretime_implementation
Jan 7, 2025
Merged

feat: coretime implementation#1558
filvecchiato merged 26 commits into
masterfrom
filippo_coretime_implementation

Conversation

@filvecchiato

@filvecchiato filvecchiato commented Nov 29, 2024

Copy link
Copy Markdown
Contributor

New Feature: Implements the coretime endpoints for relay chain and for coretime chain.

It includes basic endpoints for single information record recovery, and more advanced endpoints with precomputed calculations and information.

@filvecchiato
filvecchiato force-pushed the filippo_coretime_implementation branch from 744895d to 6de3395 Compare November 29, 2024 15:52
@filvecchiato filvecchiato changed the title Filippo coretime implementation Feat: coretime implementation Nov 29, 2024
@filvecchiato
filvecchiato force-pushed the filippo_coretime_implementation branch from 4efc743 to f6e8a77 Compare December 9, 2024 15:15
@filvecchiato filvecchiato changed the title Feat: coretime implementation feat: coretime implementation Dec 9, 2024
@filvecchiato
filvecchiato force-pushed the filippo_coretime_implementation branch from 9ef9d68 to e8a0808 Compare December 19, 2024 15:59
@filvecchiato
filvecchiato force-pushed the filippo_coretime_implementation branch from 142039d to 4dcdf17 Compare December 20, 2024 11:12
@filvecchiato
filvecchiato marked this pull request as ready for review December 20, 2024 11:13
@filvecchiato
filvecchiato requested a review from a team as a code owner December 20, 2024 11:13
Comment thread src/services/coretime/CoretimeService.ts
Comment thread src/services/coretime/CoretimeService.ts
Comment thread src/services/coretime/CoretimeService.ts Outdated
Comment thread src/services/coretime/CoretimeService.ts
Comment thread src/services/coretime/CoretimeService.ts
Comment thread src/services/coretime/CoretimeService.ts Outdated
Comment thread src/services/coretime/CoretimeService.ts Outdated
Comment thread src/services/coretime/CoretimeService.ts Outdated
Comment thread src/services/coretime/CoretimeService.ts
Comment thread src/services/coretime/CoretimeService.ts Outdated
Comment thread src/services/coretime/CoretimeService.ts
Comment thread src/services/coretime/CoretimeService.ts
Comment thread src/services/coretime/CoretimeService.ts
Comment thread src/services/coretime/util.ts Outdated

@TarikGul TarikGul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall amazing PR! I have a few nits:

  1. The typecasting can be removed. AFAIU the types are correctly passed down from PJS so you should be good.

  2. For any imported types we can use import type.

Other than that the PR looks really great!

@filvecchiato

Copy link
Copy Markdown
Contributor Author
  1. The typecasting can be removed. AFAIU the types are correctly passed down from PJS so you should be good.

I removed most of typecasting (nice catch, not sure I was having issues before), I had to leave typecasting for coreDescriptors and paraLifecycles though, we can doublecheck if there is something wrong on my end though

Other than that the PR looks really great!

thanks for checking it out!

@filvecchiato filvecchiato linked an issue Dec 23, 2024 that may be closed by this pull request

@TarikGul TarikGul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@Imod7 Imod7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments and a question. Looks great! 🎉

Comment thread docs/src/openapi-v1.yaml Outdated
Comment thread docs/src/openapi-v1.yaml Outdated
Comment thread docs/src/openapi-v1.yaml Outdated
Comment thread src/controllers/coretime/CoretimeChainController.ts Outdated
Comment thread src/chains-config/polkadotControllers.ts Outdated
Comment thread src/controllers/coretime/CoretimeGenericController.ts Outdated
Comment thread src/services/coretime/CoretimeService.ts Outdated
Comment thread docs/src/openapi-v1.yaml Outdated
Comment thread docs/src/openapi-v1.yaml Outdated
@filvecchiato

Copy link
Copy Markdown
Contributor Author

Some minor comments and a question. Looks great! 🎉

Nice catches, thanks! On it

@filvecchiato
filvecchiato requested a review from Imod7 January 6, 2025 12:02

@Imod7 Imod7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating! All Good! ✅

@filvecchiato
filvecchiato merged commit 3a92196 into master Jan 7, 2025
@filvecchiato
filvecchiato deleted the filippo_coretime_implementation branch January 7, 2025 10:02
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.

Add support for Coretime

3 participants