diff --git a/batch.json b/batch.json deleted file mode 100644 index 25bbae7b..00000000 --- a/batch.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "raw_results": [ - "0x496e736964652054657374206e616d6500000000000000000000000000000020" - ], - "results_commitments": [ - "0xf747c57ef547b1791842881a557f8da2d3bfcd529baabe39feecfef3eb194bbe" - ], - "tasks_commitments": [ - "0x77e994d9e435e91fb7a98242ce6aa460dc094888e2745cdd93727b93fac841ac" - ], - "task_inclusion_proofs": [ - [] - ], - "results_inclusion_proofs": [ - [] - ], - "results_root": "0x34b46123c4ab406cec0586364d8ed193353f0e9fb1b32cac0988fc0970dc50a2", - "tasks_root": "0xd900a4d980172ad23fafb579aeac7cff91c73636d334bc247a1c3142d8bffa78", - "mmr_metas": [ - { - "id": 26, - "root": "0x5358fbe594d3e8fdb3f6f7bbbe979fc3a377851a21909ea7bc1821e15cc6c4e", - "size": 12899969, - "peaks": [ - "0x262c4c9b1cb2a036924aecf563dc9952e5f8b41004310adde86f22abb793eb1", - "0x63e06c6dd962e6232140b8f20fc4972ee69ca29d1c6ca4455d80afd4be0f3de", - "0x48c9781f73635713eb8ef52890c481f4438c576baf01b31bc7935d9d42c1244", - "0x068c923e9bcc3df411575563e88a81cdef49ef6c4307efad707a8538114b753", - "0x54a48cae0defc94286e03d5c3abc53a399db7eb6207140f8d6f8d7322c9d1fc", - "0x1f31aea9b689fdab066317c08c865ae3b134adef05a744965a5741119a6c094", - "0x41dc23c0b0c18e7cc1d3f7148feabbe30269080cbe9b6ead6b718a2d1176382", - "0x1d04bc7dd1b40becbbfdf6a6971ef0e1ffc873087ed75bb2163dd2615d366de", - "0x5f3202e8d32391896022ddb916b83f165d2d7486261304f3e029aad6258ba2c", - "0x3a98faad3cc3bdeee0f2a346469fe4e67d364c98f8f5adf03f472000194081c", - "0x48bb57587a1e690409d81b70f3fe2ee625f25f008ec0773e55a0e1293c9e025" - ], - "chain_id": 11155111 - } - ] -} \ No newline at end of file diff --git a/cli/src/interactive.rs b/cli/src/interactive.rs index 7a186d39..2be26667 100644 --- a/cli/src/interactive.rs +++ b/cli/src/interactive.rs @@ -1,4 +1,4 @@ -use alloy::{primitives::U256, transports::http::reqwest::Url}; +use alloy::primitives::U256; use anyhow::bail; use hdp::hdp_run; use hdp::preprocessor::module_registry::ModuleRegistry; @@ -63,7 +63,7 @@ pub async fn run_interactive() -> anyhow::Result<()> { // 0. Chain ID let chain_id: String = inquire::Text::new("Chain ID") .with_help_message("What is the chain ID? (Enter to set default)") - .with_default("ETH_SEPOLIA") + .with_default("ETHEREUM_SEPOLIA") .prompt()?; // 1. Block range start let block_range_start: u64 = inquire::Text::new("Block range start") @@ -150,7 +150,7 @@ pub async fn run_interactive() -> anyhow::Result<()> { // 0. Chain ID let chain_id: String = inquire::Text::new("Chain ID") .with_help_message("What is the chain ID? (Enter to set default)") - .with_default("ETH_SEPOLIA") + .with_default("ETHEREUM_SEPOLIA") .prompt()?; let target_block: u64 = inquire::Text::new("Enter target block number") .with_help_message( @@ -316,29 +316,10 @@ pub async fn run_interactive() -> anyhow::Result<()> { .with_default(true) .prompt()?; if allow_run { - let rpc_url: Option = match inquire::Text::new("Enter RPC URL: ") - .with_help_message("Skip if you have it in your .env file") - .prompt() - { - Ok(url) => match url.as_str() { - "" => None, - _ => Some(url.parse()?), - }, - Err(_) => None, - }; - let chain_id: Option = match inquire::Text::new("Enter Chain ID: ") - .with_help_message("Skip if you have it in your .env file") - .prompt() - { - Ok(chain_id) => match chain_id.as_str() { - "" => None, - _ => Some(chain_id.parse()?), - }, - Err(_) => None, - }; + println!("Make sure to position correct rpc url related env variables."); - let output_file: PathBuf = inquire::Text::new("Enter Output file path: ") - .with_default("output.json") + let output_file: PathBuf = inquire::Text::new("Enter Batch proof file path: ") + .with_default("batch.json") .prompt()? .into(); let cairo_input: PathBuf = inquire::Text::new("Enter Cairo input file path:") diff --git a/hdp/src/hdp_run.rs b/hdp/src/hdp_run.rs index 5b39640b..4b84ecf5 100644 --- a/hdp/src/hdp_run.rs +++ b/hdp/src/hdp_run.rs @@ -55,8 +55,8 @@ impl HdpRunConfig { // Iterate through environment variables to find RPC_URL and RPC_CHUNK_SIZE configurations for (key, value) in env::vars() { - if key.starts_with("RPC_URL_") { - let chain_id: ChainId = key[8..] + if let Some(stripped_chain_id) = key.strip_prefix("RPC_URL_") { + let chain_id: ChainId = stripped_chain_id .parse() .expect("Invalid chain ID in RPC_URL env var"); let rpc_url: Url = value.parse().expect("Invalid URL in RPC_URL env var"); @@ -65,7 +65,7 @@ impl HdpRunConfig { let rpc_chunk_size: u64 = env::var(&chunk_size_key) .unwrap_or_else(|_| "40".to_string()) .parse() - .expect(&format!("{} must be a number", chunk_size_key)); + .unwrap_or_else(|_| panic!("{} must be a number", chunk_size_key)); provider_config.insert( chain_id, diff --git a/input.json b/input.json deleted file mode 100644 index 5fd18be0..00000000 --- a/input.json +++ /dev/null @@ -1,776 +0,0 @@ -{ - "cairo_run_output_path": "cairo_run_output.json", - "task_root": "0xd900a4d980172ad23fafb579aeac7cff91c73636d334bc247a1c3142d8bffa78", - "result_root": "0x34b46123c4ab406cec0586364d8ed193353f0e9fb1b32cac0988fc0970dc50a2", - "proofs": { - "mmr_metas": [ - { - "id": 26, - "root": "0x5358fbe594d3e8fdb3f6f7bbbe979fc3a377851a21909ea7bc1821e15cc6c4e", - "size": 12899969, - "peaks": [ - "0x262c4c9b1cb2a036924aecf563dc9952e5f8b41004310adde86f22abb793eb1", - "0x63e06c6dd962e6232140b8f20fc4972ee69ca29d1c6ca4455d80afd4be0f3de", - "0x48c9781f73635713eb8ef52890c481f4438c576baf01b31bc7935d9d42c1244", - "0x068c923e9bcc3df411575563e88a81cdef49ef6c4307efad707a8538114b753", - "0x54a48cae0defc94286e03d5c3abc53a399db7eb6207140f8d6f8d7322c9d1fc", - "0x1f31aea9b689fdab066317c08c865ae3b134adef05a744965a5741119a6c094", - "0x41dc23c0b0c18e7cc1d3f7148feabbe30269080cbe9b6ead6b718a2d1176382", - "0x1d04bc7dd1b40becbbfdf6a6971ef0e1ffc873087ed75bb2163dd2615d366de", - "0x5f3202e8d32391896022ddb916b83f165d2d7486261304f3e029aad6258ba2c", - "0x3a98faad3cc3bdeee0f2a346469fe4e67d364c98f8f5adf03f472000194081c", - "0x48bb57587a1e690409d81b70f3fe2ee625f25f008ec0773e55a0e1293c9e025" - ], - "chain_id": 11155111 - } - ], - "headers": [ - { - "rlp": [ - "0x216f1eb0a05c02f9", - "0x4de0372b4bed3c60", - "0x8e23a0628d6c899f", - "0x65105b263ee0b4f5", - "0x4dcc1da057420e26", - "0xb585ab7a5dc7dee8", - "0x4512d31ad4ccb667", - "0x42a1f013748a941b", - "0xe2c6944793d440fd", - "0x6dca7ce2bf919945", - "0xe4a123da352f7286", - "0x9b608182bda097cb", - "0x29e3b5d6b2eb735d", - "0x453e78855ad3ad56", - "0x385cd72fd2f23ff9", - "0x6a7132d6a0e509c3", - "0x44cd18a4510c63cf", - "0x77919e8f9a1667c4", - "0x414bad92d40a9154", - "0x446e34a0813f946c", - "0xbe9450981b4e25eb", - "0x3dac7c23f5bb80be", - "0xf687f40adf699e82", - "0x1b9f087b04080", - "0xc8c910cce7c486d2", - "0xe59016a45e2698a1", - "0x82b4c33d7c5f5332", - "0xd446f24a5ed5b7cc", - "0xdf996f696b144e29", - "0xe24f0c6659dc1e54", - "0x4fa0a9d3141e3c9a", - "0xd9ecef0a2c5e6c94", - "0x2ac5a6ea467f7470", - "0x829130f6af92b658", - "0xe261af81856c3116", - "0x7b00b19847d30f60", - "0xdbc971aad011c5e7", - "0xd64f4cb7209bd6d0", - "0x70442fd0a28ca850", - "0x5c2cd3d036bc0140", - "0x9e437f250c8ac88f", - "0x9e28395a49ac6876", - "0xf6a43f3f0328bc0d", - "0xd9b4ecd529b403f8", - "0x59d6efe506742a33", - "0x7664561421b64d04", - "0x1c8f18660a1d4837", - "0x1c8ad7be7da7180c", - "0x47df73de1f95de05", - "0xd167b65b1edfe383", - "0x6b45c814dfc3b9d8", - "0x20e161a0d09691ac", - "0xb290d5b6ab793ef1", - "0x9a850b64eaf115a5", - "0x6274b7e9d0975fc9", - "0x94ee5d102c0a774b", - "0xc90184c546618380", - "0x8459b853018480c3", - "0x74657291bcaca266", - "0x332e302e31762f68", - "0x6ca078756e696c2f", - "0xd3a5a7ee7bde8cac", - "0x60f7893db4ae18f6", - "0x58536e554021926d", - "0x8887bc7cf3c65be6", - "0x0", - "0xe560a08f6e329484", - "0x1a6b0adc0ebec001", - "0x82c517e276bbf0d1", - "0x28ffa87f26c06564", - "0x283435c3242e723", - "0xaca0000098830000", - "0x73d11f799a08a6eb", - "0x1579c174a76155bc", - "0x9e37c7cb80c29381", - "0xacba28e2aceec8" - ], - "rlp_bytes_len": 607, - "proof": { - "leaf_idx": 12739496, - "mmr_path": [ - "0x291adc0ff3f5eb31376d2dc882c4a0b612ee00b536b484d9d68533db47b1a55", - "0x577884cce23db95312ef380a904afccab7fbd9cf34e84777adf2813bc92a413", - "0x71426cc21537949a45197dd3a57b397d86d3302dc894173068585b7631ebb25", - "0x6ebf678bb0eb572f157cf9ca66d1c27754c20986de0335382c12afd8fcd26fb", - "0x20dfc647656b4c039bf946a56d2695fd631a2226fd815a83b69e18b543b9dd5", - "0x1ea310f504c5c7c6d43642ba2c09fa8f66edd91a6d3e965dec30db6ec9aa030", - "0x18ca5daed2c274cf2215dd11b3c5875b740df446360af179c95a0ec53c58f13", - "0x59417edcf79f38992d51563fb1e2af608dff9f2371fef973b0cdac2febc526f", - "0x45a9615d78011e7752d3e3f3f6e11f0de5b8fe531a0959d0f6e5041e1b5ba6f", - "0x1e94c6fa131239300669cb31c1ced02d1ad800fac561e092ab8b843cb0e6111", - "0x767920b8e4e378c8a1e55f812ea4579e6deb7584eab1325bcf5bad57b442cf7", - "0x2bfb39d36fcf83d18b05565fb4ae8de38453d439db185160c0cb541df2255f7", - "0x3a5f673a2f7d7cacff677177483259b7b9161dde49603a3523909a74dcf58eb", - "0x63cb7951cbce300498bb8868a619f6ae7179d5ed1a5d832859e870de3e5c011", - "0x5dfc985941ef9d1bae4a5bcddb23a338c70248a43107555df4cc20f81423721", - "0x07a25a1fdea49b07bbf8231ad4e7c00dc020b85c183f91022abd7c7baf1f42d", - "0x3d088c444fcc7a0083f3cb9d95d56975d22a8ac1171fcf5c0d8fa325fcff4db" - ] - } - } - ], - "accounts": [ - { - "address": [ - "0x5d89d5862ca7e8af", - "0x36b7d426ab6d61d6", - "0x2f4722cf" - ], - "account_key": "0x7fd6daf0de598ff611452d8eb4ec5f7e99e8ef74d175073be14cdc936830b5d3", - "proofs": [ - { - "block_number": 6375109, - "proof_bytes_len": [ - 532, - 532, - 532, - 532, - 532, - 404, - 83, - 104 - ], - "proof": [ - [ - "0x444e529da01102f9", - "0xf37544b888708d51", - "0x4c73181251ca8773", - "0xca042799a2381be", - "0x8f891aa08f7a0b4b", - "0x1a73b84327366212", - "0xe20ac0516697c8bd", - "0x6fc64891e36ca714", - "0xd808a02db30e1217", - "0x607e5eea121e89d4", - "0x17b487cd624bab57", - "0x3f5938c05a0ffbd6", - "0x7a081e913a93e5b", - "0x4cacd321d5a138bd", - "0xeea00b2128a12212", - "0x5320f46d51ce5b74", - "0xa0fcde49c74a4e21", - "0xf4f5e9953107eadd", - "0x9b742e5b58a0b03a", - "0xf840bf140ca4f854", - "0xbbcf9e589f3860ab", - "0xb2347ff3a6618ba0", - "0xd30ef52d45438b70", - "0x5d2ff37033210e6c", - "0xe8d2cdc675a9a230", - "0x7b6e8ca5b604a080", - "0xfdaff0383e2cf2f2", - "0x43b00d14850f7873", - "0x32259e9638884225", - "0xdb2a38f356a0d615", - "0xdd66b426e3ee70dc", - "0xcb2a87f92ce4f59a", - "0x3558c02b067b0f76", - "0xd441ac8aa0542ab1", - "0x33a7053e7510a439", - "0x7bfc53cb480af51", - "0x917e6bc2d32e31a0", - "0x7e22ca0a3172bee", - "0x171aa595ef249e65", - "0x208430e2b9b2840", - "0x374f95bcc70a084f", - "0xb982a06bc37beb57", - "0xa307195ab46d773d", - "0x7d158a83f588227c", - "0x9bdf8627dbf1a4b6", - "0x68a069b7ad9561fd", - "0x711bc0fd99a56731", - "0xe16f9014a1da14da", - "0x1998ccb79dd40fee", - "0xa084c2deda7009ad", - "0xfec128291c32139c", - "0xf45b263525bbc1bc", - "0xea18c1d000803bd8", - "0xbc6e26a2759645b1", - "0xe5b26ed4928d5a0", - "0xd261b3306613ca46", - "0x118fcfd107367472", - "0x5750921a2a88ba9f", - "0xa0383126830ca0d9", - "0xfe03bb87ac16126e", - "0xd1b081e732ece6fe", - "0x14dba318c57c7fe1", - "0x6c9c7b30cca06837", - "0xa523ed9e811d73ec", - "0x9b98ace58bd45b0c", - "0xd81bb282de7c44ee", - "0x8048f498" - ], - [ - "0x1be4de43a01102f9", - "0x5b34e092388e9421", - "0xbbd32e19fe740815", - "0x57057ce6e1f2644c", - "0x1d9df4a0a4e1c960", - "0x798f1be9df913cae", - "0xb30f19e7d6597147", - "0x11c742452bd94bf5", - "0x68e8a054ddb0b4ee", - "0xebfbe7754b250c66", - "0xae0ee2ae31a2188b", - "0x2810698530f06730", - "0x89a074edd683c4eb", - "0x5f97b1a37b93f4c8", - "0x71766d0f37c01dac", - "0xceb278e3002bf14a", - "0xa05fc915f988d02d", - "0x44096c084c7724ec", - "0x55ca8edd889c1770", - "0xc74bcb8a87a3b3c5", - "0x3deab16eedc763a3", - "0x958ebb0ed20204a0", - "0xe0d7842550e1f7fa", - "0x50378dcc62cf1f85", - "0x1f8580288af2906e", - "0x101b530e575ba0de", - "0x72c2c377c188c834", - "0x547c9b315322f81a", - "0xcae4953a6575c1e9", - "0x41b8d3a8a7a04482", - "0x6c10c919bc7e59fb", - "0x832c3b8673380b0e", - "0x6022da748383ca14", - "0x5668c9ca0dc3dd8", - "0x7c7f8ff768d7a1a3", - "0x2f2acbd07b06820d", - "0xb3b9895140569141", - "0x3b6e69a00740897b", - "0x26a2b25238b65af3", - "0xa386028d7baff6dc", - "0x11ad051616033e5d", - "0x96eea067010faa37", - "0xed9d9c9bcedf5af0", - "0x37fb98d62dbd1dd6", - "0x1f414dbe76c464fd", - "0xdaa08bc0cb33fc60", - "0xb08cb9c2085cfc71", - "0xe189139d5391d4e6", - "0x81d62c2a3dd95aec", - "0xa0dda1a58913281d", - "0xe1e15f468c7be8f4", - "0x65e2cfcdbc79758a", - "0x25ede651e43dd045", - "0x1a230ebf6ee33052", - "0x19d7bd1e8c7550a0", - "0x94ac7048d3482b8d", - "0x4712f434347bd5f3", - "0x880f325e69627cba", - "0x4771673871e9a0b2", - "0x76e996ee04ef431", - "0x2032636c635156d2", - "0x6fd0c2a5bab4d2", - "0xf91fee1389a05181", - "0xb27b11ed5629c41a", - "0xed1c9dcc37b3085d", - "0xd493606d4ca0d3d3", - "0x801bdb72" - ], - [ - "0x71b960fa01102f9", - "0xbe1fe01634ea6e64", - "0xf41a59ac121ab0c7", - "0x11e95a4610790b44", - "0xb55cb6a0d1fb205a", - "0xadc9623e6edbc11c", - "0xfddc0a1821ba0cf0", - "0xd53be648834ef0f0", - "0xdbb3a033efba1484", - "0x56bdb101631c76f", - "0xd7d4f6591a171443", - "0xae600196088ef39", - "0x5aa07ece61ce4d49", - "0xfde31c1a7f893138", - "0xcb4c4365813b31ac", - "0x44e9682ec2fb5add", - "0xa064828756abd703", - "0x658940a7e900dedf", - "0x9ca2692bc72e0dd9", - "0x98f612838e0975f6", - "0xc0df161b8509e12d", - "0x48cd9012fce98a0", - "0xe861b22ec42d85f7", - "0x3cdd46ba75e86818", - "0xaf04e750b297489e", - "0xc43beb370e43a015", - "0xdd1b4d4edbb176aa", - "0xa5c2422d0bf6e6c4", - "0xc55773d8da6facaa", - "0x24ff6b6229a083da", - "0xa99e9a8bcd8eda00", - "0x3c3feb7198579ee1", - "0x1f60a3b2c54965a3", - "0xa97bcaa2a0872921", - "0xacc08b0b6f7d237d", - "0x6800e1bcd674c94d", - "0xa8c833699d7d8aeb", - "0xb245eca05d102c80", - "0x6fb43714b5bad4d7", - "0x94f615ad1da741fb", - "0x6d2e560d0e41ff56", - "0xa4f6a0208423a3cf", - "0x5b2e046e7d074f35", - "0xa098289f7f01d0bd", - "0x2265a4a7bfebcecc", - "0x7ca007262c28d797", - "0x6af5f9ed4ff17ff1", - "0x8b88a3ee112ee6a3", - "0xca661abf2cb29191", - "0xa066abc586c64a8a", - "0x813b3cd8cb48fcd8", - "0x72494ff3567ed250", - "0xb1d3cd4907b614c2", - "0xf1256dd9567b6a94", - "0xddeea9f55da583a0", - "0xe51a6c75910e4d4a", - "0xaa1ef569451c7ad3", - "0x15c29d58e7b28540", - "0xc98d543b0a3ba0e1", - "0x4ac2a8d446a1bab8", - "0xb1924632c4a3a8d7", - "0x1fb62fac04c4a758", - "0x82068bfc8fa002cb", - "0xa49507b0d33f4ae8", - "0xeaa341d28d10ad45", - "0xe8b0b5a713f7300e", - "0x8062325a" - ], - [ - "0xf1af50daa01102f9", - "0xc45148a86edcfbfe", - "0x7ff915197b189f26", - "0x7f92e3cf79221546", - "0x2650c9a0433b2cba", - "0x18c1ca0bbe0b9385", - "0xe4ca0208b3d7628d", - "0x184082fb648501bc", - "0x64f7a05428e26594", - "0x25ada2a637e5f953", - "0x8a3a6b896604586e", - "0xad9c09b75d0b3eae", - "0x7aa01f3891ebd29c", - "0x4124ff872109dbdd", - "0x576bba0fccf024df", - "0xfb686bbc7bf54546", - "0xa06ac78578ce9466", - "0x253055df1f76d334", - "0x32cd652eb86671d2", - "0x6f106a856b73968c", - "0x7c49da01208a387f", - "0x2c13a33c7ca8aaa0", - "0x17a3b5e952302372", - "0xddc268c59cc4adc2", - "0x61aa3d293992472b", - "0xf32780d28c36a098", - "0x7c451b5fd225caf6", - "0xe95f518a00b6b4fa", - "0xd7db61a9257c1e15", - "0x73454d87fda0ab26", - "0x339ba009944d4d6b", - "0x9ed08a8230482a69", - "0xd1390999b8312afb", - "0xb82fcc9ba067c7d8", - "0x52664c6dab495e", - "0x3615ae6770edd2df", - "0xca1d2b4eebb71e91", - "0x9ab8daa0a6974282", - "0xd86e2ff1acc6b40d", - "0xfc68716c52d3d232", - "0xa45ba0d42fa38799", - "0xca41a04157354876", - "0x6c5deaef8c318a58", - "0x84f555dd0a2f68c0", - "0x62f259ab51b8f292", - "0xc0a05a6da52a93c0", - "0x4cf6c19ee0c127b4", - "0xb489a44989226930", - "0x15b88d62aa535053", - "0xa01815e279cd3a5c", - "0x47a1c105c66321b7", - "0xe8f13ba36264077f", - "0x7044f9a89efa4755", - "0xff6a9dc4269cd9d6", - "0xf152d0d450e75fa0", - "0x9da8e15a468f5584", - "0x3b614f00a6312bdd", - "0x853af8603c6914a6", - "0x5722714ca459a07c", - "0x534f2f14c7b9cd", - "0xe0a40b78e069c271", - "0xed02a93532cfdd30", - "0x477474322da07ec5", - "0xcfb69eba40e8e83c", - "0x95c19429516b7e83", - "0xe72ddd0ce13f244", - "0x80a9427c" - ], - [ - "0x5e19c1aea01102f9", - "0x82653e9435c27456", - "0x6c85883c66d32d77", - "0x997434564679b8ed", - "0x2aef61a0f9dfcf06", - "0x1f4f35bac04c70c", - "0xa3aced786d2fc676", - "0x4cd55bd8c5ccb479", - "0xaadaa0a1c0b578e6", - "0xa12cde6061675c15", - "0x45238e8841693826", - "0xe8dbefccec975c1", - "0x56a0a6b6b1dd4f2c", - "0xb944f12d50702aa1", - "0x1962bfe45b3d41f7", - "0x18fbb405a9b11839", - "0xa0222a38518e0a92", - "0x7869cb59ae1871d6", - "0x96be8e6e205d11cd", - "0xaec0280b20553a28", - "0xfe34dfc43cf3707f", - "0x72a18de82ee33a0", - "0x941258afc42170f7", - "0x1dd489e0f8a60d0c", - "0x59158dad07c465e3", - "0xe309286a4e6aa0f2", - "0x635af7f158cfca48", - "0x7b2f709560ce8fe8", - "0x39568e381a5f6fac", - "0x55878a22dda0df02", - "0xe2fc664542c3871e", - "0xbce6bb844165bc3c", - "0x14531b77f59c916a", - "0xd184add5a0b662d9", - "0x6bb294447da0e26", - "0xc6e0912f0991e654", - "0x558e6ccc5c7c7392", - "0xd61712a0fc21c1dd", - "0x43a26c7177ccaaa", - "0x6ffc3b67472915e5", - "0x45049c641967f271", - "0x1dd8a0d6b5ebcb0c", - "0xc71045de4a959bf7", - "0x8676de566a1f1eb7", - "0xd297084c4019e127", - "0xbea0193d2b42415d", - "0x1e7d7514391790f0", - "0x1c60f3c5d6570922", - "0xffd71c6b9f149a42", - "0xa052b5f86b064bad", - "0xb22ccc5257cf30a8", - "0x42c32663548bedb5", - "0xdf128dce6daec770", - "0x703f370ed71eed6a", - "0x37144c12faac56a0", - "0x64dbc0bc53b88eda", - "0xd2b9768bdc6b752e", - "0x28b8f6798920547b", - "0xede378a44b10a0dc", - "0x5636f5174e54387d", - "0x324818ff66de2edf", - "0xf08cc6d4ecf1c385", - "0xadf4aa0d16a06a6c", - "0xeed518f3bdb6dfaa", - "0xd6c7bd0495a7a0f7", - "0x2a6d07385d918513", - "0x80da117b" - ], - [ - "0xd376880ca09101f9", - "0xc97a529699654659", - "0xe8ac8108a83209a4", - "0x4e90f78c7707d12d", - "0xe292da0e39f3515", - "0x6d8331ad2c6ba1f", - "0xc01c99e896c384d1", - "0x6adae583c2208211", - "0x1365a0287453f65b", - "0x5477cb087a0a097c", - "0xb62cab2d3021e6b", - "0xa505941c03ea474e", - "0x50a040f37a8034f6", - "0x6f086c0e8faa1381", - "0xc3bb7f31e0ab3cef", - "0x8b769bdb4289370e", - "0x80d08a156e708dab", - "0xd1acab94c25b04a0", - "0x2972012216221b7b", - "0xade04d0214fe47b8", - "0x839ac2f611f43d80", - "0xc6a86e9be4a8a05b", - "0xfd20f82104943ff3", - "0xddf3cf80aeb0c53c", - "0x76834fab7712248b", - "0x47106ea9a0800b84", - "0x20541efe5f40c0e2", - "0xc7452c160a02b5c4", - "0xc2e5cbff68c6f3d1", - "0xafdaffa0ee2e6571", - "0x9c6bb900257b102", - "0xb2d792bc50f15215", - "0x51be63015351d2fc", - "0x3ac6a0702f7569f8", - "0xfdcffc05cdff59b1", - "0x468880e764c84d44", - "0xd912199f06de7a7f", - "0x5ca0a7db843632ee", - "0xc0d628da52ba5c67", - "0xb12a761721d9d3a1", - "0xce173c16111f4289", - "0x8040db137a7bc4c1", - "0xfb5cf5c514ee43a0", - "0xffe55b93cd035f3e", - "0x5336d6af7ff71d8b", - "0xe4858f9a1352908e", - "0xc7ca89cbeea080c8", - "0xbe4d58304e68d653", - "0x2a798b994bb2daeb", - "0x70d1151e834cf123", - "0x803df2ce" - ], - [ - "0xa0808080808051f8", - "0x89aec71f036ca173", - "0xc99d552fcd9c02ee", - "0x64638627851c62cc", - "0x450cef2e7d51ed32", - "0x8080808080808080", - "0x56fda7cbf4e7a080", - "0x500f0ee84c586361", - "0xdeccd5de16f9e35d", - "0xa84323f9c25b7078", - "0x80c9ce" - ], - [ - "0xf68f59de309d66f8", - "0x7e5fecb48e2d4511", - "0x3b0775d174efe899", - "0xd3b5306893dc4ce1", - "0xaa0800144f846b8", - "0x73ca4134ac04ce06", - "0x8a77b72d70eb37a9", - "0xacd0554ca3b91104", - "0xa0f25962fc91ed4f", - "0x876b309aa39be0b3", - "0x591938a3cd5995be", - "0x4ba3f3e5d6246d61", - "0xa181627de4401423" - ] - ] - } - ] - } - ], - "storages": [ - { - "address": [ - "0x5d89d5862ca7e8af", - "0x36b7d426ab6d61d6", - "0x2f4722cf" - ], - "slot": [ - "0x0", - "0x0", - "0x0", - "0x1000000000000000" - ], - "storage_key": "0x1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae672", - "proofs": [ - { - "block_number": 6375109, - "proof_bytes_len": [ - 532, - 83, - 69 - ], - "proof": [ - [ - "0xdaaaa563a01102f9", - "0x53733b89af92fdbc", - "0x227bd6cee31ca3e9", - "0x336db59681c1265b", - "0x7d7780a0509e595e", - "0x7310f9ca15df6350", - "0x2cabd610c8b53725", - "0xadbb21b0304fb72e", - "0xebda0d73dfe99f7", - "0x9ca6efeaf56b9b49", - "0xbc955048ac3d5fe2", - "0xcc33f505be97fb68", - "0xf2a0bc4d1ca2189d", - "0xd6fec3fed9cc776e", - "0x2cdfad8829638de5", - "0xb45659b7b4880241", - "0xa0b2c0c42a8b68fa", - "0x124ea6c73242e630", - "0x980e5879cc375472", - "0xcee0f874c5686418", - "0x969bcca76c6785d0", - "0x2df84ea10d9388a0", - "0xb82c15fe0e46f64a", - "0x984ecc65972203c3", - "0xcc4050165d2c602e", - "0xa7e41fa0d715a056", - "0x4b56009614424972", - "0xfdc53ee84e7e95fd", - "0x2dea4431fe1070d1", - "0xc864595a66a0e3f4", - "0xd17f80d096431b16", - "0xb51f6788c53e6caa", - "0x60ed6c03838c7510", - "0x39067cd5a0ce9ea9", - "0xb62a0e234fd40583", - "0x72e16ce793841c85", - "0x35322107af4919fa", - "0xf9272da039bdc793", - "0xd7d2f60de50aa21d", - "0x961d1a598e8c03b6", - "0x67df3a6bb55d1a9b", - "0xf8e1a0e89a0e6d62", - "0x3ede8e86c0e4dfdd", - "0xd8befa2a92c3ff26", - "0x3e13839c33dfae35", - "0x8ba06ee1a9e3ab0a", - "0x7c9ef401225bf5f3", - "0x4b8ac462c655ceff", - "0x1feec82f659f9b5b", - "0xa041d35933716a17", - "0xabad1dc62c18c692", - "0x936b6b57f845b3f7", - "0xfbd1e711de6e6536", - "0xa6014cee1d92b9f0", - "0x8bd8fb8e3eabfa0", - "0xba8bf46a6a1b7a92", - "0xa2a4e0cb613e9f70", - "0xf77aa9d38589e6a7", - "0x4062ee9d1fe3a033", - "0xba2bc68979de97bf", - "0xbdaf7bfec356fb9a", - "0x18c3a4aa9f3c07ef", - "0x1dcbed5fbba0aa9d", - "0x81f5631f4cb93054", - "0x406b742b1184064e", - "0x9e1d337f94beb2e8", - "0x80456c83" - ], - [ - "0x80808080808051f8", - "0xb8b52a1f7ea08080", - "0x7e61781d2a5e06f2", - "0xc001b39cbb1985d0", - "0x66be391c1b432d93", - "0x3beca0808097599d", - "0x54112b4e9235e5e3", - "0xa1558e7687ac1dab", - "0x818b16e5a58051e1", - "0x80809b39735f0bf6", - "0x808080" - ], - [ - "0x74dc476820a043f8", - "0x4588278dd00c1b1a", - "0x5947737bd819d8f9", - "0x2ab85cdee25fb5af", - "0x736e49a0a172e69a", - "0x7473655420656469", - "0x656d616e20", - "0x0", - "0x2000000000" - ] - ] - } - ] - } - ], - "transactions": [], - "transaction_receipts": [] - }, - "tasks": [ - { - "type": "datalake_compute", - "context": { - "task_bytes_len": 128, - "encoded_task": [ - "0xb7d65362098af8fc", - "0xbb9ce9daf3acf4f", - "0x7764468b86369c36", - "0xfefccffceae47099", - "0x0", - "0x0", - "0x0", - "0x0", - "0x0", - "0x0", - "0x0", - "0x0", - "0x0", - "0x0", - "0x0", - "0x0" - ], - "datalake_bytes_len": 288, - "encoded_datalake": [ - "0x0", - "0x0", - "0x0", - "0x0", - "0x0", - "0x0", - "0x0", - "0xa736aa0000000000", - "0x0", - "0x0", - "0x0", - "0xc546610000000000", - "0x0", - "0x0", - "0x0", - "0xc546610000000000", - "0x0", - "0x0", - "0x0", - "0x100000000000000", - "0x0", - "0x0", - "0x0", - "0xc000000000000000", - "0x0", - "0x0", - "0x0", - "0x3500000000000000", - "0x89d5862ca7e8af03", - "0xb7d426ab6d61d65d", - "0x2f4722cf36", - "0x0", - "0x0", - "0x0", - "0x1000000000", - "0x0" - ], - "datalake_type": 0, - "property_type": 3 - } - } - ] -} \ No newline at end of file diff --git a/output.json b/output.json deleted file mode 100644 index 4250a303..00000000 --- a/output.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "raw_results": [ - "0x0000000000000000000000000000000000000000000000000000000000000000" - ], - "results_commitments": [ - "0x6539b66f7f8b7f4ae54abdfd7b0b403df5f326f422fbb178c675c6b8bddeaaf5" - ], - "tasks_commitments": [ - "0xe5d53290ecf6ebdf78189c67c45a6d0882b0d199e714c855052a7166b6da7ff0" - ], - "task_inclusion_proofs": [ - [] - ], - "results_inclusion_proofs": [ - [] - ], - "results_root": "0xb1b4ea77b125a3360e3fb683830d3c44d6ccfed08c820e39fb0487b0da0a7168", - "tasks_root": "0xe48e52ac91f5fdec65517efdcaa48eb44b43259adc615cf67b210d2316d5ba86", - "mmr_metas": [ - { - "id": 2, - "root": "0x10985193855d9de012ae065d02e15676aa2cce031b18290d3b48fb8e410d3bc", - "size": 56994, - "peaks": [ - "0x0794bd0825d51a5662ba8ca27d71d1000b8e1bfb708b34b6541428d6da58795", - "0x527ab023c7fdc1afa3c25885e4c2ae47522cde5ddf49c2bc20dccace24bfad4", - "0x04c8c7e945aafd7ec5a7d376bab269e42a9589fe7064a986c4e4d9d05f6e72e", - "0x5ad67d05125b5d17dc14c91938218edd87689e09a4eac8be311485125ccb301", - "0x3331f3ebc157027bdbbac2478ea7e164edc8b80b21ff34867551b7204d05392", - "0x3da3dedfb8f9e4d8abb4ac4722b85f3dd960a85850bf49294c480a46c540535", - "0x4495fa03fc69c5356b41a8d51fffbba196122fc62a05bae47c4b44669090fb2", - "0x76d7442003ddf6d8b6b29c42c3ba9b56f52309619b16f9aaf46ee13263d62f8", - "0x05996b64edff625e7f7443af14adf9d920f3ff4ff75a18bd1f93a209ec3fef4", - "0x5417f6fb234889a2c018bf05eef24cebd8ba29595df9ca880e0f856162c1bb7" - ], - "chain_id": 11155111 - } - ] -} \ No newline at end of file