Skip to content

feat: use new encoding in sdk #426

feat: use new encoding in sdk

feat: use new encoding in sdk #426

Triggered via pull request December 20, 2024 06:34
Status Failure
Total duration 26s
Artifacts

validate.yml

on: pull_request
Check code format
17s
Check code format
Check commits
13s
Check commits
Check commits from forks
0s
Check commits from forks
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 12 warnings
Check commits
Process completed with exit code 1.
Check code format: src/adapters.ts#L36
Insert `,`
Check code format: src/adapters.ts#L371
Insert `⏎·······`
Check code format: src/adapters.ts#L384
Insert `··`
Check code format: src/adapters.ts#L385
Insert `··`
Check code format: src/adapters.ts#L889
Replace `{·token·},·await·this.getNativeTokenVaultL1()` with `⏎········{token},⏎········await·this.getNativeTokenVaultL1()⏎······`
Check code format: src/adapters.ts#L890
Delete `⏎··`
Check code format: src/adapters.ts#L891
Trailing spaces not allowed
Check code format: src/adapters.ts#L1010
Replace `{·token:·ETH_ADDRESS_IN_CONTRACTS·},·await·this.getNativeTokenVaultL1()` with `⏎········{token:·ETH_ADDRESS_IN_CONTRACTS},⏎········await·this.getNativeTokenVaultL1()⏎······`
Check code format: src/adapters.ts#L1011
Replace `BigInt(amount),·to,·ETH_ADDRESS_IN_CONTRACTS` with `⏎········BigInt(amount),⏎········to,⏎········ETH_ADDRESS_IN_CONTRACTS⏎······`
Check code format: src/adapters.ts#L1065
Replace `{·token·},·await·this.getNativeTokenVaultL1()` with `⏎········{token},⏎········await·this.getNativeTokenVaultL1()⏎······`
Check commits
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check code format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check code format: src/adapters.ts#L30
'L2_BASE_TOKEN_ADDRESS' is defined but never used
Check code format: src/adapters.ts#L31
'WithTokenOrAssetId' is defined but never used
Check code format: src/adapters.ts#L33
'ethAssetId' is defined but never used
Check code format: src/adapters.ts#L36
'L2_ASSET_ROUTER_ADDRESS' is defined but never used
Check code format: src/adapters.ts#L39
'IAssetRouterBase' is defined but never used
Check code format: src/adapters.ts#L55
'IL1Bridge' is defined but never used
Check code format: src/adapters.ts#L56
'IL1Nullifier' is defined but never used
Check code format: src/adapters.ts#L57
'IL1AssetRouter' is defined but never used
Check code format: src/adapters.ts#L889
'_' is assigned a value but never used
Check code format: src/adapters.ts#L1010
'_' is assigned a value but never used