test: add swaps edge case where we end up with all positive balance changes #1236
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
pr.yml
on: pull_request
Validate
/
Prepare
51s
Check workflows
9s
Validate
/
Build
2m 24s
Validate
/
Lint
1m 40s
Validate
/
Tests
2m 38s
SonarCloud
/
sonarcloud-scan
Annotations
10 errors and 3 warnings
|
Validate / Lint:
packages/snap/src/core/test/mocks/transactions-data/swap-sol-to-obric.ts#L30
Replace `"programIdIndex"` with `programIdIndex`
|
|
Validate / Lint:
packages/snap/src/core/test/mocks/transactions-data/swap-sol-to-obric.ts#L29
Replace `"data":·"11119os1e9qSs2u7TsThXqkBSRVFxhmYaFKFZ1waB2X7armDmvK3p5GmLdUxYdg3h7QSrL"` with `data:·'11119os1e9qSs2u7TsThXqkBSRVFxhmYaFKFZ1waB2X7armDmvK3p5GmLdUxYdg3h7QSrL'`
|
|
Validate / Lint:
packages/snap/src/core/test/mocks/transactions-data/swap-sol-to-obric.ts#L25
Replace `"accounts":·[⏎··············0,⏎··············2⏎············` with `accounts:·[0,·2`
|
|
Validate / Lint:
packages/snap/src/core/test/mocks/transactions-data/swap-sol-to-obric.ts#L22
Replace `"stackHeight":·2` with `stackHeight:·2,`
|
|
Validate / Lint:
packages/snap/src/core/test/mocks/transactions-data/swap-sol-to-obric.ts#L21
Replace `"programIdIndex"` with `programIdIndex`
|
|
Validate / Lint:
packages/snap/src/core/test/mocks/transactions-data/swap-sol-to-obric.ts#L20
Replace `"data":·"84eT"` with `data:·'84eT'`
|
|
Validate / Lint:
packages/snap/src/core/test/mocks/transactions-data/swap-sol-to-obric.ts#L17
Replace `"accounts":·[⏎··············18⏎············` with `accounts:·[18`
|
|
Validate / Lint:
packages/snap/src/core/test/mocks/transactions-data/swap-sol-to-obric.ts#L15
Replace `"instructions"` with `instructions`
|
|
Validate / Lint:
packages/snap/src/core/test/mocks/transactions-data/swap-sol-to-obric.ts#L1
Replace `·Address,·Base58EncodedBytes,·blockhash,·Lamports,·lamports,·Slot,·StringifiedBigInt,·StringifiedNumber,·type·UnixTimestamp·` with `⏎··Address,⏎··Base58EncodedBytes,⏎··blockhash,⏎··Lamports,⏎··lamports,⏎··Slot,⏎··StringifiedBigInt,⏎··StringifiedNumber,⏎··type·UnixTimestamp,⏎`
|
|
Validate / Lint:
packages/snap/src/core/test/mocks/transactions-data/swap-sol-to-obric.ts#L1
Imports "Address", "Base58EncodedBytes", "Lamports", "Slot", "StringifiedBigInt" and "StringifiedNumber" are only used as types
|
|
|
|
|
|
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
tests-artifacts-coverage
Expired
|
1.77 MB |
sha256:55d49ede2877018163ed5cea1828173c511bd40323f70201ac2442bd26f045d7
|
|