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

implement state update job #13

Closed
apoorvsadana opened this issue Jun 1, 2024 · 1 comment · Fixed by #23
Closed

implement state update job #13

apoorvsadana opened this issue Jun 1, 2024 · 1 comment · Fixed by #23
Assignees

Comments

@apoorvsadana
Copy link
Contributor

Implement state update job here - https://github.com/karnotxyz/madara-orchestrator/blob/2a9d77b7188afadefe3feba3347a909fc83299ed/crates/orchestrator/src/jobs/state_update_job/mod.rs#L12

  1. Assume the proof has been verified on the base chain already
  2. Make the state update generic across settlement layers (Etheruem or Starknet for now)
  3. Implement the logic inside settlement_clients similar to how its done in Publish State Diff to Eth #7
  4. If the PR implement register proof job #12 is already in progress, sync with it to avoid conflicts
  5. For Ethereum, implement update_state_blobs. We need to figure out how to calculate kzg_proof here
  6. For Starknet, implement update_state_calldata. We need to figure out how to calculate onchain_data_hash and onchain_data_size here
@akhercha
Copy link
Member

akhercha commented Jun 4, 2024

Hey! Can I check this one? :)

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 a pull request may close this issue.

2 participants