Skip to content

refactor: simplify contract method signatures

Codecov / codecov/patch succeeded Feb 23, 2024 in 0s

8.13% of diff hit (target 66.88%)

View this Pull Request on Codecov

8.13% of diff hit (target 66.88%)

Annotations

Check warning on line 74 in packages/thirdweb/src/abi/lib/normalizeSignature.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/abi/lib/normalizeSignature.ts#L73-L74

Added lines #L73 - L74 were not covered by tests

Check warning on line 472 in packages/thirdweb/src/adapters/ethers5.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/adapters/ethers5.ts#L1-L472

Added lines #L1 - L472 were not covered by tests

Check warning on line 476 in packages/thirdweb/src/adapters/ethers6.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/adapters/ethers6.ts#L1-L476

Added lines #L1 - L476 were not covered by tests

Check warning on line 64 in packages/thirdweb/src/adapters/viem.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/adapters/viem.ts#L1-L64

Added lines #L1 - L64 were not covered by tests

Check warning on line 19 in packages/thirdweb/src/chains/chain-definitions/arbitrum-sepolia.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/chain-definitions/arbitrum-sepolia.ts#L1-L19

Added lines #L1 - L19 were not covered by tests

Check warning on line 14 in packages/thirdweb/src/chains/chain-definitions/arbitrum.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/chain-definitions/arbitrum.ts#L1-L14

Added lines #L1 - L14 were not covered by tests

Check warning on line 19 in packages/thirdweb/src/chains/chain-definitions/avalanche-fuji.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/chain-definitions/avalanche-fuji.ts#L1-L19

Added lines #L1 - L19 were not covered by tests

Check warning on line 18 in packages/thirdweb/src/chains/chain-definitions/avalanche.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/chain-definitions/avalanche.ts#L1-L18

Added lines #L1 - L18 were not covered by tests

Check warning on line 15 in packages/thirdweb/src/chains/chain-definitions/base-sepolia.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/chain-definitions/base-sepolia.ts#L1-L15

Added lines #L1 - L15 were not covered by tests

Check warning on line 14 in packages/thirdweb/src/chains/chain-definitions/base.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/chain-definitions/base.ts#L1-L14

Added lines #L1 - L14 were not covered by tests

Check warning on line 15 in packages/thirdweb/src/chains/chain-definitions/optimism-sepolia.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/chain-definitions/optimism-sepolia.ts#L1-L15

Added lines #L1 - L15 were not covered by tests

Check warning on line 20 in packages/thirdweb/src/chains/chain-definitions/polygon-mumbai.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/chain-definitions/polygon-mumbai.ts#L1-L20

Added lines #L1 - L20 were not covered by tests

Check warning on line 14 in packages/thirdweb/src/chains/chain-definitions/polygon.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/chain-definitions/polygon.ts#L1-L14

Added lines #L1 - L14 were not covered by tests

Check warning on line 15 in packages/thirdweb/src/chains/chain-definitions/sepolia.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/chain-definitions/sepolia.ts#L1-L15

Added lines #L1 - L15 were not covered by tests

Check warning on line 20 in packages/thirdweb/src/chains/chain-definitions/zora-sepolia.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/chain-definitions/zora-sepolia.ts#L1-L20

Added lines #L1 - L20 were not covered by tests

Check warning on line 18 in packages/thirdweb/src/chains/chain-definitions/zora.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/chain-definitions/zora.ts#L1-L18

Added lines #L1 - L18 were not covered by tests

Check warning on line 70 in packages/thirdweb/src/chains/types.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/types.ts#L1-L70

Added lines #L1 - L70 were not covered by tests

Check warning on line 26 in packages/thirdweb/src/chains/utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/utils.ts#L25-L26

Added lines #L25 - L26 were not covered by tests

Check warning on line 29 in packages/thirdweb/src/chains/utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/utils.ts#L28-L29

Added lines #L28 - L29 were not covered by tests

Check warning on line 61 in packages/thirdweb/src/chains/utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/utils.ts#L42-L61

Added lines #L42 - L61 were not covered by tests

Check warning on line 80 in packages/thirdweb/src/chains/utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/utils.ts#L79-L80

Added lines #L79 - L80 were not covered by tests

Check warning on line 109 in packages/thirdweb/src/chains/utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/utils.ts#L98-L109

Added lines #L98 - L109 were not covered by tests

Check warning on line 129 in packages/thirdweb/src/chains/utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/utils.ts#L118-L129

Added lines #L118 - L129 were not covered by tests

Check warning on line 152 in packages/thirdweb/src/chains/utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/utils.ts#L139-L152

Added lines #L139 - L152 were not covered by tests

Check warning on line 215 in packages/thirdweb/src/chains/utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/chains/utils.ts#L168-L215

Added lines #L168 - L215 were not covered by tests