Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default value when creating transaction.used_sha256_hashes field in the pool #3156

Merged
merged 2 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion db/migrations/pool/0012.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- +migrate Up
ALTER TABLE pool.transaction
ADD COLUMN l2_hash VARCHAR UNIQUE,
ADD COLUMN used_sha256_hashes INTEGER;
ADD COLUMN used_sha256_hashes INTEGER DEFAULT 0;
CREATE INDEX IF NOT EXISTS idx_transaction_l2_hash ON pool.transaction (l2_hash);

-- +migrate Down
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ services:
zkevm-prover:
container_name: zkevm-prover
restart: unless-stopped
image: hermeznetwork/zkevm-prover:v4.0.0-RC31
image: hermeznetwork/zkevm-prover:v4.0.0
depends_on:
zkevm-state-db:
condition: service_healthy
Expand Down
4 changes: 2 additions & 2 deletions test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ services:

zkevm-prover:
container_name: zkevm-prover
image: hermeznetwork/zkevm-prover:v4.0.0-RC31
image: hermeznetwork/zkevm-prover:v4.0.0
ports:
- 50061:50061 # MT
- 50071:50071 # Executor
Expand Down Expand Up @@ -602,7 +602,7 @@ services:

zkevm-permissionless-prover:
container_name: zkevm-permissionless-prover
image: hermeznetwork/zkevm-prover:v4.0.0-RC31
image: hermeznetwork/zkevm-prover:v4.0.0
ports:
# - 50058:50058 # Prover
- 50059:50052 # Mock prover
Expand Down
Loading