Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: evm package type issue #420

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/wet-ducks-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@axelarjs/evm": patch
---

fix type issue
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ describe("requestConfigs", () => {
rpcUrl = axelarRpcUrl;
}

console.log("depositAddress", depositAddress);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't add console.log to production


expect(depositAddress).toBeTruthy();
expect(mod.getActiveChains).toHaveBeenCalledWith("testnet", {
axelarRpcUrl: rpcUrl,
Expand Down
2 changes: 1 addition & 1 deletion packages/evm/src/contracts/PublicContractClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class PublicContractClient<TAbi extends readonly unknown[]> {
address,
functionName,
abi: this.abi,
} as WriteContractParameters<TAbi, TFunctionName>;
} as unknown as WriteContractParameters<TAbi, TFunctionName>;
SGiaccobasso marked this conversation as resolved.
Show resolved Hide resolved

if (params?.args) {
contractParams["args"] = params.args;
Expand Down
49 changes: 36 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading