Skip to content

Commit 93c2217

Browse files
author
Grégory Saive
authored
Merge pull request #63 from evias/release-v0.10.2-beta
v0.10.2-pre: Base working SDK for cow network upgrade
2 parents 5c76924 + d248869 commit 93c2217

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+394
-431
lines changed

e2e/infrastructure/MosaicHttp.spec.ts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -53,29 +53,4 @@ describe('MosaicHttp', () => {
5353
});
5454
});
5555
});
56-
57-
describe('getMosaicsFromNamespace', () => {
58-
it('should return mosaics given namespaceId', (done) => {
59-
mosaicHttp.getMosaicsFromNamespace(namespaceId)
60-
.subscribe((mosaicInfos) => {
61-
expect(mosaicInfos[0].height.lower).to.be.equal(1);
62-
expect(mosaicInfos[0].height.higher).to.be.equal(0);
63-
expect(mosaicInfos[0].divisibility).to.be.equal(6);
64-
expect(mosaicInfos[0].isSupplyMutable()).to.be.equal(false);
65-
expect(mosaicInfos[0].isTransferable()).to.be.equal(true);
66-
expect(mosaicInfos[0].isLevyMutable()).to.be.equal(false);
67-
done();
68-
});
69-
});
70-
});
71-
72-
describe('getMosaicsName', () => {
73-
it('should return mosaics name given array of mosaicIds', (done) => {
74-
mosaicHttp.getMosaicsName([mosaicId])
75-
.subscribe((mosaicNames) => {
76-
expect(mosaicNames[0].name).to.be.equal('xem');
77-
done();
78-
});
79-
});
80-
});
8156
});

e2e/infrastructure/TransactionHttp.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ describe('TransactionHttp', () => {
151151
it('standalone', (done) => {
152152
const mosaicDefinitionTransaction = MosaicDefinitionTransaction.create(
153153
Deadline.create(),
154-
'test-mosaic-name-' + Math.floor(Math.random() * 10000),
155-
namespaceName,
154+
new Uint8Array([0xE6, 0xDE, 0x84, 0xB8]),
155+
UInt64.fromUint(1),
156156
MosaicProperties.create({
157157
supplyMutable: true,
158158
transferable: true,
@@ -170,8 +170,8 @@ describe('TransactionHttp', () => {
170170
it('aggregate', (done) => {
171171
const mosaicDefinitionTransaction = MosaicDefinitionTransaction.create(
172172
Deadline.create(),
173-
'test-mosaic-name-' + Math.floor(Math.random() * 10000),
174-
namespaceName,
173+
new Uint8Array([0xE6, 0xDE, 0x84, 0xB8]),
174+
UInt64.fromUint(1),
175175
MosaicProperties.create({
176176
supplyMutable: true,
177177
transferable: true,

e2e/infrastructure/transaction/CreateTransactionFromDTO.spec.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -413,10 +413,9 @@ describe('CreateTransactionFromDTO', () => {
413413
3248159581,
414414
740240531,
415415
],
416-
name: 'ie7rfaqxiorum1jor',
417-
parentId: [
418-
3316183705,
419-
3829351378,
416+
nonce: [
417+
1,
418+
0,
420419
],
421420
properties: [
422421
{
@@ -502,10 +501,9 @@ describe('CreateTransactionFromDTO', () => {
502501
3248159581,
503502
740240531,
504503
],
505-
name: 'ie7rfaqxiorum1jor',
506-
parentId: [
507-
3316183705,
508-
3829351378,
504+
nonce: [
505+
1,
506+
0,
509507
],
510508
properties: [
511509
{

package-lock.json

Lines changed: 96 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)