Skip to content

Commit

Permalink
Fix default value when creating transaction.used_sha256_hashes field …
Browse files Browse the repository at this point in the history
…in the pool (#3156)

* set DEFAULT 0 when creatingtransaction.used_sha256_hashes field in the pool

* update prover image to v4.0.0
  • Loading branch information
agnusmor authored Jan 26, 2024
1 parent 8f79b21 commit c100d40
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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

0 comments on commit c100d40

Please sign in to comment.