Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export class TreasuryClient {
constructor(signerAgentUrl: string) {
this.apiClient = axios.create({
baseURL: `${signerAgentUrl}/api/treasury/`,
timeout: 600000
timeout: process.env.TrainSolver__TreasuryTimeout ?
parseInt(process.env.TrainSolver__TreasuryTimeout) : 30000
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,6 @@ export async function createTransferCallData(network: DetailedNetworkDto, args:
};
}

interface FunctionInteraction {
interactionAddress: string,
functionName: string,
args: any[],
callerAddress?: string,
authwiths?: FunctionInteraction[],
}

export const hexToUint256HexStrings = (hex: string): string[] => {
let h = hex.startsWith('0x') ? hex.slice(2) : hex;
if (h.length % 2) h = '0' + h;
Expand Down
6 changes: 0 additions & 6 deletions package-lock.json

This file was deleted.