feat: add Bitcoin standard memo encoding example for bitSmiley and unit tests #515
Annotations
10 errors and 8 warnings
build:
memo.test.js#L2
Replace `·Header,·FieldsV0,·EncodingFormat,·OpCode,·EncodeToBytes·}·=·require('./memo'` with `⏎··Header,⏎··FieldsV0,⏎··EncodingFormat,⏎··OpCode,⏎··EncodeToBytes,⏎}·=·require("./memo"`
|
build:
memo.test.js#L3
Replace `'web3'` with `"web3"`
|
build:
memo.test.js#L12
Expected a function expression
|
build:
memo.test.js#L13
Delete `··`
|
build:
memo.test.js#L14
Replace `····const·header·=·new·Header(EncodingFormat.EncodingFmtABI,·OpCode.DepositAndCall` with `··const·header·=·new·Header(⏎····EncodingFormat.EncodingFmtABI,⏎····OpCode.DepositAndCall⏎··`
|
build:
memo.test.js#L16
Delete `··`
|
build:
memo.test.js#L17
Replace `····` with `··`
|
build:
memo.test.js#L19
Delete `··`
|
build:
memo.test.js#L20
Delete `··`
|
build:
memo.test.js#L21
Delete `··`
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, 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/
|
build:
memo.test.js#L12
Use const or class constructors instead of named functions
|
build:
memo.test.js#L40
Use const or class constructors instead of named functions
|
build:
memo.test.js#L64
Use const or class constructors instead of named functions
|
build:
packages/client/src/getFees.ts#L8
Prefer using arrow functions over plain functions
|
build:
packages/client/src/getHardhatConfig.ts#L13
Prefer using arrow functions over plain functions
|
build:
packages/client/src/solanaDeposit.ts#L10
Prefer using arrow functions over plain functions
|
build:
packages/client/src/trackCCTX.ts#L50
Prefer using arrow functions over plain functions
|