Update build logs UI
This commit is contained in:
parent
c62ea68669
commit
e86e1d9eb9
@ -490,7 +490,7 @@ export class Registry {
|
||||
this.registry.sendCoins(
|
||||
{
|
||||
amount,
|
||||
denom: 'tlnt',
|
||||
denom: 'alnt',
|
||||
destinationAddress: receiverAddress
|
||||
},
|
||||
this.registryConfig.privateKey,
|
||||
|
@ -93,20 +93,20 @@ const DeploymentDetailsCard = ({
|
||||
};
|
||||
|
||||
const fetchDeploymentLogs = async () => {
|
||||
setDeploymentLogs('Loading logs...');
|
||||
handleOpenDialog();
|
||||
const statusUrl = `${deployment.deployer.deployerApiUrl}/${deployment.applicationDeploymentRequestId}`;
|
||||
const statusRes = await fetch(statusUrl, { cache: 'no-store' }).then(
|
||||
(res) => res.json(),
|
||||
);
|
||||
if (!statusRes.logAvailable) {
|
||||
setDeploymentLogs(statusRes.lastState);
|
||||
handleOpenDialog();
|
||||
} else {
|
||||
const logsUrl = `${deployment.deployer.deployerApiUrl}/log/${deployment.applicationDeploymentRequestId}`;
|
||||
const logsRes = await fetch(logsUrl, { cache: 'no-store' }).then((res) =>
|
||||
res.text(),
|
||||
);
|
||||
setDeploymentLogs(logsRes);
|
||||
handleOpenDialog();
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -442,11 +442,6 @@ export class GQLClient {
|
||||
}
|
||||
|
||||
async verifyTx(txHash: string, amount: string, senderAddress: string): Promise<boolean> {
|
||||
console.log('Verifying Transaction with parameters:', {
|
||||
txHash,
|
||||
amount,
|
||||
senderAddress
|
||||
});
|
||||
const { data: verifyTx } = await this.client.query({
|
||||
query: queries.verifyTx,
|
||||
variables: {
|
||||
|
Loading…
Reference in New Issue
Block a user