securityos/node_modules/multiformats/test/fixtures/invalid-multihash.js

37 lines
819 B
JavaScript

export default [{
code: 0x00,
size: 32,
hex: '0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33',
message: 'Incorrect length'
}, {
code: 0x11,
size: 21,
hex: '0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33',
message: 'Incorrect length'
}, {
code: 0x11,
size: 20,
hex: '0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a',
message: 'Incorrect length'
}, {
code: 0x11,
size: 20,
hex: '',
message: 'Could not decode varint'
}, {
code: 0x31,
size: 20,
hex: '0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33',
message: 'Incorrect length'
}, {
code: 0x12,
size: 32,
hex: '2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7',
message: 'Incorrect length'
}, {
code: 0x12,
size: 32,
hex: '1220ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad0000',
message: 'Incorrect length'
}]