We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7291e6 commit 34db683Copy full SHA for 34db683
src/account/default.ts
@@ -36,7 +36,6 @@ export class Account extends Provider implements AccountInterface {
36
const { result } = await this.callContract({
37
contractAddress: this.address,
38
entrypoint: 'get_nonce',
39
- calldata: [],
40
});
41
return toHex(toBN(result[0]));
42
}
src/contract/default.ts
@@ -578,7 +578,8 @@ export class Contract implements ContractInterface {
578
579
580
581
- // TODO: throw warning
+ console.warn(`Invoking ${method} without an account. This will not work on a public node.`);
582
+
583
return this.providerOrAccount.invokeFunction({
584
...invocation,
585
signature: options.signature || [],
0 commit comments