Skip to content

Commit

Permalink
Update e2e sp1 test to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ignasirv committed Jan 17, 2025
1 parent d49361a commit 5359245
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"scripts": {
"saveDeployment:goerli": "mkdir -p deployments/goerli_$(date +%s) && cp -r deployment/v2/deploy_*.json deployments/goerli_$(date +%s) && cp .openzeppelin/goerli.json deployments/goerli_$(date +%s) && cp deployment/v2/genesis.json deployments/goerli_$(date +%s) && cp deployment/v2/create_rollup_output.json deployments/goerli_$(date +%s)",
"saveDeployment:mainnet": "mkdir -p deployments/mainnet_$(date +%s) && cp -r deployment/v2/deploy_*.json deployments/mainnet_$(date +%s) && cp .openzeppelin/mainnet.json deployments/mainnet_$(date +%s) && cp deployment/v2/genesis.json deployments/mainnet_$(date +%s) && cp deployment/v2/create_rollup_output.json deployments/mainnet_$(date +%s)",
"test": "npx hardhat test test/contractsv2/*ts",
"test": "npx hardhat test test/contractsv2/*ts test/contractsv2/real-prover-sp1/*.ts",
"docgen": "npx solidity-docgen --solc-module solc-0.8 -t ./docs/templates -e ./contracts/verifiers,./contracts/mocks",
"prepare:testnet:ZkEVM:localhost": "npx hardhat run deployment/testnet/prepareTestnet.ts --network localhost",
"deploy:ZkEVM:localhost": "rm -f .openzeppelin/unknown-*.json && node deployment/1_createGenesis.js && npx hardhat run deployment/2_deployPolygonZKEVMDeployer.js --network localhost && npx hardhat run deployment/3_deployContracts.js --network localhost",
Expand Down
14 changes: 7 additions & 7 deletions test/contractsv2/real-prover-sp1/test-inputs/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"prev-pessimistic-root": "0x0000000000000000000000000000000000000000000000000000000000000000",
"l1-info-root": "0x9f1d0c7713a6a5f1e79222623c0687242c3feed74ebecb6f9d0e87e7572cdeca",
"origin-network": 1,
"consensus-hash": "0x18124b21b4822f4ce52cbe3d25b32ddee515fa48cca1714f84d2b6d8347d7859",
"new-local-exit-root": "0x2b13f38eaf188dfe58e1e42a149e93040df6d34cbb91d21b3845fe79f43a8491",
"new-pessimistic-root": "0x8cbdfd2e979a425d37b3aec1b3f1d050faf45e5a77811cbfaa435fdc91c9b2ec"
"consensus-hash": "0x999e4fef8b9af84b9cb960e8ec82f8e22265fad3dd91f243151f329b2be822d8",
"new-local-exit-root": "0xdc8303b7d6a0efe97628c90caa9b8bd30a451c72b16af6b65c618d33f8d94c9e",
"new-pessimistic-root": "0x1178d1e1a7a864774831e9d047573600731bdfc28aaccd663a3a221447e60fb0"
},
"signer": "0x951004ac804effcd8f9f713ba3a533c3d592deb3",
"vkey": "0x00e2a9cbc4eb87500598aa0c0953e9bee97097677c438cd71afd6c5ce35d2688",
"public-values": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009f1d0c7713a6a5f1e79222623c0687242c3feed74ebecb6f9d0e87e7572cdeca0000000118124b21b4822f4ce52cbe3d25b32ddee515fa48cca1714f84d2b6d8347d78592b13f38eaf188dfe58e1e42a149e93040df6d34cbb91d21b3845fe79f43a84918cbdfd2e979a425d37b3aec1b3f1d050faf45e5a77811cbfaa435fdc91c9b2ec",
"proof": "0x54bdcae314d4d08167550dfe995415a92bdd24c6bc762191131479650f90523a2e7112992c9a35d602905a436ed6bded18c69e675f73cc9f2d5b56611a076043cc4b30860f1ec8dd49e931e99dad91fd3567c2e6a1d9fc85efbf4db9e6754c33ee7ebe210084d6cbd5aaaa288b201d9df73390412b47577aeef7273c1f43774fc86b6f5808bcab3ccd8e1275380e81cac2e290ba11830f1469bd99333944d31c0cb4b10622f9f7296ed2965d3d25494187adc88a750887902888b297fa5d1223ef6e613725533136e85f80115a1de9210e8c72441ff4904068356407bdfb371463b8a04b2dc6d62e3a6c0c2298a578224886396e727f91361d7df84a8d3f6b70117abe4d246166e489e45eef5ba80e3e388089041fc49c94de109da339d5769122d3fc60298a150cb57b192c2e921112d50c643ac8e106df65b95f3b757aa474fb070ec70dbcb38595c8e7ce118a348a5f313ea7aef4873b6e1218808bae5350af684dbe06539d8d232a14cb689b05cb85da90fa15aec658b1a6c999ac9fce61808026350f3514fe784d8d96afc07efa63ee13236b6b145083ab9b746ddc95a50525f8c11f77dbc6492a2925af6ef7dae67fcc2386c2a3483a0e72f49ab453d403278f9a29ce59be22d79deadbd82545fc026b6846416fe365a560051b41aa94c9789fc21aeff50d059ab17d60118902fbe143d0b0417c5653879eaad6048f5c73e3d34c15b53a2cefcc7f7798fc1505a5aae16e222028ad6cec6fdedb5ced23d8c533941214daafe520b3325ce4aecf493fc4dd03994595b9a6732d2ab48fe237aa04e817b2b53e3a80e169e139cbacaaad8c240d6a8259a6f51bb8c7af7db373c64908275c521a5266e745a3bf383099f24d34cabbaf6244935cb8a3212e0c50efd97d287dceeab08147500d824e22e774bc25c07d7f0267b61db2e3219933b704311c28370cdfe08a3f4e7f8e0341dbfc1132769c59d06644b36bf599318eed93fafc0936a25378cc5cb34d8823a3cfe38c905ef6c2f778ee80a3b706977e59d923d412a7e99510c879a5c06dc4d582595930a033f54147dcfa4fc921d0f4cf67f36e120dd32e7e5a2210268f213ae0cd390d43951aca2eac8d058e12c3734408537622f5082340a1327426c3951df0b42f639e247118326a14b86bd794505009f42c1bc0945f4d2ce35fcebf3d362a2539afe71702811b2c8349f7589f40a9947cfc"
"signer": "0x67f761cd7f8e3fdb3c7bdf7c0bbf76ab3f4fbd2a",
"vkey": "0x0062c685702e0582d900f3a19521270c92a58e2588230c4a5cf3b45103f4a512",
"public-values": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009f1d0c7713a6a5f1e79222623c0687242c3feed74ebecb6f9d0e87e7572cdeca00000001999e4fef8b9af84b9cb960e8ec82f8e22265fad3dd91f243151f329b2be822d8dc8303b7d6a0efe97628c90caa9b8bd30a451c72b16af6b65c618d33f8d94c9e1178d1e1a7a864774831e9d047573600731bdfc28aaccd663a3a221447e60fb0",
"proof": "0x1b34fe112a4ada9058510af95e7f5319263677e3551158d405afe37843808235d89b38370199b493d80d5f02dbd607af9f16e387a1065bd689815cb8b66052a1d8fa6e5f0fd906e6dd73ad9ec2841dc10efaaa09da41d38fa9c3d6d48aabea2c27371b730550c7175a3a00d940b6ba0f4d0b7a9b7fa8f04b4b44e26cb5d664e5831cf50f2e25bfa80dd3a6b27093849e5691922180c0d2df9eeae0ffd6c7f9330f36ea2a2c7b1b97e3f839a7b5ceafeb92960d0714ca2bbe2c951d9e91052cb02eb16a7613672b22de3898850d0658a08e7fd33fa63124f173fb5623a019c39eed66f5df17a85d1f7ed35495b2bcdacc560608ff944f410d73adbdf567472678a933ac460c55f17dedbcf2de75ac964fb58f052222d902f8f4a55b79471e9e566ea53ec82d6a005251a8264b3270b6370697293652efcb05e25b703432852400a8b1d4ca1ed512d016e6371c57ac51c6ebba9c629802698b0e4487dec044acd9e08fc3660d5ef2fc130f8facfbe26a97e1bde0f58876d45fce622f228211557488cd3a701fbb03ff74b85e4b6ba9ab76e059d5e17f0e27aada7737f9ad16ed7d880b037424e9df26b900b7f0c7b3c55495e1cb88d1b80e04bd4f8f49fbb6c3edd159da89303068cf1b319332e020be6d7c173e55a3064d38b180174ee3504fdc6be8882612e76b5d0e3037ef856bd81006844250042a8b441ed25ff6a513fd636ec805fb12fdda1b11fed516b00719d9f1c881797e17feca48723fad06ea0e66212e19df139217b56c8e48e83277a0e0a664bbaea9ec02cac9d447536d247c53aa2def050c0996b93060ac0b09b8377784df4f877534ec601352645ad3d206bc5044878f149865264c19f864ccf40c58f94a63996d878baf246ba109d9695afeffefe4c9024d66443ea45c4d1a493e7b4bcaf86e8652513a417ac47c939623a24e6e55e927e14a3ec539c929e288568bb2966627a53de0f0fc480150d7637b8c99d9e42609c9b4dcf66a091c833e436ee61bc6c11d0189016e5790e805c75e710122b15903464a856b27ebe483cdf87d1cd1c9538f90741f9fbe7fc51999b05f6b8d56e229da7125024a6bf51d67eaefa8fc0633394fca33162b611428294bbb7eb00967270c425b9b1ce22b13f298451720424695e902f72383a7f15e0d36181b7db709252307f8da504522eb0854ce89edcb87939539db1e84fea0cba0ef7b903f3972"
}

0 comments on commit 5359245

Please sign in to comment.