File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -160,11 +160,7 @@ export class SettlementModule
160
160
}
161
161
162
162
protected isSignedSettlement ( ) : boolean {
163
- return (
164
- // TODO Enable, add tests that test both signed settlement and normal
165
- ! this . baseLayer . isLocalBlockChain ( ) &&
166
- ! this . areProofsEnabled . areProofsEnabled
167
- ) ;
163
+ return ! this . areProofsEnabled . areProofsEnabled ;
168
164
}
169
165
170
166
public signTransaction (
@@ -356,7 +352,6 @@ export class SettlementModule
356
352
this . events . emit ( "settlement-submitted" , batch ) ;
357
353
358
354
return {
359
- // transactionHash: sent.hash() ?? "",
360
355
batches : [ batch . height ] ,
361
356
promisedMessagesHash : latestSequenceStateHash . toString ( ) ,
362
357
} ;
@@ -384,13 +379,6 @@ export class SettlementModule
384
379
? new SignedSettlementPermissions ( )
385
380
: new ProvenSettlementPermissions ( ) ;
386
381
387
- if ( this . baseLayer . config . network . type !== "local" ) {
388
- // const ac1 = await fetchAccount({ publicKey: feepayer });
389
- // console.log(ac1);
390
- }
391
-
392
- // this.baseLayer
393
- // .originalNetwork!
394
382
const tx = await Mina . transaction (
395
383
{
396
384
sender : feepayer ,
Original file line number Diff line number Diff line change 1
1
import { settlementTestFn } from "./Settlement" ;
2
2
3
- describe . each ( [ "signed " , "mock-proofs " ] as const ) (
3
+ describe . each ( [ "mock-proofs " , "signed " ] as const ) (
4
4
"settlement contracts: localblockchain - %s" ,
5
5
( type ) => {
6
6
settlementTestFn ( type , {
You can’t perform that action at this time.
0 commit comments