Skip to content

Instantly share code, notes, and snippets.

View HAOYUatHZ's full-sized avatar
😈
POISONed

HAOYUatHZ HAOYUatHZ

😈
POISONed
View GitHub Profile
version: '3'
services:
prover:
image: scrolltech/cuda-prover:v4.1.45-69d2d2b-bd90176-728cf00
runtime: nvidia
container_name: prover
restart: unless-stopped
environment:
- LD_LIBRARY_PATH=/prover:/usr/local/cuda/lib64
- SCROLL_PROVER_ASSETS_DIR=/prover/volume/assets
INFO [01-13|04:14:20.757|scroll-tech/bridge/cmd/app/app.go:103] HTTP endpoint opened url=http://[::]:8290/
INFO [01-13|04:14:20.757|scroll-tech/bridge/cmd/app/app.go:106] Start bridge successfully
INFO [01-13|04:14:20.763|scroll-tech/bridge/l1/watcher.go:156] Received new L1 events fromBlock=175,146 toBlock=175,155 cnt=19
INFO [01-13|04:14:20.763|scroll-tech/bridge/l2/watcher.go:242] received new L2 messages fromBlock=654,858 toBlock=654,867 cnt=7
INFO [01-13|04:14:20.764|scroll-tech/bridge/l1/watcher.go:163] L1 events types SentMessageCount=19 RelayedMessageCount=0 RollupEventCount=0
INFO [01-13|04:14:20.787|scroll-tech/bridge/l1/watcher.go:156] Received new L1 events fromBlock=175,156 toBlock=175,165 cnt=48
INFO [01-13|04:14:20.788|scroll-tech/bridge/l1/watcher.go:163] L1 events types SentMessageCount=48 RelayedMessageCount=0 RollupEventCount=0
INFO [01-13|04:14:20.793|scroll-tech/
@HAOYUatHZ
HAOYUatHZ / rollup.md
Last active January 6, 2023 09:05
batch DA & proof & bridge
  1. addresses
  • staging: 0xf42f7133876878ac83b22d3b4FE6B92286B51833
  • main-prealpha: 0x27b5ce7d020545653488eF0FF0D25f362CE36f95
  1. DA

查看 contract call calldata

function commitBatch(Layer2Batch memory _batch) external;
@HAOYUatHZ
HAOYUatHZ / rollupscan.md
Last active October 12, 2022 12:01
DA & proof & bridge
  1. DA

查看 contract call calldata

function commitBlock(BlockHeader memory _header, Layer2Transaction[] memory _txn)

struct BlockHeader {
  bytes32 blockHash;
  bytes32 parentHash;
@HAOYUatHZ
HAOYUatHZ / 0x632c51227c2635d2d0b06ba962523e9b4fbc7c8f52798ea5f417ff61f4e98f78.new.json
Created September 12, 2022 05:27
0x632c51227c2635d2d0b06ba962523e9b4fbc7c8f52798ea5f417ff61f4e98f78.new.json
This file has been truncated, but you can view the full file.
{
"jsonrpc":"2.0",
"id":1,
"result":{
"gas":83985,
"failed":true,
"accountAfter":null,
"structLogs":[
{
"pc":0,
@HAOYUatHZ
HAOYUatHZ / 0x632c51227c2635d2d0b06ba962523e9b4fbc7c8f52798ea5f417ff61f4e98f78.old.json
Last active September 12, 2022 05:28
0x632c51227c2635d2d0b06ba962523e9b4fbc7c8f52798ea5f417ff61f4e98f78.old.json
This file has been truncated, but you can view the full file.
{
"jsonrpc":"2.0",
"id":1,
"result":{
"gas":83985,
"failed":true,
"accountAfter":null,
"structLogs":[
{
"pc":0,
This file has been truncated, but you can view the full file.
[2022-08-03T21:40:46Z INFO zkevm::utils] load_or_create_params /home/ubuntu/xinran/roller-rs/test_params/params18
[2022-08-03T21:40:46Z INFO zkevm::utils] start loading params with degree 18
[2022-08-03T21:40:46Z INFO zkevm::utils] load params successfully!
[2022-08-03T21:40:46Z INFO zkevm::utils] load_or_create_params /home/ubuntu/xinran/roller-rs/test_params/params26
[2022-08-03T21:40:46Z INFO zkevm::utils] start loading params with degree 26
[2022-08-03T21:41:16Z INFO zkevm::utils] load params successfully!
[2022-08-03T21:41:16Z INFO roller::roller] connect to scroll successfully!
[2022-08-03T21:41:16Z INFO roller::roller] my pubkey is: 03b3e364279455cf3b1adefdc0faed7ffe97e61fd4c03f3ae5e9f87b19c3d810c3
[2022-08-03T21:41:16Z INFO roller::roller] start to create agg proof of block-id(1)
[2022-08-03T21:41:17Z INFO zkevm::prover] Create evm proof of block 0xa4b6…eae0
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockTrace": {
"number": "5",
"hash": "0xc3802e1768945a411c328348f4101c0073c08cc0aa583a43f236edd592b1a4d7",
"gasLimit": 4722986,
"difficulty": "2",
"baseFee": "0",

报了一个

failures:

---- evm_circuit::execution::storage::test::storage_gadget_simple stdout ----
thread 'evm_circuit::execution::storage::test::storage_gadget_simple' panicked at 'assertion failed: `(left == right)`
  left: `Err([Lookup { lookup_index: 66, row: 0 }, Lookup { lookup_index: 67, row: 0 }])`,
 right: `Ok(())`', zkevm-circuits/src/evm_circuit/execution/storage.rs:184:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@HAOYUatHZ
HAOYUatHZ / 测试环境搭建.md
Last active May 9, 2021 02:15
测试环境搭建