File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
packages/sequencer/test-integration Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,20 @@ jobs:
115
115
image : redis:6.2-alpine
116
116
ports :
117
117
- 6379:6379
118
+ lighnet :
119
+ image : o1labs/mina-local-network:compatible-latest-lightnet
120
+ env :
121
+ RUN_ARCHIVE_NODE : true
122
+ LOG_LEVEL : ' INFO'
123
+ PROOF_LEVEL : ' none'
124
+ NETWORK_TYPE : ' single-node'
125
+ ports :
126
+ - 3085:3085
127
+ - 8080:8080
128
+ - 8181:8181
129
+ # archive endpoints
130
+ - 5432:5432
131
+ - 8282:8282
118
132
119
133
steps :
120
134
- uses : actions/checkout@v3
@@ -132,5 +146,12 @@ jobs:
132
146
- name : " Migrate DB"
133
147
run : npm run migrate
134
148
149
+ - name : " Wait for lightnet readiness"
150
+ uses : o1-labs/wait-for-mina-network-action@v1
151
+ with :
152
+ mina-graphql-port : 3085
153
+ max-attempts : 30
154
+ polling-interval-ms : 5000
155
+
135
156
- name : " Integration tests"
136
157
run : npm run test:integration
Original file line number Diff line number Diff line change 1
- import { settlementTestFn } from "../test/settlement/Settlement" ;
2
1
import { PrivateKey } from "o1js" ;
3
2
import { log } from "@proto-kit/common" ;
4
3
4
+ import { settlementTestFn } from "../test/settlement/Settlement" ;
5
+
5
6
console . log ( PrivateKey . random ( ) . toPublicKey ( ) . toBase58 ( ) ) ;
6
7
7
8
log . setLevel ( "DEBUG" ) ;
You can’t perform that action at this time.
0 commit comments