Skip to content

feat: Add models and configuration parsing#258

Merged
shahnami merged 10 commits intoplat-6527-midnight-supportfrom
plat-6712-add-models-and-configuration-parsing
Jul 8, 2025
Merged

feat: Add models and configuration parsing#258
shahnami merged 10 commits intoplat-6527-midnight-supportfrom
plat-6712-add-models-and-configuration-parsing

Conversation

@shahnami
Copy link
Member

@shahnami shahnami commented Jun 4, 2025

Summary

https://linear.app/openzeppelin-development/issue/PLAT-6712/add-models-and-configuration-parsing

  • Adds Midnight network model
  • Adds Midnight address model
  • Adds Midnight network config
  • Adds template transaction request, response, relayer and signer code
  • Moves address.rs to mod.rs inside address folder
  • Adds midnight-node dependencies
  • Sorts dependencies in cargo.toml

Parent of:

Testing Process

Checklist

  • Add a reference to related issues in the PR description.
  • Add unit tests if applicable.

@LuisUrrutia
Copy link
Contributor

@shahnami you might want to sync with main, since we removed named networks and the way to use networks is different now.

@shahnami shahnami marked this pull request as ready for review June 5, 2025 09:22
@shahnami shahnami requested review from a team as code owners June 5, 2025 09:22
Copy link
Contributor

@NicoMolinaOZ NicoMolinaOZ left a comment

Choose a reason for hiding this comment

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

LGTM

shahnami added 2 commits July 4, 2025 14:01
* chore: Add types and scaffolding for transaction builder

* chore: Use generic types for midnight_transaction

* chore: Update builder and prover logic

* chore: Update builder and prover logic

* chore: Add typo

* feat: Implement relayer model for Midnight (#321)

* feat: Implement relayer model for Midnight

* feat: Add wallet sync service (#335)

* chore: Add indexer url to network config

* feat: Add service sync manager

* chore: Implement tx preparation scaffolding

* chore: Implement get_balance from relayer service

* chore: Replace repo w/ signertrait and clarify sync

* feat: Implement relayer submission functionality (#337)

* feat: Working implementation for transaction submission

* feat: Use sync state repo to allow incremental sync

* fix: Comments for token_type

* feat: Implement status checker

* chore: Upgrade package

* feat: Implement signing for midnight

* refactor: Replace dyn with EventHandlerType enum
@shahnami shahnami merged commit 7a8165a into plat-6527-midnight-support Jul 8, 2025
1 check passed
@shahnami shahnami deleted the plat-6712-add-models-and-configuration-parsing branch July 8, 2025 10:51
@github-actions github-actions bot locked and limited conversation to collaborators Jul 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants