Skip to content

Conversation

@danielailie
Copy link
Contributor

No description provided.

Base automatically changed from TOOL-356-add-smart-contracts-controller to feat/next November 18, 2024 08:06
@danielailie danielailie changed the base branch from feat/next to main November 18, 2024 08:06
@danielailie danielailie changed the base branch from main to feat/next November 18, 2024 08:06
import { IAccount } from "../accounts/interfaces";
import { TransactionOnNetwork } from "../networkProviders";
import { INetworkProvider } from "../networkProviders/interface";
import { IESDTIssueOutcome } from "../tokenOperations";
Copy link
Contributor

Choose a reason for hiding this comment

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

the tokenOperations package will be removed and we should not import from there.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will to this when I will remove the package

this.transactionCompletionAwaiter = new TransactionWatcher({
getTransaction: async (hash: string) => {
return await provider.getTransaction(hash, true);
return await provider.getTransaction(hash);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we pass the network provider directly?

getNetworkConfig(): Promise<INetworkConfig>;
getAccount(address: IAddress): Promise<IAccountOnNetwork>;
getTransaction(txHash: string, withProcessStatus?: boolean): Promise<ITransactionOnNetwork>;
getTransaction(txHash: string): Promise<TransactionOnNetwork>;
Copy link
Contributor

Choose a reason for hiding this comment

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

Indeed, good to drop this flag.

@danielailie danielailie merged commit 49d3204 into feat/next Nov 18, 2024
4 checks passed
@danielailie danielailie deleted the TOOL-360-add-token-management-controller branch November 18, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants