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

refactor(substrate_hash): ♻️ Substrate hash no longer retrieved via rpc call #10

Merged
merged 8 commits into from
Mar 7, 2024

Conversation

Trantorian1
Copy link
Collaborator

Pull Request type

  • Refactoring (no functional changes, no API changes)

What is the current behavior?

Substrate block hash in l2.rs is retrieved via an internal RPC call to the running Deoxys node.

What is the new behavior?

Substrate hash is now retrieved through the use of the rpc client initialized in service.rs, which has been passed to l2.rs.

Does this introduce a breaking change?

No

@jbcaron jbcaron self-requested a review March 7, 2024 13:44
@Trantorian1 Trantorian1 requested a review from antiyro March 7, 2024 13:45
@Trantorian1 Trantorian1 added the enhancement New feature or request label Mar 7, 2024
@antiyro antiyro merged commit 61d9874 into madara-alliance:main Mar 7, 2024
6 checks passed
@Trantorian1 Trantorian1 deleted the fix/substrate_hash branch March 7, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants