File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,15 +37,9 @@ RUN apt-get update -y \
3737COPY --from=builder /app/target/release/evm-block-extractor-server /app/evm-block-extractor-server
3838
3939
40- # Copy the entrypoint script into the container
41- COPY src/evm-block-extractor/scripts/entrypoint.sh /app/entrypoint.sh
42-
43- # Make the entrypoint script executable
44- RUN chmod +x /app/entrypoint.sh
45-
46- # Set the entrypoint script as the default way to start the container
47- ENTRYPOINT ["/app/entrypoint.sh" ]
4840
4941EXPOSE 8080
5042
5143
44+ CMD ./evm-block-extractor-server -s 0.0.0.0:8080 --bigquery -p $PROJECT_ID -d $DATASET
45+
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -295,12 +295,6 @@ impl DatabaseClient for BigQueryDbClient {
295295 receipts : & [ StorableExecutionResult ] ,
296296 transactions : & [ Transaction ] ,
297297 ) -> anyhow:: Result < ( ) > {
298- if blocks. is_empty ( ) && receipts. is_empty ( ) && transactions. is_empty ( ) {
299- log:: debug!( "No block data, receipts, or transactions to insert. Skipping." ) ;
300-
301- return Ok ( ( ) ) ;
302- }
303-
304298 if !blocks. is_empty ( ) {
305299 log:: info!(
306300 "Insert block data for blocks in range {} to {}" ,
Original file line number Diff line number Diff line change @@ -87,12 +87,6 @@ impl DatabaseClient for PostgresDbClient {
8787 receipts : & [ StorableExecutionResult ] ,
8888 transactions : & [ Transaction ] ,
8989 ) -> anyhow:: Result < ( ) > {
90- if blocks. is_empty ( ) && receipts. is_empty ( ) && transactions. is_empty ( ) {
91- log:: info!( "No block data to insert" ) ;
92-
93- return Ok ( ( ) ) ;
94- }
95-
9690 if !blocks. is_empty ( ) {
9791 log:: info!(
9892 "Insert block data for blocks in range {} to {}" ,
You can’t perform that action at this time.
0 commit comments