[Feat] For prover 4.6.1 (#1742)

This commit is contained in:
Ho
2025-10-24 16:18:40 +09:00
committed by GitHub
parent bfc0fdd7ce
commit 1985e54ab3
16 changed files with 714 additions and 334 deletions

View File

@@ -1,7 +1,8 @@
.PHONY: clean setup_db test_tool all check_vars
GOOSE_CMD?=goose
BEGIN_BLOCK?=10973711
END_BLOCK?=10973721
all: setup_db test_tool import_data

View File

@@ -1,7 +1,12 @@
-- Create a file with INSERT statements for the specific records
\o block_export.sql
\o 00100_import_blocks.sql
\t on
\a
-- Write header comment
SELECT '-- +goose Up';
SELECT '-- +goose StatementBegin';
SELECT '';
SELECT 'INSERT INTO l2_block (number, hash, parent_hash, header, withdraw_root,
state_root, tx_num, gas_used, block_timestamp, row_consumption,
chunk_hash, transactions
@@ -22,6 +27,15 @@ SELECT 'INSERT INTO l2_block (number, hash, parent_hash, header, withdraw_root,
FROM l2_block
WHERE number >= 10973700 and number <= 10973730
ORDER BY number ASC;
-- Write footer
SELECT '';
SELECT '-- +goose StatementEnd';
SELECT '-- +goose Down';
SELECT '-- +goose StatementBegin';
SELECT 'DELETE FROM l2_block;';
SELECT '-- +goose StatementEnd';
\t off
\a
\o