karnotxyz / madara-orchestrator Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Implement proof registration job here -
Ethereum
inside settlement_clients
just like how we do it for da_clients
in #7.Currently, we send a hardcoded value of 30mn. We should fix this and make it the approximate gas it takes to send a DA transaction with state update to avoid loss of money.
Fact registry is used for storing succinct evidences of successful proof verification.
https://github.com/starkware-libs/starkex-contracts/blob/master/scalable-dex/contracts/src/components/FactRegistry.sol
Implement state update job here -
settlement_clients
similar to how its done in #7update_state_blobs
. We need to figure out how to calculate kzg_proof
hereupdate_state_calldata
. We need to figure out how to calculate onchain_data_hash
and onchain_data_size
hereEthereum 4844 DA support should be added with this PR - #7. Adding new DA layers should be very similar to this approach. The steps would be
da_clients
DaClient
trait from da-client-interface
publish_state_diff
: push the data on chain and return the txn_hashverify_inclusion
: taking the txn_hash as input, check if the txn has been finalized on chainComplete the SNOS job implementation over here -
getSnosInput
. For now, we can assume this endpoint exists and we can call it to get the SNOS input - https://github.com/keep-starknet-strange/snos/blob/da26557078111b5d489154b162f3f810174f5b69/src/io/input.rs#L19database
and queues
alreadyRunning the orchestrator requires knowledge about multiple contract addresses - core contracts, verifier, memory page registry etc. We need to add these in the config
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.