Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Adding time information on frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
ineiti committed Aug 30, 2023
1 parent 3f94e0c commit ac55860
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
22 changes: 4 additions & 18 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ services:
environment:
- CONODE_SERVICE_PATH=/configs/conode-1
- DEBUG_COLOR=true
networks:
nodes:
ipv4_address: 10.7.7.2
network_mode: host

conode-2:
image: ghcr.io/c4dt/service-stainless-backend:latest
Expand All @@ -25,9 +23,7 @@ services:
environment:
- CONODE_SERVICE_PATH=/configs/conode-2
- DEBUG_COLOR=true
networks:
nodes:
ipv4_address: 10.7.7.3
network_mode: host

conode-3:
image: ghcr.io/c4dt/service-stainless-backend:latest
Expand All @@ -39,9 +35,7 @@ services:
environment:
- CONODE_SERVICE_PATH=/configs/conode-3
- DEBUG_COLOR=true
networks:
nodes:
ipv4_address: 10.7.7.4
network_mode: host

conode-4:
image: ghcr.io/c4dt/service-stainless-backend:latest
Expand All @@ -53,19 +47,11 @@ services:
environment:
- CONODE_SERVICE_PATH=/configs/conode-4
- DEBUG_COLOR=true
networks:
nodes:
ipv4_address: 10.7.7.5
network_mode: host

demo:
image: ghcr.io/c4dt/service-stainless-webapp:latest
ports:
- "8080:8080"
volumes:
- ./webapp/src/assets:/webapp/assets

networks:
nodes:
ipam:
config:
- subnet: 10.7.7.0/24
4 changes: 2 additions & 2 deletions webapp/src/app/stainless/stainless.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export class StainlessComponent implements OnInit {
// Call Stainless service to perform verification
const response = await this.performLongAction<proto.VerificationResponse>(
() => this.config.stainlessRPC.verify(sourceFiles),
"Performing verification"
"Performing verification\n2-3 minutes"
);
if (response === null) {
return;
Expand Down Expand Up @@ -408,7 +408,7 @@ export class StainlessComponent implements OnInit {
// Call Stainless service to generate bytecode and ABI
const response = await this.performLongAction<proto.BytecodeGenResponse>(
() => this.config.stainlessRPC.genBytecode(sourceFiles),
"Compiling..."
"Compiling...\n1 minute"
);
if (response === null) {
return;
Expand Down

0 comments on commit ac55860

Please sign in to comment.