-
Notifications
You must be signed in to change notification settings - Fork 292
dev: starknet_getStateUpdate improvement ✨ #773
Comments
Is this possible with the current implementation of the rpc? |
@EvolveArt it seems like rpc endpoint always returns empty madara/crates/client/rpc/src/lib.rs Lines 631 to 638 in 10fd0a8
therefore not much to test |
I can take this one |
@danilowhk #836 refactored the integration test structure. I think you will be working on this test file. Could you check once. |
hey, any ETA ? |
I had a look but wasn't able to actually dig into it, if someone wants to take it please give to them. Apologize for the late notice. |
throwing in some of my ideas which could be 100% . happy to get corrected
|
Hey if this issue is not assigned to someone, can i take it? |
yes please |
Before I jump on the code, any feedback appreciated ( cc. @abdelhamidbakhta, @EvolveArt). Approach Suggestion:
I'm not deeply familiar with the substrate storage system, but I saw related discussions in the TG group chat. @abdelhamidbakhta, any insights on retrieving |
@rkdud007 Did you do any progress on this one? |
hey sorry for delay, was paused for a moments handling recently. Will share shortly :) |
Sure! Do you need help on this or all good? I just saw we didn't receive responses to your question. Did you find out by yourself? |
Yes! If I could get more information about this question would be very helpful :) still bit confuse at how to combine pallet’s storage_change and starknet state_diff part :/ |
Hey I will first do this issue #1081 and then you can wrap up the RPC task, is that's OK with you! |
Ah there is an issue for this, sure @lana-shanghai ! :)) |
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. |
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. |
blocked by #1390 |
will use the code developed for #1372 |
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. |
Do we know when the state update API will be fixed? I heard of the following issues:
|
@antiyro and deoxys should fix the 1. soon. |
hi! |
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. |
@EvolveArt, would like to take up this issue if it's still relevant, I am new to Cairo and Starknet , might need help as well. |
Hey @gerceboss! |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI'm a recent graduate of computer science, Alx Africa certified software engineer, ICP/ Dacade certified blockchain developer and Rust (smart contracts ) expert. How I plan on tackling this issueUnderstand the current implementation |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have a strong foundation in software development with a focus on blockchain technology and decentralized applications. My experience includes working with smart contracts, blockchain infrastructure, and various consensus mechanisms. I have also worked on integrating blockchain networks with front-end and back-end applications, providing end-to-end solutions for decentralized projects. Relevant Skills: Proficient in blockchain development (Solidity, Rust, etc.) How I plan on tackling this issueUnderstanding the Requirements: Steps to Address the Problem: Study Pathfinder Implementation: Review the pathfinder codebase to understand how they handle the tStateUpdate endpoint. Examine the existing mocked implementation to identify what aspects are missing or incorrect. Plan how to transition from the mock to a functional implementation. Replace the mocked components with real data processing and retrieval. Write unit tests to verify the correctness of the StateUpdate implementation. Document the changes and the rationale behind them. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedNYU CS Rust Programmer How I plan on tackling this issue
|
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have experience with rust projects and RPC protocol How I plan on tackling this issue// Definition of necessary structures #[derive(Serialize, Deserialize)] #[derive(Serialize, Deserialize)] #[derive(Serialize, Deserialize)] #[derive(Serialize, Deserialize)] #[derive(Serialize, Deserialize)] #[derive(Serialize, Deserialize)] // Main function to get the state update
} // Implementation of Chain structure with necessary methods
} |
repository archived in favor of https://github.com/madara-alliance/madara |
Current Behavior
getStateUpdate
RPC endpoint is mocked.Expected Behavior
Make it work as expected, following pathfinder implementation.
The text was updated successfully, but these errors were encountered: