Add chained transaction building #390
ci.yml
on: pull_request
Lint
13s
Format
2m 29s
[happy-dom, edge-runtime] test
45s
Matrix: [bun] build and test
Matrix: [node] build and test
Annotations
12 errors and 6 warnings
packages/core/src/builder/transactionBuilder.spec.ts > Building > Should 'manually' build babel transaction:
packages/core/src/builder/transactionBuilder.spec.ts#L446
AssertionError: expected [ { value: '1000000', …(5) }, …(3) ] to deeply equal [ { value: '1000000', …(5) }, …(3) ]
- Expected
+ Received
Array [
Object {
"additionalRegisters": Object {},
"assets": Array [
Object {
"amount": "1",
"tokenId": "f9845114906081e295e456bea7aee383ca630f442d6ed284e36ee32d2b8f82f1",
},
],
"creationHeight": 97238,
"ergoTree": "0008cd03896037ee8629d957111cb584ef6fd5128e718c0f9ce3a30bc0eb4450827053ca",
"flags": Object {
"change": false,
},
"value": "1000000",
},
Object {
"additionalRegisters": Object {
"R4": "08cd038d39af8c37583609ff51c6a577efe60684119da2fbd0d75f9c72372886a58a63",
"R5": "05c0a38601",
"R6": "0e2085add0fac1bff1be3b5ce325dc6ce47b4eb50456101f371c305cd600a2077129",
},
"assets": Array [
Object {
"amount": "4",
"tokenId": "aef39c526e0c5d9b94e4b93f03b661c8e232382a32c71e1e74b14fc45e09fbed",
},
],
"creationHeight": 97238,
"ergoTree": "100604000e20aef39c526e0c5d9b94e4b93f03b661c8e232382a32c71e1e74b14fc45e09fbed0400040005000500d803d601e30004d602e4c6a70408d603e4c6a7050595e67201d804d604b2a5e4720100d605b2db63087204730000d606db6308a7d60799c1a7c17204d1968302019683050193c27204c2a7938c720501730193e4c672040408720293e4c672040505720393e4c67204060ec5a796830201929c998c7205029591b1720673028cb272067303000273047203720792720773057202",
"flags": Object {
"change": false,
},
"value": "995600000",
},
Object {
"additionalRegisters": Object {},
"assets": Array [],
"creationHeight": 97238,
"ergoTree": "1005040004000e36100204a00b08cd0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798ea02d192a39a8cc7a701730073011001020402d19683030193a38cc7b2a57300000193c2b2a57301007473027303830108cdeeac93b1a57304",
"flags": Object {
"change": false,
},
"value": "1200000",
},
Object {
"additionalRegisters": Object {},
"assets": Array [
Object {
"amount": "98",
"tokenId": "aef39c526e0c5d9b94e4b93f03b661c8e232382a32c71e1e74b14fc45e09fbed",
},
Object {
"amount": "4",
"tokenId": "f9845114906081e295e456bea7aee383ca630f442d6ed284e36ee32d2b8f82f1",
},
],
"creationHeight": 97238,
"ergoTree": "0008cd03896037ee8629d957111cb584ef6fd5128e718c0f9ce3a30bc0eb4450827053ca",
"flags": Object {
- "change": true,
+ "change": false,
},
"value": "2000000",
},
]
❯ packages/core/src/builder/transactionBuilder.spec.ts:446:32
|
packages/core/src/models/collections/inputsCollection.spec.ts > inputs collection:
packages/core/src/models/ergoBox.ts#L41
TypeError: Cannot read private member #boxId from an object whose class did not declare it
❯ ErgoUnsignedInput.get boxId [as boxId] packages/core/src/models/ergoBox.ts:41:15
|
[node] build and test (20)
Process completed with exit code 1.
|
packages/core/src/builder/transactionBuilder.spec.ts > Building > Should 'manually' build babel transaction:
packages/core/src/builder/transactionBuilder.spec.ts#L446
AssertionError: expected [ { value: '1000000', …(5) }, …(3) ] to deeply equal [ { value: '1000000', …(5) }, …(3) ]
- Expected
+ Received
Array [
Object {
"additionalRegisters": Object {},
"assets": Array [
Object {
"amount": "1",
"tokenId": "f9845114906081e295e456bea7aee383ca630f442d6ed284e36ee32d2b8f82f1",
},
],
"creationHeight": 97238,
"ergoTree": "0008cd03896037ee8629d957111cb584ef6fd5128e718c0f9ce3a30bc0eb4450827053ca",
"flags": Object {
"change": false,
},
"value": "1000000",
},
Object {
"additionalRegisters": Object {
"R4": "08cd038d39af8c37583609ff51c6a577efe60684119da2fbd0d75f9c72372886a58a63",
"R5": "05c0a38601",
"R6": "0e2085add0fac1bff1be3b5ce325dc6ce47b4eb50456101f371c305cd600a2077129",
},
"assets": Array [
Object {
"amount": "4",
"tokenId": "aef39c526e0c5d9b94e4b93f03b661c8e232382a32c71e1e74b14fc45e09fbed",
},
],
"creationHeight": 97238,
"ergoTree": "100604000e20aef39c526e0c5d9b94e4b93f03b661c8e232382a32c71e1e74b14fc45e09fbed0400040005000500d803d601e30004d602e4c6a70408d603e4c6a7050595e67201d804d604b2a5e4720100d605b2db63087204730000d606db6308a7d60799c1a7c17204d1968302019683050193c27204c2a7938c720501730193e4c672040408720293e4c672040505720393e4c67204060ec5a796830201929c998c7205029591b1720673028cb272067303000273047203720792720773057202",
"flags": Object {
"change": false,
},
"value": "995600000",
},
Object {
"additionalRegisters": Object {},
"assets": Array [],
"creationHeight": 97238,
"ergoTree": "1005040004000e36100204a00b08cd0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798ea02d192a39a8cc7a701730073011001020402d19683030193a38cc7b2a57300000193c2b2a57301007473027303830108cdeeac93b1a57304",
"flags": Object {
"change": false,
},
"value": "1200000",
},
Object {
"additionalRegisters": Object {},
"assets": Array [
Object {
"amount": "98",
"tokenId": "aef39c526e0c5d9b94e4b93f03b661c8e232382a32c71e1e74b14fc45e09fbed",
},
Object {
"amount": "4",
"tokenId": "f9845114906081e295e456bea7aee383ca630f442d6ed284e36ee32d2b8f82f1",
},
],
"creationHeight": 97238,
"ergoTree": "0008cd03896037ee8629d957111cb584ef6fd5128e718c0f9ce3a30bc0eb4450827053ca",
"flags": Object {
- "change": true,
+ "change": false,
},
"value": "2000000",
},
]
❯ packages/core/src/builder/transactionBuilder.spec.ts:446:32
|
packages/core/src/models/collections/inputsCollection.spec.ts > inputs collection:
packages/core/src/models/ergoBox.ts#L41
TypeError: Cannot read private member #boxId from an object whose class did not declare it
❯ ErgoUnsignedInput.get boxId [as boxId] packages/core/src/models/ergoBox.ts:41:15
|
[happy-dom, edge-runtime] test
Process completed with exit code 1.
|
packages/core/src/builder/transactionBuilder.spec.ts > Building > Should 'manually' build babel transaction:
packages/core/src/builder/transactionBuilder.spec.ts#L446
AssertionError: expected [ { value: '1000000', …(5) }, …(3) ] to deeply equal [ { value: '1000000', …(5) }, …(3) ]
- Expected
+ Received
Array [
Object {
"additionalRegisters": Object {},
"assets": Array [
Object {
"amount": "1",
"tokenId": "f9845114906081e295e456bea7aee383ca630f442d6ed284e36ee32d2b8f82f1",
},
],
"creationHeight": 97238,
"ergoTree": "0008cd03896037ee8629d957111cb584ef6fd5128e718c0f9ce3a30bc0eb4450827053ca",
"flags": Object {
"change": false,
},
"value": "1000000",
},
Object {
"additionalRegisters": Object {
"R4": "08cd038d39af8c37583609ff51c6a577efe60684119da2fbd0d75f9c72372886a58a63",
"R5": "05c0a38601",
"R6": "0e2085add0fac1bff1be3b5ce325dc6ce47b4eb50456101f371c305cd600a2077129",
},
"assets": Array [
Object {
"amount": "4",
"tokenId": "aef39c526e0c5d9b94e4b93f03b661c8e232382a32c71e1e74b14fc45e09fbed",
},
],
"creationHeight": 97238,
"ergoTree": "100604000e20aef39c526e0c5d9b94e4b93f03b661c8e232382a32c71e1e74b14fc45e09fbed0400040005000500d803d601e30004d602e4c6a70408d603e4c6a7050595e67201d804d604b2a5e4720100d605b2db63087204730000d606db6308a7d60799c1a7c17204d1968302019683050193c27204c2a7938c720501730193e4c672040408720293e4c672040505720393e4c67204060ec5a796830201929c998c7205029591b1720673028cb272067303000273047203720792720773057202",
"flags": Object {
"change": false,
},
"value": "995600000",
},
Object {
"additionalRegisters": Object {},
"assets": Array [],
"creationHeight": 97238,
"ergoTree": "1005040004000e36100204a00b08cd0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798ea02d192a39a8cc7a701730073011001020402d19683030193a38cc7b2a57300000193c2b2a57301007473027303830108cdeeac93b1a57304",
"flags": Object {
"change": false,
},
"value": "1200000",
},
Object {
"additionalRegisters": Object {},
"assets": Array [
Object {
"amount": "98",
"tokenId": "aef39c526e0c5d9b94e4b93f03b661c8e232382a32c71e1e74b14fc45e09fbed",
},
Object {
"amount": "4",
"tokenId": "f9845114906081e295e456bea7aee383ca630f442d6ed284e36ee32d2b8f82f1",
},
],
"creationHeight": 97238,
"ergoTree": "0008cd03896037ee8629d957111cb584ef6fd5128e718c0f9ce3a30bc0eb4450827053ca",
"flags": Object {
- "change": true,
+ "change": false,
},
"value": "2000000",
},
]
❯ packages/core/src/builder/transactionBuilder.spec.ts:446:32
|
packages/core/src/models/collections/inputsCollection.spec.ts > inputs collection:
packages/core/src/models/ergoBox.ts#L41
TypeError: Cannot read private member #boxId from an object whose class did not declare it
❯ ErgoUnsignedInput.get boxId [as boxId] packages/core/src/models/ergoBox.ts:41:15
|
[bun] build and test (latest)
Process completed with exit code 1.
|
packages/core/src/builder/transactionBuilder.spec.ts > Building > Should 'manually' build babel transaction:
packages/core/src/builder/transactionBuilder.spec.ts#L446
AssertionError: expected [ { value: '1000000', …(5) }, …(3) ] to deeply equal [ { value: '1000000', …(5) }, …(3) ]
- Expected
+ Received
Array [
Object {
"additionalRegisters": Object {},
"assets": Array [
Object {
"amount": "1",
"tokenId": "f9845114906081e295e456bea7aee383ca630f442d6ed284e36ee32d2b8f82f1",
},
],
"creationHeight": 97238,
"ergoTree": "0008cd03896037ee8629d957111cb584ef6fd5128e718c0f9ce3a30bc0eb4450827053ca",
"flags": Object {
"change": false,
},
"value": "1000000",
},
Object {
"additionalRegisters": Object {
"R4": "08cd038d39af8c37583609ff51c6a577efe60684119da2fbd0d75f9c72372886a58a63",
"R5": "05c0a38601",
"R6": "0e2085add0fac1bff1be3b5ce325dc6ce47b4eb50456101f371c305cd600a2077129",
},
"assets": Array [
Object {
"amount": "4",
"tokenId": "aef39c526e0c5d9b94e4b93f03b661c8e232382a32c71e1e74b14fc45e09fbed",
},
],
"creationHeight": 97238,
"ergoTree": "100604000e20aef39c526e0c5d9b94e4b93f03b661c8e232382a32c71e1e74b14fc45e09fbed0400040005000500d803d601e30004d602e4c6a70408d603e4c6a7050595e67201d804d604b2a5e4720100d605b2db63087204730000d606db6308a7d60799c1a7c17204d1968302019683050193c27204c2a7938c720501730193e4c672040408720293e4c672040505720393e4c67204060ec5a796830201929c998c7205029591b1720673028cb272067303000273047203720792720773057202",
"flags": Object {
"change": false,
},
"value": "995600000",
},
Object {
"additionalRegisters": Object {},
"assets": Array [],
"creationHeight": 97238,
"ergoTree": "1005040004000e36100204a00b08cd0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798ea02d192a39a8cc7a701730073011001020402d19683030193a38cc7b2a57300000193c2b2a57301007473027303830108cdeeac93b1a57304",
"flags": Object {
"change": false,
},
"value": "1200000",
},
Object {
"additionalRegisters": Object {},
"assets": Array [
Object {
"amount": "98",
"tokenId": "aef39c526e0c5d9b94e4b93f03b661c8e232382a32c71e1e74b14fc45e09fbed",
},
Object {
"amount": "4",
"tokenId": "f9845114906081e295e456bea7aee383ca630f442d6ed284e36ee32d2b8f82f1",
},
],
"creationHeight": 97238,
"ergoTree": "0008cd03896037ee8629d957111cb584ef6fd5128e718c0f9ce3a30bc0eb4450827053ca",
"flags": Object {
- "change": true,
+ "change": false,
},
"value": "2000000",
},
]
❯ packages/core/src/builder/transactionBuilder.spec.ts:446:32
|
packages/core/src/models/collections/inputsCollection.spec.ts > inputs collection:
packages/core/src/models/ergoBox.ts#L41
TypeError: Cannot read private member #boxId from an object whose class did not declare it
❯ ErgoUnsignedInput.get boxId [as boxId] packages/core/src/models/ergoBox.ts:41:15
|
[node] build and test (18)
Process completed with exit code 1.
|
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
[node] build and test (20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
[happy-dom, edge-runtime] test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
[bun] build and test (latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
[node] build and test (18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Format
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|