Skip to content

Commit

Permalink
Merge pull request #158 from BoostryJP/upgrade-alpine
Browse files Browse the repository at this point in the history
Upgrade alpine and python
  • Loading branch information
YoshihitoAso authored Mar 12, 2024
2 parents 63bebd5 + 3dcdd20 commit 11faff4
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion ibet-for-fin-network/general/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN cd quorum/ && \
mv build/bin/bootnode /usr/local/bin

# Pull Geth into a second stage deploy alpine container
FROM python:3.9-alpine3.18
FROM python:3.11-alpine3.19

RUN apk add --no-cache --virtual .build-deps gcc g++
RUN apk add --no-cache ca-certificates
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def monitor_block_sync(start_block_number):
:return: Next monitoring start block number
"""
try:
latest_block_number = web3.eth.blockNumber
latest_block_number = web3.eth.block_number
if (
latest_block_number - start_block_number > MINIMUM_INCREMENTAL_NUMBER
): # Normal
Expand Down
2 changes: 1 addition & 1 deletion ibet-for-fin-network/general/monitoring/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web3==5.28.0
web3==6.15.1
2 changes: 1 addition & 1 deletion ibet-network/general/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN cd quorum/ && \
mv build/bin/bootnode /usr/local/bin

# Pull Geth into a second stage deploy alpine container
FROM python:3.9-alpine3.18
FROM python:3.11-alpine3.19

RUN apk add --no-cache --virtual .build-deps gcc g++
RUN apk add --no-cache ca-certificates
Expand Down
2 changes: 1 addition & 1 deletion ibet-network/general/monitoring/monitor_block_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def monitor_block_sync(start_block_number):
:return: Next monitoring start block number
"""
try:
latest_block_number = web3.eth.blockNumber
latest_block_number = web3.eth.block_number
if (
latest_block_number - start_block_number > MINIMUM_INCREMENTAL_NUMBER
): # Normal
Expand Down
2 changes: 1 addition & 1 deletion ibet-network/general/monitoring/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web3==5.28.0
web3==6.15.1
2 changes: 1 addition & 1 deletion local-network/general/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN cd quorum/ && \
mv build/bin/bootnode /usr/local/bin

# Pull Geth into a second stage deploy alpine container
FROM python:3.9-alpine3.18
FROM python:3.11-alpine3.19

RUN apk add --no-cache --virtual .build-deps gcc g++
RUN apk add --no-cache ca-certificates
Expand Down
2 changes: 1 addition & 1 deletion local-network/general/monitoring/monitor_block_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def monitor_block_sync(start_block_number):
:return: Next monitoring start block number
"""
try:
latest_block_number = web3.eth.blockNumber
latest_block_number = web3.eth.block_number
if (
latest_block_number - start_block_number > MINIMUM_INCREMENTAL_NUMBER
): # Normal
Expand Down
2 changes: 1 addition & 1 deletion local-network/general/monitoring/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web3==5.28.0
web3==6.15.1
2 changes: 1 addition & 1 deletion local-network/validator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN cd quorum/ && \
mv build/bin/bootnode /usr/local/bin

# Pull Geth into a second stage deploy alpine container
FROM python:3.9-alpine3.18
FROM python:3.11-alpine3.19

RUN apk add --no-cache --virtual .build-deps gcc g++
RUN apk add --no-cache ca-certificates
Expand Down
2 changes: 1 addition & 1 deletion test-network/general/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN cd quorum/ && \
mv build/bin/bootnode /usr/local/bin

# Pull Geth into a second stage deploy alpine container
FROM python:3.9-alpine3.18
FROM python:3.11-alpine3.19

RUN apk add --no-cache --virtual .build-deps gcc g++
RUN apk add --no-cache ca-certificates
Expand Down
2 changes: 1 addition & 1 deletion test-network/general/monitoring/monitor_block_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def monitor_block_sync(start_block_number):
:return: Next monitoring start block number
"""
try:
latest_block_number = web3.eth.blockNumber
latest_block_number = web3.eth.block_number
if (
latest_block_number - start_block_number > MINIMUM_INCREMENTAL_NUMBER
): # Normal
Expand Down
2 changes: 1 addition & 1 deletion test-network/general/monitoring/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web3==5.28.0
web3==6.15.1

0 comments on commit 11faff4

Please sign in to comment.