File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/portalnetwork/test/networks/state Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,17 @@ describe('distance()', () => {
22
22
describe ( 'keyType' , ( ) => {
23
23
const randHash = randomBytes ( 32 )
24
24
it ( 'should indentify AccountTrieProof contentKey' , ( ) => {
25
- const contentKey = Uint8Array . from ( [ 0x10 , ...randHash ] )
25
+ const contentKey = Uint8Array . from ( [ 0x20 , ...randHash ] )
26
26
const type = keyType ( contentKey )
27
27
assert . equal ( type , StateNetworkContentType . AccountTrieNode )
28
28
} )
29
29
it ( 'should indentify ContractStorageTrieProof contentKey' , ( ) => {
30
- const contentKey = Uint8Array . from ( [ 0x11 , ...randHash ] )
30
+ const contentKey = Uint8Array . from ( [ 0x21 , ...randHash ] )
31
31
const type = keyType ( contentKey )
32
32
assert . equal ( type , StateNetworkContentType . ContractTrieNode )
33
33
} )
34
34
it ( 'should indentify ContractByteCode contentKey' , ( ) => {
35
- const contentKey = Uint8Array . from ( [ 0x12 , ...randHash ] )
35
+ const contentKey = Uint8Array . from ( [ 0x22 , ...randHash ] )
36
36
const type = keyType ( contentKey )
37
37
assert . equal ( type , StateNetworkContentType . ContractByteCode )
38
38
} )
You can’t perform that action at this time.
0 commit comments