File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " hollowdb" ,
3
- "version" : " 1.3.4 " ,
3
+ "version" : " 1.3.5 " ,
4
4
"description" : " A decentralized privacy-preserving key-value database" ,
5
5
"license" : " MIT" ,
6
6
"homepage" : " https://github.com/firstbatchxyz/hollowdb#readme" ,
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ export class Base<M extends ContractMode> {
21
21
. setEvaluationOptions ( {
22
22
allowBigInt : true , // bigInt is required for circuits
23
23
useKVStorage : true ,
24
+ sequencerUrl : warp . environment === 'mainnet' ? 'https://gw.warp.cc/' : undefined ,
24
25
} )
25
26
. connect ( this . signer ) ;
26
27
}
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ describe('hash.txid value tests', () => {
55
55
const valueHash = '0x' + hashToGroup ( JSON . stringify ( NEXT_VALUE ) ) . toString ( 16 ) ;
56
56
57
57
const curHTX = await owner . get ( KEY ) ;
58
- const [ curValueHash ] = curHTX . split ( '.' ) ;
58
+ const [ curValueHash ] = curHTX ! . split ( '.' ) ;
59
59
60
60
const { proof} = await prover . proveHashed ( KEY_PREIMAGE , BigInt ( curValueHash ) , BigInt ( valueHash ) ) ;
61
61
const val : HTXValueType = `${ valueHash } .${ txId } ` ;
@@ -65,7 +65,7 @@ describe('hash.txid value tests', () => {
65
65
66
66
it ( 'should remove an existing value with proof' , async ( ) => {
67
67
const curHTX = await owner . get ( KEY ) ;
68
- const [ curValueHash ] = curHTX . split ( '.' ) ;
68
+ const [ curValueHash ] = curHTX ! . split ( '.' ) ;
69
69
70
70
const { proof} = await prover . proveHashed ( KEY_PREIMAGE , BigInt ( curValueHash ) , BigInt ( 0 ) ) ;
71
71
await owner . remove ( KEY , proof ) ;
You can’t perform that action at this time.
0 commit comments