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

Error in the wait confirmation of atc.execute. #910

Open
allandiamante opened this issue Dec 10, 2024 · 1 comment
Open

Error in the wait confirmation of atc.execute. #910

allandiamante opened this issue Dec 10, 2024 · 1 comment
Labels
new-bug Bug report that needs triage

Comments

@allandiamante
Copy link

allandiamante commented Dec 10, 2024

I am executing atc.execute(algod, 5), and it successfully executes transactions on the mainnet. However, during the wait confirmation step within the execute() function, it does not find a specific transaction among the four that were created. It is possible to observe the differences in transactions when I print the ATC to the console and compare it with the explorer on the mainnet.

I am using algosdk:
node -v: v20.17.0
"algosdk": "^2.9.0",
"@algorandfoundation/algokit-utils": "^7.0.0",
algod: nodely free-plan

@allandiamante allandiamante added the new-bug Bug report that needs triage label Dec 10, 2024
@allandiamante
Copy link
Author

i'm using applicationClient, which is deprecated. Could this be causing the wrong txid?

export async function generateNewClientAndComposer(algodClient: Algodv2, params: SuggestedParams, jsonRaw:string, signer: algosdk.TransactionSigner, activeAddress: string, appId: number) {
const atc = new algosdk.AtomicTransactionComposer();
const AppSpecAppDetails: any = {
app: jsonRaw, // The raw JSON or the parsed AppSpec object
resolveBy: 'id', // The choice of search
id: appId,
sender: { signer, addr: activeAddress } as TransactionSignerAccount, // simulate an account with pk
params: params,
};
const client = new ApplicationClient(AppSpecAppDetails, algodClient);
return { atc, client };
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-bug Bug report that needs triage
Projects
None yet
Development

No branches or pull requests

1 participant