watchexec --exts go --watch . 'make test && make lint'watchexec --exts go --watch . 'go test ./internal/sequencers/... && make lint'uint64 type is based on rollups_outputs.rs
Voucher
InputIndex uint64
OutputIndex uint64Input encoded by rollups-contract V2
0xcc7dee1f000000000000000000000000000000000000000000000000cc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007fa9385be102ac3eac297483dd6233d62b3e149600000000000000000000000000000000000000000000000000000000000000e10000000000000000000000000000000000000000000000000000000061d0c1b100000000000000000000000000000000000000000000000000000000000000e100000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000020157f9f93806730d47e3a6e8b41b4fa9d98f89ec6f53627f3abf1d171769345eb
Run the postgraphile
docker compose up --wait postgraphileStop with clean:
docker compose down --rmi local --remove-orphans --volumeshttp://localhost:5001/graphiql
go buildRun the nonodo with HL GraphQL flag enabled
go run . --high-level-graphql --enable-debug --node-version v2export POSTGRES_HOST=127.0.0.1
export POSTGRES_PORT=5432
export POSTGRES_DB=mydatabase
export POSTGRES_USER=myuser
export POSTGRES_PASSWORD=mypassword
go run . --http-address=0.0.0.0 --high-level-graphql --enable-debug --node-version v2 --db-implementation postgresDisable sync
export POSTGRES_HOST=127.0.0.1
export POSTGRES_PORT=5432
export POSTGRES_DB=mydatabase
export POSTGRES_USER=myuser
export POSTGRES_PASSWORD=mypassword
go run . --http-address=0.0.0.0 --high-level-graphql --enable-debug --node-version v2 --db-implementation postgres --graphile-disable-syncTo configure the endpoint of the node v2 Graphile, you can set the GRAPHILE_URL environment variable. Here's how you can do it:
export GRAPHILE_URL=localhost:5001/graphqlgo run . -d --avail --avail-from-block 746430Avail + Sepolia
go build . && ./nonodo --avail-enabled -d \
--avail-from-block <L2 block number> \
--rpc-url <your rpc endpoint> \
--contracts-input-box-block <L1 block number> \Example:
go build . && ./nonodo --avail-enabled -d \
--avail-from-block 853228 \
--rpc-url wss://ethereum-sepolia-rpc.publicnode.com \
--contracts-input-box-block 6863007Clear database raw:
make clean-db-raw